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
jiayuli
New Member

Need help with default slicer selection based on another slicer

I have two slicers, Month and Week. The Week slicer filters the Month slicer, so whenever I choose a week, it filters to that corresponding month.

 

There's my question, is there a way when I choose a week, the Month slicer automatically selects the correct month instead of choosing the preselected month?

 

I want it to automatically select April when I choose a week in April like this.

1.png

 

But right now it requires me to manually select the Appropriate month.

2.png 3.png

 

Please if anyone could provide some help.

3 REPLIES 3
Anonymous
Not applicable

Hi @jiayuli ,

 

Try below calendar table:

Date = 
ADDCOLUMNS (
    CALENDAR ( DATE ( 2023, 01, 01 ), DATE ( 2024, 12, 31 ) ),
    "Year", YEAR ( [Date] ),
    "Quarter", ROUNDUP ( MONTH ( [Date] ) / 3, 0 ),
    "Month", FORMAT(MONTH([Date]),"mmmm"),
    "Week", WEEKNUM ( [Date] ),
    "Year-Qur",
        YEAR ( [Date] ) & "Q"
            & ROUNDUP ( MONTH ( [Date] ) / 3, 0 ),
    "Year-Mon",
        YEAR ( [Date] ) * 100
            + MONTH ( [Date] ),
    "Year-Week",
        YEAR ( [Date] ) * 100
            + WEEKNUM ( [Date], 2 ),
    "Weekday", WEEKDAY ( [Date], 2 )
)

vkongfanfmsft_0-1712558265152.png

When the date slicer is selected, the month slicer will automatically become the corresponding month.

vkongfanfmsft_1-1712558347190.pngvkongfanfmsft_2-1712558360720.png

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Thank you for the answer. However, is there a way for the Month slicer to automatically select when it changes?

amitchandak
Super User
Super User

@jiayuli , I doubt that is possible as of now

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors