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
I need some help figuring out how to get a count of a measure that is greater than 0.
Solved! Go to Solution.
Hi @tomperro ,
To get a count of a measure that is greater than 0, you can use the COUNTROWS function in Power BI. Here’s how you can modify your second measure to get the desired result:
NC_FollowUpRequiredFilter = IF([NC_Follow_Up_Required]=“YES”,1,0)
Then, you can create a new measure that uses the COUNTROWS function to count the number of rows where NC_Follow_Up_Required is greater than 0:
NC_FollowUpRequiredCount = COUNTROWS(FILTER(‘Table’, [NC_FollowUpRequiredFilter] > 0))
This measure will give you the total count of NC_Follow_Up_Required=YES. You can then use this measure in your visualizations to display the count.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @tomperro ,
To get a count of a measure that is greater than 0, you can use the COUNTROWS function in Power BI. Here’s how you can modify your second measure to get the desired result:
NC_FollowUpRequiredFilter = IF([NC_Follow_Up_Required]=“YES”,1,0)
Then, you can create a new measure that uses the COUNTROWS function to count the number of rows where NC_Follow_Up_Required is greater than 0:
NC_FollowUpRequiredCount = COUNTROWS(FILTER(‘Table’, [NC_FollowUpRequiredFilter] > 0))
This measure will give you the total count of NC_Follow_Up_Required=YES. You can then use this measure in your visualizations to display the count.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@tomperro
Please share a PBI file with dummy data using Google Drive link here.
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |