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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors