Forum Discussion
webward3
9 years agoNew Member
Previous Month Measure
I have a date table joined to my fact table. I'm trying to create a previous month measure in my tabular model. When I use the following formula referencing my date table, I get the exact same measur...
Sean
9 years agoCommunity Champion
Using your Measure 2
Create this Measure
Previous Month Measure = CALCULATE ( [Measure 2], DATEADD ( DATESMTD ( DimDate[Date] ), -1, MONTH ) )
or this should also work
Previous Month Measure = CALCULATE ( [Measure 2], PARALLELPERIOD ( DimDate[Date], -1, MONTH ) )
Sean
9 years agoCommunity Champion
What is the range of your Calendar Table?