Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi Power BI Experts. Asking for your help please. I wish to divide the category on the bar based on the count the % capacity required appeared.
The scenario:
An employee has a maximum percent (ex. 100%, 70% or 50%). He is being assigned with a certain percent to work. If the employee has 100% max percent and he was assigned with 25%, 25% and 50%, I want to see in one bar the division of these 3 percents.
What I have now:
As you can see the 25 percent (which has "2" count) was merged in the first slice of the bar. I want to split the two 25 percents.
What I wish to have:
Thank you for your help 🙂
Solved! Go to Solution.
Makes sense.
I've attached a PBIX file for you to look at.
Before I spend too much time on it, I thought it might be easier to start with this and see what is non-negotiable.
The layout may be difficult to achieve without a custom visual.
There are options for custom visuals but it may not add much value.
All of this working is dependent on the actual model/data so have a look at the PBIX attached and let me know if you have any questions.
(check the Power Query steps to see what I've done there)
Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
If you found this post helpful, please give Kudos. It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen. If you find my signature vaguely amusing, please give Kudos. | Proud to be a Super User! |
No problem. Happy to help.
Did you figure out the max capacity bar?
You may prefer the markers off and line on also.
It's annoying that you can do this layout with a column chart but not a bar chart.
Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
If you found this post helpful, please give Kudos. It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen. If you find my signature vaguely amusing, please give Kudos. | Proud to be a Super User! |
Can you paste some sample data please?
It will make it much easier to help you.
Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
If you found this post helpful, please give Kudos. It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen. If you find my signature vaguely amusing, please give Kudos. | Proud to be a Super User! |
Hi @KNP Thank you. Here's the sample data. For the employee 2 in "What I wsh to have" graph, the 30 there is the remaining percent left to the employee.
Project | Assigned Employee | Percent Assigned |
Project A | Employee 1 | 25 |
Project B | Employee 1 | 25 |
Project C | Employee 1 | 50 |
Project D | Employee2 | 40 |
Employee | Max Percent |
Employee 1 | 100 |
Employee 2 | 70 |
Thanks for the data.
Unless I'm doing math wrong, I don't get the employee 2 scenario.
30 + 40 = 70
Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
If you found this post helpful, please give Kudos. It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen. If you find my signature vaguely amusing, please give Kudos. | Proud to be a Super User! |
Hi @KNP I added another table.
I have another table for the list of employees with max percent.
So that math would be
Employee 1 : 100 -25 -25- 50 = 0% (which means 100% is maximised or utilised)
Employee 2 = 70- 40 = 30% (which means 40% assigned , 30% available percent or left from 70% maximum capacity
Makes sense.
I've attached a PBIX file for you to look at.
Before I spend too much time on it, I thought it might be easier to start with this and see what is non-negotiable.
The layout may be difficult to achieve without a custom visual.
There are options for custom visuals but it may not add much value.
All of this working is dependent on the actual model/data so have a look at the PBIX attached and let me know if you have any questions.
(check the Power Query steps to see what I've done there)
Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
If you found this post helpful, please give Kudos. It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen. If you find my signature vaguely amusing, please give Kudos. | Proud to be a Super User! |
No problem. Happy to help.
Did you figure out the max capacity bar?
You may prefer the markers off and line on also.
It's annoying that you can do this layout with a column chart but not a bar chart.
Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
If you found this post helpful, please give Kudos. It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen. If you find my signature vaguely amusing, please give Kudos. | Proud to be a Super User! |
Hi @KNP the marker is fine. I just really need the division of assigned percent. Superb. Thanks again.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
103 | |
75 | |
46 | |
39 | |
33 |
User | Count |
---|---|
164 | |
90 | |
66 | |
46 | |
43 |