Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I want to figure out how to show each person's % of the total year in the stacked column chart below. Each color below represents the count for each employee. I want to show as a tool tip each color's % for that year.
So for light blue, the calculation would be 2550/13,769.
Solved! Go to Solution.
You can create 3 measures
1. TotalCount = CALCULATE(COUNT(Table[Column]))
Use this 1st measure as value
2. TotalCountForAllEmployees = CALCULATE(COUNT(Table[Column]),ALL(Table[Employees]))
3. %CountPerEmployee = DIVIDE(TotalCount,TotalCountForAllEmployees)
Use this 3rd measure as tooltip.
I assume you are using Employees as Legend values.
Attached is a example of how this is going to look. I am using Region instead of Employees.
Hope this helps !!
Thanks
Hi,
Share the link from where i can download your PBI file.
Hi,
I believe your question has been answered. Therefore i am not downloading your file.
You can create 3 measures
1. TotalCount = CALCULATE(COUNT(Table[Column]))
Use this 1st measure as value
2. TotalCountForAllEmployees = CALCULATE(COUNT(Table[Column]),ALL(Table[Employees]))
3. %CountPerEmployee = DIVIDE(TotalCount,TotalCountForAllEmployees)
Use this 3rd measure as tooltip.
I assume you are using Employees as Legend values.
Attached is a example of how this is going to look. I am using Region instead of Employees.
Hope this helps !!
Thanks
Thank you for the clear response. Worked like a charm!
User | Count |
---|---|
97 | |
78 | |
77 | |
48 | |
26 |