Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Latest Value

Hi Guys,   I need some help on this. Here's my data: Date Store Product Answer 16/07/2018 McDonald Pizza Yes 17/07/2018 McDonald Pizza No 16/07/2018 McDonald Burger No 1...
  • Ashish_Mathur's avatar
    8 years ago

    Hi,

     

    You may download my file from here.

     

    Hope this helps.

  • Zubair_Muhammad's avatar
    Zubair_Muhammad
    8 years ago

    Anonymous

     

    As a NEW Table ("Calculated Table"), you can use

     

    New Table =
    VAR temp =
        ADDCOLUMNS (
            Table1,
            "RANK", RANKX ( FILTER ( Table1, [Store] = EARLIER ( [Store] ) ), [Date],, DESC, DENSE )
        )
    RETURN
        FILTER ( temp, [RANK] = 1 )