Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

What happens if both visual and page filters are applied?

Hello

 

I want to enable users to chose their own date filters on a page but I also want to always exclude today's date data from a particular visual on the page.

 

Is it possible to specify a relative date filter on the visual so that it will display all data apart from today's and then enable users apply page filters on top to further filter the data on the visual and the page according to their own date range?

 

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Anonymous ,

I created the data:

v-yangliu-msft_0-1623396640521.png

Here are the steps you can follow:

1. Create measure.

flag =
IF(MAX('Table'[date])=TODAY(),0,1)

2. Place [flag] in Filter, set is=1, apply filter.

v-yangliu-msft_1-1623396640529.png

3. Use [date] as a slicer

4. Even if the slicer selects the date, only all data except today will be displayed in the visual object

5. Result:

v-yangliu-msft_2-1623396640536.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi  @Anonymous ,

I created the data:

v-yangliu-msft_0-1623396640521.png

Here are the steps you can follow:

1. Create measure.

flag =
IF(MAX('Table'[date])=TODAY(),0,1)

2. Place [flag] in Filter, set is=1, apply filter.

v-yangliu-msft_1-1623396640529.png

3. Use [date] as a slicer

4. Even if the slicer selects the date, only all data except today will be displayed in the visual object

5. Result:

v-yangliu-msft_2-1623396640536.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , You can use a visual level filter to exclude the data of today. But it will be limited by the range of page-level filter if any

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Users online (3,923)