Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
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.