Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
66 | |
66 | |
50 | |
31 |
User | Count |
---|---|
113 | |
95 | |
75 | |
64 | |
40 |