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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
aishak12
Helper IV
Helper IV

Syncing Slicers

All, 

 

 

 

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @aishak12 

 

You can try the following methods

Sample data:

vzhangti_0-1678435487341.png

Create a new date table.

vzhangti_1-1678435529358.png

Measure = 
IF ( SELECTEDVALUE ( 'Date'[Month] ) = BLANK (), 1,
    IF ( SELECTEDVALUE ( 'Date'[Year] ) = YEAR ( SELECTEDVALUE ( 'Table'[Date] ) )
         && SELECTEDVALUE ( 'Date'[Month] ) = MONTH ( SELECTEDVALUE ( 'Table'[Date] ) ),
        1,
        0
    )
)

Put Measure in the Value slicer and set Equal to 1.

vzhangti_3-1678437094650.png

vzhangti_4-1678437116039.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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

Gowtham_Selvam
Resolver I
Resolver I

Make the Date slicer and value slicer as a Dropdown and sync both the slicers.It will work.

 

If I answered your question,mark it as solution.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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