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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
jiaxuanphang
Regular Visitor

Slicers not syncing

Hi everyone, I'm facing a problem with the syncing of slicers. When I select "MTD" on the slicer, the first two slicers doesn't seem to be in synced with it. For the first slicer, it should only highlight the dates from 1/12 to 3/12 (3/12 is the latest data) and the date range should show that as well. I've already put the filter on all pages. What can I do to resolve this issue? 

 

jiaxuanphang_0-1638939986442.png

jiaxuanphang_1-1638940159339.png

 

 

4 REPLIES 4
v-xiaoyan-msft
Community Support
Community Support

Hi @jiaxuanphang ,

 

Does the replies above solve your problem? If it has been solved, please mark the correct reply as the standard answer to help the other members find it more quickly.Thanks in advance for your kind cooperation!

 

Hope it helps,


Community Support Team _ Caitlyn

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

amitchandak
Super User
Super User

@jiaxuanphang , Auto selection will not happen in this case , Range might not even reset the range.

If MTD is coming from the same table as Year, Month etc then it will work as filter.

 

Otherwise create a measure based on MTD, QTD which can return blank on not selected period and use that visual level filter on the first two slicers. Should work first one.

Hello! The MTD is coming from a different table as Year, Month so I can't do option 1.

 

Could you clarify the second option? All of the slicers are from different tables. Are you saying that I should consolidate them into a table so that it will be synced?

@jiaxuanphang , Assume you selected MTD, Then create a measure based on the selected date or today

 

MTD=
var _min = eomonth(today(),-1)+1 //eomonth(Maxx(allselected('Date'), 'Date'[Date]) ,-1)+1
var _max = today()  //Maxx(allselected('Date'), 'Date'[Date])
return

Switch( True() ,

Selectedvalues(period[period]) , 
CALCULATE(count('Date'[Date]), FILTER(ALL('Date'),'Table'[Date] >= _min && 'Table'[Date] <=_max ) ),

//Add other option code

blank()

)

 

Date is the table from where the first two slicers are coming

when you use this slicer in the slicer (list box), it will filter that. This do work with range slicers 

 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors