Adding a side-by-side bar chart to a stacked bar chart in Platform Analytics or UI Builder

rupro
Tera Contributor

Hi all,

I currently have a stacked bar chart data visualization which effectively shows Cost A and Cost B stacked onto a bar. I want to add an adjacent bar to each stacked bar in this visualization which will be a value represented by 'Budget'. I have the data for Cost A, Cost B and Budget coming in from a data resource properly & loaded as metrics. The only problem is that, I can not use a mixture of both stacked bar chart and side-by-side bar chart. 

Posting an example chart for what I'm trying to achieve

Screenshot 2025-04-02 at 3.04.45 PM.png

7 REPLIES 7

AndersBGS
Tera Patron
Tera Patron

Hi @rupro ,

 

So you have described what you want and what is not possible..... so what is your question?

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

rupro
Tera Contributor

Is there any way to reach to the solution, as in making a side-by-chart with a stacked bar chart? 

Dr Atul G- LNG
Tera Patron
Tera Patron

Got confused by your statement. Can you provide a screenshot to clarify what you need?

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

rupro
Tera Contributor

This is my current graph. I have a stacked bar chart with Cost A and Cost B as shown. What I need to do is to add a 3rd metric and not have it stack on my existing bar but orient side-by-side to it. (My screenshot uses a free developer instance and can be recreated). 
I have added the second screenshot which partly shows what I want (the blue bar should represent my stacked bar from the stacked bar chart) and orange bar should represent the third metric. 

Is there a way to do that? Any ideas or suggestions would be greatly appreciated! Thanks

(Table used: fm_expense_line, metric used: used the same 'amount' field twice for showing stacked values)