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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

how to use period picklist slicer to filter date slicer

Hi experts,

I have a date slicer and a period picklist slicer:

 

Yao2319_1-1689067921656.png

What I do is :

1, create a Calendar table extracted from my fact table and create a copy of it (called "hidden calendar");

Yao2319_2-1689067950729.png

2, then i created three tables which only contains the dates of "current week", "previous week" and "YTD" separately:

Yao2319_3-1689067977405.png

3, then i append these three tables into one "period picklist table" :

Yao2319_6-1689068010925.png

4, then, i created the relationships like this:

'Calendar'[Date] -(1 to many*)-> 'weekly visual'[Date]

and

'Calendar'[Date]' <-(1 to many*)-> 'Period Picklist'[Date]

Yao2319_7-1689068026645.png

 

Problem is, the period slicer (lower one) can not filter the date slicer correctly. for example, I select "YTD" in the period slicer, though the data in all the matrix visuals show correctly, but the date slicer does not change to the date range of YTD (from 2-1-2023 to 8-7-2023). I have to manually move the slider to make the date slicer show the correct date range. (i already make the interactions: let date slicer not filter the period slicer, but the period slicer can filter the date slicer.)

 

i want to let the period slicer filter the date slicer when i click any of the period. Can anyone help me to make it? Thanks in advance!

0 REPLIES 0

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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