Forum Discussion

Apple08's avatar
Apple08
Icon for Helper IV rankHelper IV
3 years ago
Solved

SumX with multiple filters

Hi All   I have a DAX below to get the Planning[Planned_hours], however I need to add in more filters Planning[Status] = "Red" or "Amber" or "Green". Please could anyone help?  Many thanks.   P...
  • sjoerdvn's avatar
    3 years ago
    Planned Hours = SUMX(FILTER(Planning,Planning[name]='Supplier'[Supplier] && Planning[MMM-YY]='Supplier'[MMM-YY] && Planning[Status] IN {"Red","Amber","Green"}),Planning[Planned_hrs])