Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I am trying to find the number of paying patrons/ticket (i.e. eventprice > $0) but I cannot reflect that on my card. Does anyone know how I can do that? Or what DAX formula I can use? Thanks in advance!
Solved! Go to Solution.
Hi @Anonymous ,
Just as what @lbendlin mentioned, create a measure like so:
Counts =
COUNTROWS ( FILTER ( ALLSELECTED ( 'Table' ), 'Table'[eventprice] > 0 ) )
Or this:
Counts =
CALCULATE ( DISTINCTCOUNT ( 'Table'[paying patrons] ), 'Table'[eventprice] > 0 )
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
Hi @Anonymous ,
Just as what @lbendlin mentioned, create a measure like so:
Counts =
COUNTROWS ( FILTER ( ALLSELECTED ( 'Table' ), 'Table'[eventprice] > 0 ) )
Or this:
Counts =
CALCULATE ( DISTINCTCOUNT ( 'Table'[paying patrons] ), 'Table'[eventprice] > 0 )
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
use Countrows() with a value filter.
Patrols or patrons?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 3 |