Stacked bar charts for multiple tags having the same field values when using Influxdb as data source

Hi
I have the requirement to plot multiple stacked bar charts. Currently I am able to plot the screenshot device_platform_8320.png. This bar chart is a stacked bar chart and each bars represent data for different build_date (01-01-2023,02-01-2023,03-01-2023). Also I am sharing the json formatted data for below screen shot.
JSON DATA
[{“service_boot_time”: {“edmgr.service”: 15.831, “nfig-boot.service”: 10.794, “yang-resolverd.service”: 10.341, “ipsla-responderd.service”: 10.289},“device_description”: {“Branch”: “10_13_1000”, “device_platform”: “8320”, “build_name”: “GL.10.13.1000A]”, “build_date”:“01-01-2023”}},{“service_boot_time”: {“edmgr.service”: 13.831, “nfig-boot.service”: 130.794, “yang-resolverd.service”: 103.341, “ipsla-responderd.service”: 110.289},“device_description”: {“Branch”: “10_13_1000”, “device_platform”: “8320”, “build_name”: “GL.10.13.1000A]”, “build_date”:“02-01-2023”}},{“service_boot_time”: {“edmgr.service”: 13.831, “nfig-boot.service”: 102.794, “yang-resolverd.service”: 13.341, “ipsla-responderd.service”: 15.289},“device_description”: {“Branch”: “10_13_1000”, “device_platform”: “8320”, “build_name”: “GL.10.13.1000A]”, “build_date”:“03-01-2023”}}]


Similary for different device_platform 8321 Iam attaching screenshot along with json data.
JSON DATA
[{“service_boot_time”: {“edmgr.wedeservice”: 15.831, “nfig-bwqefewqoot.service”: 103.794, “yang-resolverdadcda.service”: 10.431, “ipsla-responderd.service”: 10.289},“device_description”: {“Branch”: “10_13_1000”, “device_platform”: “8321”, “build_name”: “ML.10.13.1000A]”, “build_date”:“01-01-2023”}},{“service_boot_time”: {“edmgr.service”: 13.831, “nfig-boot.service”: 130.794, “yang-resolverd.service”: 103.341, “ipsla-responderd.service”: 110.289},“device_description”: {“Branch”: “10_13_1000”, “device_platform”: “8321”, “build_name”: “ML.10.13.1000A]”, “build_date”:“02-01-2023”}},{“service_boot_time”: {“edmgr.service”: 13.831, “nfig-boot.service”: 102.794, “yang-resolverd.service”: 123.341, “ipsla-responderd.service”: 135.289},“device_description”: {“Branch”: “10_13_1000”, “device_platform”: “8321”, “build_name”: “ML.10.13.1000A]”, “build_date”:“03-01-2023”}}]

Now my requirement is to plot data for both device_platform=8321 and 8320 along with their respective stacked barchart with field build_data as x axis. For understanding I attaching a screenshot.

Also i tried to filter the tag device_platform for both 8320,8321 I am getting the below chart.

grafana version 10.1.1
OS: MacOs Monterey