Join 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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I have a date filter and a period filter on a page:
I would like the period filter to affect the date range but in a way that will allow me to make YoY comparisons. This is how dim_date and the date (period) filter are set up:
I want to use the period filter as a selector for the date range so that calcualatoins like this one can be done:
Solved! Go to Solution.
Use REMOVEFILTERS on your filter table similar to my screenshot below.
Revenue Previous Year =
CALCULATE (
[Revenue Current Year],
SAMEPERIODLASTYEAR ( dim_date[Date] ),
REMOVEFILTERS ( 'Date Filter' )
)
Please see the attached sample pbix.
Use REMOVEFILTERS on your filter table similar to my screenshot below.
Revenue Previous Year =
CALCULATE (
[Revenue Current Year],
SAMEPERIODLASTYEAR ( dim_date[Date] ),
REMOVEFILTERS ( 'Date Filter' )
)
Please see the attached sample pbix.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!