Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
I have these columns in the power query editor:
Name Status
Adam Registered
Bob Not Registered
Steve Registered
Katie Not Registerd
Kirk Not Registered
I'd like to create a card to visualize ther percent of people registered? I believe I need to create a measure but I'm having issues doing that. Can someone please help me with this?
Thanks in advance 🙂
-H
Solved! Go to Solution.
Hey,
just insert this little row to the filter section of each CALCULATE
,'Table'[Type] = "A"
Regards,
Tom
Hey,
I guess this should do the work:
name of the measure =
var theregisteredones =
CALCULATE(
COUNT('table'[name])
,ALL('table')
,'table'[status] = "Registered")
var allpeople =
CALCULATE(
COUNT('table'[name])
,ALL('table')
)
return DIVIDE(theregisteredones, allpeople, BLANK())Hopefully this is what you are looking for
Regards,
Tom
Hey Tom,
Suppose I have this:
Name Status Type
Adam Registered A
Bob Not Registered B
Steve Registered B
Chris Not Registered A
Katie Not Registered A
And I only want to calculate people category A...how would I modify the above measure you provided?
Hey,
just insert this little row to the filter section of each CALCULATE
,'Table'[Type] = "A"
Regards,
Tom
Very nice!! Thanks Tom
Thanks!!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 38 | |
| 36 | |
| 29 | |
| 28 |
| User | Count |
|---|---|
| 127 | |
| 88 | |
| 78 | |
| 66 | |
| 65 |