Forum Discussion
Nested Measure
- 8 years ago
There are a dozen tables with dates and relationships within - so that's not really an option. All measures are written as some form of sumx(values(dates) or using max(dates) as a workaround.
Hi,
Try this
=CALCULATE([Revenue],PREVIOUSMONTH(Dates[Date]))
There should be a relationship from the Date column of your base data table to the Date column of your Dates table. In the Dates table, extract the month in another column by using the =FORMAT(Dates[Date],"mmmm") formula. In your visual, drag the Month column from your Calendar table.
- avalerion8 years agoFrequent Visitor
There are a dozen tables with dates and relationships within - so that's not really an option. All measures are written as some form of sumx(values(dates) or using max(dates) as a workaround.
- v-huizhn-msft8 years ago
Microsoft Employee
Hi avalerion,
The formula Ashish_Mathur posted is right. What's meaning of "so that's not really an option"? Have you resolved your issue? If you have, welcome to share your solution or mark the right reply as answer. More people will benefit from here.
Thanks,
Angelia