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,
I would like to count the number of non blank values in a matrix.
Values of the matrix are based on a measure.
Tnx for help:)
Solved! Go to Solution.
Great question - great solution! this community rocks!
@Anonymous
Try this MEASURE
Measure =
COUNTROWS (
FILTER ( ALLSELECTED ( TableName[ColumnName] ), [Measure] <> BLANK () )
)
The measure works fine! Tnx @Zubair_Muhammad
But is it possible show the count as 1 per value and not sum count of values <> blank on every value. And sum count on the higher level of the matrix.
My matrix has 3 levels.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 60 | |
| 43 | |
| 40 | |
| 36 | |
| 21 |
| User | Count |
|---|---|
| 178 | |
| 127 | |
| 115 | |
| 77 | |
| 54 |