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
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

 

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

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

 

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

Ok, thank you! 🙂

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.