Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

DAX Switch Filter

Dear community, 

 

I have a lot of switches within my reports, which all have the same structure, but with one different filter within all expressions (f.e. calculate(sum), metric = "Revenue" / "New Orders"). 

 

Is there any possibility to set the filter before the beginning of the switch code, or do I have to write the calculate formular in every expression of my switch? 

 

I am looking for somethin like this: 
Filter(
     Switch formular 
          ), metric = "Revenue") 

1 Reply