Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Remove blank rows from measure result

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. 

0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.