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.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 755 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive