Forum Discussion
DAX Previous Month and Filtering
- 6 years ago
Hi mosman
Could you create a column that gets the max date for each month in your date table? Then create a helper table that is linked to your date table, with only the distinct values of that column?
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Hi Nathaniel_C,
the users would like to see one date at the time like this:
- mosman6 years agoFrequent Visitor
the measure looks like this:
Starting Balance Amount = CALCULATE(SUM('FactSales'[currentBalance]),ALL(DimDate),PARALLELPERIOD(DimDate[Date],-1,MONTH))- mosman6 years agoFrequent Visitor
when I use the date from the time intelligence table in the slicer, it looks like this:
but I want it to look like this:
- Nathaniel_C6 years agoCommunity Champion
Hi mosman ,
Might you create a column in the Date table that gives you the max date for each month and use that for your slicer?
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel