Forum Discussion

rgoo's avatar
rgoo
Frequent Visitor
2 years ago
Solved

SWITCH statement not working as intended

i have a switch statment using DAX:  DisplaySEAData = SWITCH( TRUE(), [SEA Selected],CALCULATE(SUM('EVR 2014-2024'[EVR]),'EVR 2014-2024'[office_name] = "SEA"), "Test" )   SEA Select...
  • rgoo's avatar
    rgoo
    2 years ago

    i found the issue, as i am selecting the slicer I.e. Vietnam,Indonesia, Thailand.  i want to display the sum from  SEA region instead but as it is filtered for Vietnam,Indonesia, Thailand it shows as blank() instead. i am now going to try and see if can do it if i change my data source to another table