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
Anonymous
Not applicable

want to set slicer default to last 30 days

Hi,

I am using a union function to create a custom filter. and sync them between slicers with it so I can create a bookmark and use them in a bookmark manner. For reference

anand212_0-1671541773161.png

 

anand212_1-1671541811473.png

 

when I am using last 30 or 90 days I am unable to get the date before that date(Its getting inactive). How can I make them active in the same form.

anand212_2-1671542052119.png

can you help me out with this.

 

 

7 REPLIES 7
bolfri
Solution Sage
Solution Sage

Hi,

 

You have this one inactive because you are using "Last 7 days" filters from TODAY(). Can you describle how you wanted this to work? Did you mean "Last 7 days" from your max selected date? 🙂





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Hi,

 

Got your point, as I am using the max-min function the between slicer is not showing the other values.

 

Now can you help me out if I am selecting the last 7 days from the drop down slicer the data should be for last 7 days and in between slicer it should show the date range of last 7days but other dates should not be inactive it should work .

Anonymous
Not applicable

Hi,

If I am selecting the last 7 days it should show the same but when I am switching to between date slicers it should show the same last 7 days' data with this, I would be able to select a different date range to filter.
Currently its showing only last 7 days in the between slicer and rest dates are inactive. So it shoud not be inactive in the between filter

But Last 7 days from TODAY() always be 7 SAME DAYS. You can't change the result of today by clicking different day into the calendar slicer ^.^ I think you need to rebuild this solution to create a measure that checks if the date is in the last 7 days calculated from last selected date on slicer, not from TODAY() function, so you can't do it into table calculation like you did. 🙂

Can you share a sample pbix file to help you with example?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable
amitchandak
Super User
Super User

@Anonymous , Disable interaction between the slicer and date and try

https://docs.microsoft.com/en-us/power-bi/service-reports-visual-interactions

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Tried this the slicers are already in sync if I am using edit interaction it's messing up all the things

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.