Percentage with Series in Bar Chart
I am trying with no success to calculate the Utilization% of our employees using a bar chart through time. I have a bar chart with the counts of days per period of time and with the requested series that are the utilization types. Formula: SUM(StaffedDays
)/ SUM(AvailableDays
). This is the counts bar chart that is working fine.
Then when replacing the Sum(Amount) that is showing the correct counts per Utilization Type, when replacing with the Utilization % beastmode the chart is not showing what is expected.
What I need is to see the Utilization % by Type increase up to 100% or more if that is the case. Something like this.
I tried other options like the data labe macros with percent of category or of total, but that is not what I need. I need the correct % and how is affected if filtering adding or removing those types of utilization (series).
Any help would be so much appreciated. 😉
Answers

Try removing the SUM of Amount from your sort.
If I solved your problem, please select "yes" above
0 
Thanks! I did but I think probably is something with the data format of the dataset. hmmm. This is what I am getting, now. This is filtering for this month. It is creating multiple bars, not sure why. The date field is the week's start date. An employee has the same week start dates with different types of utilization. And also leaves out some categories (series) not showing.
0 
Because you still have Amount in your sorting. You need to remove it from your sorting.
If I solved your problem, please select "yes" above
0 
Thank you for your reply :).
I removed it too, but with no success. To give more context. These are the counts of assignments for 2/2024, where you see counts for all values in the series.
Now when I put the Utilization % value on the Y axis. It only shows two types of the series and the calculation is very off. The overall utilization is 86% and the green type is 77% of that 86%. Look what is showing:
I know also that I am working on one of the assignment types with a weird business rule. Utilization Rate = Staffed Days/Available Days. For the blue type (series), we don't have Available Days because they are Resources not yet assigned, like pending to assign that are not real people. StaffedDays/0=error. So I don't know if that is the problem…
0 
Can you share a data sample and your utilization beastmode?
If I solved your problem, please select "yes" above
0 
@ColemenWilson here it is:
0 
 Yes, if you have 0 available days in the denominator, you will get NA values for that, which is why it would not show that category on the graph.
 You're adding percents by category, so even if your overall utilization rate was 86%, if your utilization of green was 97% and your utilization of orange was 93%, then the stacked bar will add that to 97+93=190%. (Your utilization of the other categories looks like 0%, so 86% seems like it could be right). Instead of stacking your utilization rates (which doesn't really make sense),
 You might want to group them instead of stack. Or do grouped bar+symbol with the overall.
 If you remove the series, do you get the correct overall utilization rate per month?
 Instead of creating a new graph, you might just put the utilization rate in a tool tip or your original and add it to the data label (since the group sizes are so different).
Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
0 
@DavidChurchman great advice and explanation. Thank you for your time on this. At this point, I think that mathematically is impossible the way they want me to present this, is not possible. If it is zero for available it is not possible to calculate utilization for that "possible utilization" type.
They were looking to dynamically see how those "possible utilizations" affect the overall utilization to determine if we need to hire or reassign others. The need is valid but mathematically without losing granularity and dynamic filtering is going to be difficult and maybe not possible at all.
I'll be trying to think of other ways to help. Thank you so much!!!
0
Categories
 All Categories
 1.7K Product Ideas
 1.7K Ideas Exchange
 1.5K Connect
 1.2K Connectors
 294 Workbench
 6 Cloud Amplifier
 8 Federated
 2.8K Transform
 97 SQL DataFlows
 607 Datasets
 2.1K Magic ETL
 3.8K Visualize
 2.4K Charting
 707 Beast Mode
 49 App Studio
 39 Variables
 667 Automate
 170 Apps
 446 APIs & Domo Developer
 44 Workflows
 7 DomoAI
 33 Predict
 13 Jupyter Workspaces
 20 R & Python Tiles
 391 Distribute
 111 Domo Everywhere
 274 Scheduled Reports
 6 Software Integrations
 115 Manage
 112 Governance & Security
 Domo Community Gallery
 31 Product Releases
 9 Domo University
 5.3K Community Forums
 40 Getting Started
 30 Community Member Introductions
 103 Community Announcements
 4.8K Archive