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! Learn more
Hello,
I have created a table which shows year month, order quantity and previous year order quantity.
And i have added a date slicer.
But when i change the date with the help of slicer i cant see the previous years data.
And when i use the dropdown slicer it shows me the previous year.
Why i'm facing this problem.
And how can i show previous year when i'm using between slicer. (My client want between slicer).
Thank you.
@Sanskruti , Make sure you have a date table and slicer, visual and measure using date table columns
Try measure like
Year behind Sales = CALCULATE(SUM(Sales[Sales Amount]),dateadd('Date'[Date],-1,Year))
Year behind Sales = CALCULATE(SUM(Sales[Sales Amount]),SAMEPERIODLASTYEAR('Date'[Date]))
Thank you for replying,
But i'm using same expression.
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 |
|---|---|
| 84 | |
| 49 | |
| 38 | |
| 31 | |
| 30 |