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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
untruthtotruth
Frequent Visitor

Change list of values in Slicer Based on Selection in Another Slicer

I have two Slicers

1 Firm

2 Month End

 

I have multiple Firms and each Firm has data for Month ends. I have a requirement where if more than one Firms are selected then 

MonthEnd Slicer should show only Quarter End Months else Show MonthEnd.

 

Please let me know if anybody has solution to this

 

Thanks

2 REPLIES 2
Anonymous
Not applicable

Hi @untruthtotruth ,

I create a table as you mentioned.

vyilongmsft_0-1720061018808.png

Then I create two calculated columns.

Column = 
IF ( MONTH ( 'Table'[Date] ) IN { 3, 6, 9, 12 }, "Quarter End", "Month End" )

vyilongmsft_1-1720061347295.png

Column 2 = COUNTROWS(VALUES('Table'[FirmName]))

vyilongmsft_2-1720061383657.png

Fianlly I create a calculated column and get what you want.

Column 3 = 
IF (
    'Table'[Column 2] > 1,
    IF (
        'Table'[Column] = "Quarter End",
        FORMAT ( 'Table'[Date], "MMM YYYY" ),
        "Month End"
    ),
    FORMAT ( 'Table'[Date], "MMM YYYY" )
)

vyilongmsft_3-1720061664622.png

 

 

 

Best Regards

Yilong Zhou

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

Hi @Anonymous ,

 Thanks for replying. I looked at the solution that you have provided. In my secenario Each FirmName has Multiple Monthends and I have 2 slicers, FirmName slicer & Slicer2 Monthend.

  IF in ColumnA(Firm Name) Slicer, Single Firm is selected then Slicer2 should show Monthends related to that firm But IF multiple Firms are selected in Slicer1 then Slicer2 "Report Date" should Only show QuarterEnd Values. I looked at the PBIX file if you select Multiple Firm, Date filter if not showing only Quarterend Values

 

Screenshot 2024-07-08 at 11.50.06 AM.png

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors