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

Compare previous and new sales in DirectQuery mode

$
0
0

Hi All,

 

I want to compare the sales result of the current month to the previous month. I found 3 simple DAX formula's.

All of them don't work in "DirectQuery mode". Function is not supported...

 

Prev. Month Sales = CALCULATE(SUM([Total Sales]),DATEADD([Date]),-1,MONTH))

Prev. Month Sales = CALCULATE(SUM([Total Sales]),PREVIOUSMONTH([Date])) 

Prev. Month Sales = CALCULATE(SUM([Total Sales]),PARALLELPERIOD([Date],-1,MONTH))

 

 

Is there a way to make this calculation in DirectQuery mode? Hope you can help me out with this one!


Viewing all articles
Browse latest Browse all 213819

Trending Articles



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