The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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 |
---|---|
65 | |
62 | |
60 | |
53 | |
30 |
User | Count |
---|---|
181 | |
82 | |
67 | |
48 | |
44 |