Forum Discussion

BhagatRansi's avatar
BhagatRansi
Frequent Visitor
5 years ago
Solved

MaxDate per Value

Hi everyone,   I am bit in a challenge. I am receiving a table where measures a different frequencies. Some are delivered on a monthly base and some on random dates. The client like to see the most...
  • ryan_mayu's avatar
    5 years ago

    BhagatRansi 

    1. select date and orgnization column and unpivot other columns in PQ

    2. create two measures

    maxdate = MAX('Table'[Date])
    
    Measure = MAXX(FILTER('Table','Table'[Attribute]=max('Table'[Attribute])&&'Table'[Date]=max('Table'[Date])),'Table'[Value])

     please see the attachment below