Forum Discussion

IscaacNewton's avatar
IscaacNewton
New Member
4 years ago
Solved

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.

 

 

 

First post here so feedback is welcome

  • truptis's avatar
    truptis
    4 years ago

    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.

4 Replies

    • IscaacNewton's avatar
      IscaacNewton
      New Member

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

       

       

      • truptis's avatar
        truptis
        Community Champion

        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.