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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
asparagus1_
Helper I
Helper I

Relative Date Filter Not Working?

Hi everyone,

I'm having trouble with a relative date filter in Power BI. I applied a "Relative date" filter to show only the last 180 days (including today), and all the fields in my visual come from the same Date table. Specifically:

  • The visual uses a Year-Month column from the Date table.
  • The filter is applied to the Date column from the same table.
  • The Date column is of type Date, and Year-Month is a formatted column.

Despite this setup, the visual still shows all available dates, not just the last 180 days.

How should I adjust it?

asparagus1__0-1757504704330.png

 

1 ACCEPTED SOLUTION
MasonMA
Super User
Super User

@asparagus1_ 

 

It looks you are using visual-level filter only on Slicer. Try using page-level or report-level filter instead. 

MasonMA_0-1757506821340.png

Also, you may test with 'Select All' disabled, 'Select All' basically is equivalent to applying no filter at all on that field (because everything is included). So if your slicer is on Date[Year-Month], and you have "Select All" checked, then your visual is seeing the entire set of dates, unless another filter (like a relative date filter) is applied on the underlying Date column.

 

View solution in original post

2 REPLIES 2
MasonMA
Super User
Super User

@asparagus1_ 

 

It looks you are using visual-level filter only on Slicer. Try using page-level or report-level filter instead. 

MasonMA_0-1757506821340.png

Also, you may test with 'Select All' disabled, 'Select All' basically is equivalent to applying no filter at all on that field (because everything is included). So if your slicer is on Date[Year-Month], and you have "Select All" checked, then your visual is seeing the entire set of dates, unless another filter (like a relative date filter) is applied on the underlying Date column.

 

pankajnamekar25
Super User
Super User

Hello @asparagus1_ 

Try these optionsUse the  date column in the visual and format it as mmm-yyyy.Apply the filter at page/report level instead of only at the visual.Create a DAX flag column (e.g., last180daysfalg) or a measure to restrict data to the last 180 days.Ensure proper relationships between fact tables and the Date table.

 

 


If my response helped you, please consider clicking
Accept as Solution and giving it a Like 👍 – it helps others in the community too.


Thanks,


Connect with me on:

LinkedIn

 

 

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.