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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon & SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.