Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I have a column in my table titled "Resolved" ('Table'[Resolved]), which has three values: "TRUE", "FALSE", and (Blank) - I'm trying to build a measure that takes the total count of "TRUE" and "FALSE", finds the percentage of "TRUE", and displays that percentage to a card (i.e. there are 95 "TRUE", 5 "FALSE", and the end result is a card showing "95%").
The furthest I've gotten is filtering for "TRUE", and taking that calculation and trying to divide it by COUNTA('Table'[Resolved]) which I'm sure is the wrong way to do it, primarily because it always returns a value of 1.0.
Any guidance or direction is appreciated, as this feels conceptually simple but evades my grasp.
Solved! Go to Solution.
Hi @diagnosed I reorder it my Idea... Make a measure to count FALSE and TRUE and play wiyh the card level filters (One card filtered by False and the otherone by TRUE)... and you will get what you are looking for!
TAKE A LOOK AT THE PIC 🙂 the measure is:
COUNT TRUE OR FALSE DIVIDED BY TOTAL =
DIVIDE(COUNTA('TRUE OR FALSE'[TRUE OR FALSE]);
CALCULATE(COUNTA('TRUE OR FALSE'[TRUE OR FALSE]);
ALL('TRUE OR FALSE'[TRUE OR FALSE])))
Hi @diagnosed I reorder it my Idea... Make a measure to count FALSE and TRUE and play wiyh the card level filters (One card filtered by False and the otherone by TRUE)... and you will get what you are looking for!
TAKE A LOOK AT THE PIC 🙂 the measure is:
COUNT TRUE OR FALSE DIVIDED BY TOTAL =
DIVIDE(COUNTA('TRUE OR FALSE'[TRUE OR FALSE]);
CALCULATE(COUNTA('TRUE OR FALSE'[TRUE OR FALSE]);
ALL('TRUE OR FALSE'[TRUE OR FALSE])))
Not only did that do it, but it did it far cleaner than I was remotely approaching and gives me a far better understanding of how the DIVIDE function can be used. Sincerely, thank you!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
76 | |
56 | |
35 | |
34 |
User | Count |
---|---|
99 | |
56 | |
54 | |
45 | |
40 |