The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello All,
Hope i can get your expert help.
I have a calculated column with two statuses - Pass & Fail
I want to show the percentage of Pass items within a card.
Can someone guide me on this please?
Thank you
Solved! Go to Solution.
Hi @DairyG1
Please use
Pass% = Divide(
Calculate(Count(PassFailCouln),PassFailCouln="Pass"),
Count(PassFailCouln))
Change the datatype of the measure as Percentage
Proud to be a Super User! | |
Hi @DairyG1
Please use
Pass% = Divide(
Calculate(Count(PassFailCouln),PassFailCouln="Pass"),
Count(PassFailCouln))
Change the datatype of the measure as Percentage
Proud to be a Super User! | |
Hello @DairyG1 ,
so what you can do is count all the rows and count rows with specific statuse and then divide the counted rows with each status with the all rows.
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
@Idrissshatila - thanks but can you elborate on how that would be written please
User | Count |
---|---|
69 | |
64 | |
62 | |
54 | |
28 |
User | Count |
---|---|
112 | |
81 | |
65 | |
48 | |
42 |