Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.
Hi Everyone,
I would really appreciate anyones help with my situation.
Below is a table im working on
I am trying to count how many 'trues' and 'falses' there are for each CP_ID. I then want to find the percentage of 'trues' from the total of both 'trues' and 'falses'.
I have tried this but get an error explaining I cant count boolean values.
Solved! Go to Solution.
Try
NumberHits = CALCULATE(COUNT(name[CP_ID]), name[WIN_FLAG]=TRUE()) NumberMisses = CALCULATE(COUNT(name[CP_ID]), name[WIN_FLAG]=FALSE())
Good idea, Counting the CP will give me the total of both true and false. How can I then split this and find the number for each true and false?
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
76 | |
74 | |
69 | |
47 | |
41 |
User | Count |
---|---|
63 | |
42 | |
31 | |
30 | |
28 |