Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213916

combine CALCULATE with SWITCH to filter multiple criteria for the same field

$
0
0

I have used the calculate function along with switch to use multiple criteria against the same field value as below :

 

H1 = calculate(sum('ytd dec''16'[VALUE]),switch('ytd dec''16'[MONTH],"jul",true(),false()))

 

but this formula does not seem to return any value - i intend to extend it to several other filters and was testing the formula with just one month as the criterion

 

can I get some urgent help on this? thank you

 


Viewing all articles
Browse latest Browse all 213916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>