Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 49061

Re: Show total only last month

$
0
0

Hi ,

 

You can try to use below formula if it works on your side:

 

Total of last month =
var currDate=MAX(Tempo[Date])
return
SUMX(FILTER(ALL(Tempo),currDate>= DATE(YEAR(currDate),MONTH(currDate)-1,1)&&currDate<=DATE(YEAR(currDate),MONTH(currDate),1)-1),[VALUE])

 

Regards,

Xiaoxin Sheng


Viewing all articles
Browse latest Browse all 49061

Trending Articles



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