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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
IscaacNewton
New Member

Filtering ranked row by latest/highest

Hi all,

 

I am having trouble with filtering a data table based upon a row rank.  

 

What i am trying to achieve is to be able to visualise only the latstes rows with the highest row rank, this because each row indicates an ''updated'' status of each order and I am trying to only show the latest status.

 

Is there a way to filter rows based upon the highest row rank per grouping (ordernummer)?

 

green strips indicate the same grouping, red circle indicates row rank based on latest date.

 

IscaacNewton_0-1647947598907.png

 

 

First post here so feedback is welcome

1 ACCEPTED SOLUTION

Hi @IscaacNewton , Try this:
RESULT =
CALCULATE ( MAX ( Table1[Rank column] ), ALLEXCEPT ( Table1, Table1[Iordernumber] ) )

If this helps, then please hit the thumbs up & mark it as a solution. Thanks.

View solution in original post

4 REPLIES 4
mh2587
Super User
Super User

Latest = MAX(Rank Column)


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Hi and thanks for the quick reply.
In that scenario it gives me the max of all and not per colum Ordernummer. See below

IscaacNewton_0-1647948209827.png

 

 

Hi @IscaacNewton , Try this:
RESULT =
CALCULATE ( MAX ( Table1[Rank column] ), ALLEXCEPT ( Table1, Table1[Iordernumber] ) )

If this helps, then please hit the thumbs up & mark it as a solution. Thanks.

How could I have not thought about this. Thank you so much! For later reference; i had to adjust your fix a little bit to allign with the naming. See below

RESULT = 
CALCULATE ( MAX ( Query1[Row Rank] ), ALLEXCEPT ( Query1,Query1[OrderNUmmer]))

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors