Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Select a Specific Cell on a Table using Conditional Statement

Hello, in the [Count] column, I've wanted to return that value "60" on the [Latest] column that is unique and dependent on the [PO #] column. Its currently returning the value of the last cell in [Co...
  • V-lianl-msft's avatar
    4 years ago

    Hi Anonymous ,

     

    Replace MAXX() with :

    CALCULATE(MAX('Table'[COUNT]),FILTER('Table','Table'[PO #]=EARLIER('Table'[PO #])&&'Table'[SHIFT SELECTOR]="DAY"&&'Table'[TODAY SELECTOR]="TODAY"))

     

    Best Regards,
    Liang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.