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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
vyankarla
Frequent Visitor

Default date filter to display N months data excluding x months

My report needs to display 6 months data (excluding last 2 months)  on loading the report .   For ex :  If viewing today(8/30/18), it should default my date filter to   Jan 2018 through June 2018  .  Once it is loaded , user should be given flexibility to select different date range to view the data using a slicer .   

 

Currently, I have used page filter and manually set advanced filter date range to 1/1/2018 through 6/30/2018  . Though this displays 6 months of data , it doesn't allow user to change the date range to prior dates.

 

Thanks in advance

 

1 ACCEPTED SOLUTION

Thank you, Jimmy.   I just voted for it .

 

Meanwhile , I'm thinking of using custom column to flag it if date is within my default date range and then use it as page level filter.  This solves setting default date range , but still not sure on toggle between default range and custom range in case if user wants to select different date range .

 

Thanks

Venu

View solution in original post

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

Hi vyankarla,

 

Based on your description, you want to achieve the default value or default range, right? Unfortunately this has not been supported in power bi, in addtion, you can vote for this idea here : https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/7162004-default-selected-slicer-o....

 

Regards,

Jimmy Tao

Thank you, Jimmy.   I just voted for it .

 

Meanwhile , I'm thinking of using custom column to flag it if date is within my default date range and then use it as page level filter.  This solves setting default date range , but still not sure on toggle between default range and custom range in case if user wants to select different date range .

 

Thanks

Venu

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.