Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
I am trying to calculate the percentage completion of a task.
Columns are Date and name of employees.
So when i filter for a particular date or month, I should get the percentage of employees who completed their checks. Both COMPLETED and NOT APPLICABLE counts as COMPLETED.
For example, if i select, July 25, then i should get 100 % (6 COMPLETED and 1 NOT APPLICABLE)
if i select September 5, then i should get then i should get 42.85% (2 COMPLETED, 1 NOT APLLICABLE and 4 NOT COMPLETED, so 3/7).
Similarly if i select the Month august, i should get 74.28% (only 9 of 35 NOT COMPLETED).
I am trying to display this in a card.
Appreciate your help.
Solved! Go to Solution.
you can select date column and unpivot other columns in PQ
Then create a measure
Proud to be a Super User!
Hello @ryan_mayu ,
Thank you so much for this. I still wanted to display my solution as shown in the image, so I think it would be good to duplicate the data source and unpivot the columns for the measure and retain the original one to display the information as a table.
you can select date column and unpivot other columns in PQ
Then create a measure
Proud to be a Super User!
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
105 | |
99 | |
99 | |
38 | |
37 |
User | Count |
---|---|
157 | |
120 | |
74 | |
72 | |
63 |