Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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.
User | Count |
---|---|
59 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
80 | |
62 | |
45 | |
40 | |
39 |