cancel
Showing results for 
Search instead for 
Did you mean: 
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 Show Ep 4 Post Show Carousel.jpg

The Power BI Community Show

Shabnam Watson demos Incremental refresh & Hybrid Tables and Leila Etaati demos Charticulator.

PBI April Release 2022 768x460.png

Check it out!

Click here to read more about the April 2022 updates!

Power BI Dev Camp Session 22 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!