Can the Bar Total Label be the Total % of the bar instead of the integer?
Example, I have this chart below, and when I turn on Data Label Settings > Show Total Label, there does not seem to be any options; it just defaults to showing the total of the raw numbers. However, I want to show the total % of each bar at the top, i.e. I want the blue Build bar to total 69.4% and the yellow Run bar 30.61%. Is there a way to show those two numbers above the bars instead of what we see below?
Thanks!
Comments
-
I think instead of bringing in the total and selecting the 'percent_of_total' label, you'd need to calculate the percent of total first, and use that as the value. Then your totals would appear correctly.
Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
1 -
Hi PJG,
Do you need the series data included? Does "Build" need to include 'Enhancements' and 'Projects'? Does "Run" need to include 'Support', 'Business Partnering', and 'Internal IT Time'?
If not, then you can just use a Data Label Text of Percent of total like so:
✅Did this solve your problem? Accept it as a solution!
❤️Did you love this answer? Mark it as "Awesome"!
👍Do you agree with this process? Click "Agree"!
0 -
Hi Devon, yes, I do need the series included, and I added some Beast Mode to specifically show that. For the X Axis, I use this code:
case
when `PPM Number_p` LIKE '%PPM%' then 'Build'
when `PPM Number_p` LIKE '%SCPX%' then 'Build'
when `PPM Number_p` LIKE '%INFRA%' then 'Build'
when `PPM Number_p` = 'IT00001' then 'Build'
else 'Run'
endFor the series, I use this code:
case
when `PPM Number_p` <> 'IT00022' then
case
when `PPM Number_p` LIKE '%PPM%' then 'Projects'
when `PPM Number_p` LIKE '%SCPX%' then 'Enhancements'
when `PPM Number_p` LIKE '%INFRA%' then 'Enhancements'
when `PPM Number_p` = 'IT00001' then 'Enhancements'
when `PPM Number_p` = 'IT00011' then 'Business Partnering'
when `PPM Number_p` = 'IT00006' then 'Support'
else 'Internal IT Time'
end
else 'Absence'
endThen I filter out Absence.
Hi David, where do I do that? I have this option, but it's not letting me point to any specific value; it's just checked or unchecked.
0 -
You need to write a BeastMode for your Y-axis to format it all as percentages. It will probably be something like:
sum(Aloc..)/Sum(SUM(Aloc..) FIXED())
Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
1 -
Hi David, perfect, thank you!
0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 656 Datasets
- 115 SQL DataFlows
- 2.2K Magic ETL
- 813 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 81 App Studio
- 45 Variables
- 771 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 77 Workflows
- 23 Code Engine
- 36 AI and Machine Learning
- 19 AI Chat
- AI Playground
- AI Projects and Models
- 17 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 142 Manage
- 138 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive