Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Good Afternoon
I need some help with a measure please.
In my data i have the below:
EventCode, Month, Person Count
1, 1 ,
1, 2, 26
1, 3, 35
Code is replicated each month, however there is not a count for each month. What i need to do is count the total number of each code where there is a count.
So in the example above the count of code would be 2.
Solved! Go to Solution.
Try
Num rows =
COUNTROWS ( FILTER ( 'Table', 'Table'[Person Count] > 1 ) )
Thank you, that has worked it was so much simpler than i was expecting it to be.
Try
Num rows =
COUNTROWS ( FILTER ( 'Table', 'Table'[Person Count] > 1 ) )
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 19 | |
| 19 | |
| 17 | |
| 11 |
| User | Count |
|---|---|
| 59 | |
| 55 | |
| 42 | |
| 40 | |
| 30 |