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
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 ) )
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 137 | |
| 102 | |
| 71 | |
| 67 | |
| 64 |