Forum Discussion

JohannesBier's avatar
JohannesBier
Icon for Helper I rankHelper I
2 years ago
Solved

Conditional column

Hello everyone, I need help with a conditional column. I have a column with weekday (0-6) and shift number (1-3). The conditional column currently makes the distinction between week and weekend so i...
  • Anonymous's avatar
    Anonymous
    2 years ago

    In your FILTER, you can use && to have 2 different filter conditions:
    VAR WorkingDayShift = 
      FILTER( ALL (Date ),
        'Date'[Working Day]  = 1 && 'Date'[Shift Number] = 3
    )