Forum Discussion
977roshan
7 years agoNew Member
DATEADD / PARALLELPERIOD RETURNING SAME VALUE
Hi, I'm trying to get a simple KPI that have current month Total Sales and Last month Total Sales. I already have the following measures for Total Sales. Total Sales:=SUMX(sales,sales[Qty]*sa...
- 7 years ago
You can modify you measure like pattern below and check if it can meet your requirement:
Last Month Sales := CALCULATE ( [Total Sales], FILTER ( DimDate, Dimdate[Date] = MONTH ( TODAY () ) - 1 ) )Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yuta-msft
Community Support
7 years ago
You can modify you measure like pattern below and check if it can meet your requirement:
Last Month Sales :=
CALCULATE (
[Total Sales],
FILTER ( DimDate, Dimdate[Date] = MONTH ( TODAY () ) - 1 )
)
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.