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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
PBIUser12
New Member

Relative date slicer depending on date chosen in another slicer

Hi,

 

I use a relative date-filter in my report, which shows the last 10 weeks from now:

PBIUser12_5-1640700256275.png

 

But I also have two other slicers based on years and weeks, which filter some other visuals:

PBIUser12_2-1640699761645.png

 

The relative date slicer always counts x weeks from now (last week, 51), not depending on what week is chosen on the other slicers:

PBIUser12_3-1640699894561.png

 

 

Does anyone of you know, how I can combine these slicers (e.g. If I choose week 46, the relative slicer goes 10 weeks back from week 46)?

 

I've tried to solve it via the visual interaction, but unfortunately it didn't work.

 

PBIUser12_4-1640700033432.png

 

 

Thanks a lot!

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@PBIUser12 , You can not. You have to build using date slicer and custom slicer and custom measure

 

refer example

https://community.powerbi.com/t5/Desktop/Required-custom-date-Slicer-Last-7-days-last-15-days-last-3...

 

 

Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
v-yanjiang-msft
Community Support
Community Support

Hi @PBIUser12 ,

Has @amitchandak 's solution solved your problem? If yes, please kindly accept it as the solution to help the other members find it more quickly.

Best Regards,
Community Support Team _ kalyj

amitchandak
Super User
Super User

@PBIUser12 , You can not. You have to build using date slicer and custom slicer and custom measure

 

refer example

https://community.powerbi.com/t5/Desktop/Required-custom-date-Slicer-Last-7-days-last-15-days-last-3...

 

 

Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Ok, thank you! 🙂

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.