I have tried all I c PowerBi issue an and cannot seem to make it work. Please I need help. I am trying to get the data for previous qtr and last 2 qtrs but cannot get it right. see formula below. but it gives me total. thanks
Last 1 qtr = CALCULATE([Total Sales], DATEADD(DimDate[FullDateAlternateKey], -1, QUARTER))
Last 2 qtr = CALCULATE([Total Sales] , DATEADD(DimDate[FullDateAlternateKey], -2, QUARTER))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.