Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello, wondering if someone can help me with a Date slicer / measure question.
I have a sales table linked to DATE_DIM table.
The Date slicer is to select the period(multiple months) so I can get the YTD sales figures. However I would like to update some of my measures to only display the last month on the date slicer.
For an example is I am showing YTD sales for July - December period, how can I write the measure to calculate the sales based on the last month selected in the date range (e.g. December?)
I was using the measure below however this is not working as I want the user to be able to look at prior months based on the dates selected in the slicer.
Any help would be greatly appreciated.
Thanks
Solved! Go to Solution.
Solved the query - here's my updated measure
Solved the query - here's my updated measure
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |