Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi, all
I want to calculate each row percentage by total values as below.
Total Employees = It sis calculated as Count( employee ID)
Row total % = How should i calculate to show each row percentage like for one president total employees is 106 and exceeds expectation is 10 = 10/106*100 is the needed calculation.
Note: Here I calculated Tot employees by using Count Employee ID
Hi @chotu27,
Suppose your table structure is similar to below
Please create measures as:
Total Employee = COUNT('Employee Table'[Employee]) Row Total % = [Total Employee] / CALCULATE ( [Total Employee], ALLEXCEPT ( 'Employee Table', 'Employee Table'[Department] ) )
Hi you have understood in right path but in my dataset there repeated managers for each department then how can we handle this situation. In your output you have unique manager pof M1,M2,M3.......... PLEASE CHECK BELOW IMAGE AS OUTPUT NEEDED FOR ME.
Hi @chotu27,
Have you worked it out? If so, would you please kindly mark the helpful reply as an answer or share your solution?
Regards,
Yuliana Gu
Hi @chotu27,
Measures in my original post also apply to the scenario where there existing repeated managers for each department.
Regards,
Yuliana Gu
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
99 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |