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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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

 

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

 

Ok, thank you! 🙂

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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