Forum Discussion

QwertyMartijn's avatar
QwertyMartijn
Helper II
3 years ago
Solved

How to create custom column based on value in cell?

Hi guys,   My data has the following structure: ID Question Answer 1 Contractor? Firm A 1 Completed work? Yes 1 Paid? No 2 Contractor? Firm B 2 Completed work? No ...
  • Ahmedx's avatar
    3 years ago

    pls try this

    Column = 
    VAR t1 = [ID]
    RETURN MAXX(
    FILTER(ALL('Table'),'Table'[ID]=t1&&'Table'[Question]="Contractor?"),[Answer])