Forum Discussion
Last 13 Months + Weekly
- Anonymous3 years ago
Hi kruzack ,
Please have a try.
Create a measure.
Last 13 Months = VAR SelectedDate = MAX(Calendar[Month]) VAR DateDiff = DATEDIFF(Sales[Date], SelectedDate, MONTH) RETURN IF(DateDiff <= 0 && DateDiff > -13, 1, BLANK())Solved: Show last 13 months based on user single slicer se... - Microsoft Fabric Community
Show last 13 Months from Slicer Selection in Power BI (DAX) - YouTube
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ RongtieIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi kruzack ,
Please have a try.
Create a measure.
Last 13 Months =
VAR SelectedDate = MAX(Calendar[Month])
VAR DateDiff = DATEDIFF(Sales[Date], SelectedDate, MONTH)
RETURN
IF(DateDiff <= 0 && DateDiff > -13, 1, BLANK())
Solved: Show last 13 months based on user single slicer se... - Microsoft Fabric Community
Show last 13 Months from Slicer Selection in Power BI (DAX) - YouTube
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.