Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have a matrix using the following measure to rank [Location]. I am unable to figure out the syntax to use ALLNOBLANKROW or another method for removing the blank values when counting the rows.
Rank =
Rankx(ALLSELECTED(Table[Location]),CALCULATE(COUNTROWS(
GROUPBY(Table[Sample ID],Table[Order Choice Type])),
DATESINPERIOD('Calendar'[DATE],EOMONTH(TODAY(),-1),-12,MONTH)))
Any help is appreciated.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 3 | |
| 2 | |
| 2 |