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
SP_Toss
Regular Visitor

Check slicer value based on action in another slicer.

I have two slicers.

One is simple slicert that display available dates for user to filter by : 

SP_Toss_0-1681454919709.png

Second I want to make some sort of shortcut for user to select some presets dates :

SP_Toss_1-1681454964617.png

Current report is calculating a lot of stuff ( mulitple cards and tables on report ) base on dates. What I need to do is when user click YTD button, current year will be selected on slicer and if user click LTM then only last 12 month will be selected. I know how to calculate that, but I didn't find any way of selecting value in one slicer based on action on second one. 

I tried to make it way as was presended in this yt video : https://www.youtube.com/watch?v=nocsNBF_NkE

But since I have a lot of small cards and tables, I'm not allowed to set global filter base on mesure it would require me to set it per componen wich can be tricky.

Using bookmarks will also not work for me since I need to always calculate Last 12 month so selected period will change each month and I don't want to update bookmrks.

 

Is there any way to select value in period slicer based on action from LTM button ? 

1 REPLY 1
lbendlin
Super User
Super User

What I need to do is when user click YTD button, current year will be selected on slicer

That is not something you can do in regular Power BI.  You might be able to inject these actions in Power BI Embedded.

Helpful resources

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

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors