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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
v-yangliu-msft
Community Support
Community Support

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
v-yangliu-msft
Community Support
Community Support

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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.