Complete the code to create a slicer that filters data by year.
Slicer = CALCULATE(VALUES('Date'[[1]]))
The slicer should filter by Year to sync across pages effectively.
Complete the step to enable slicer syncing across pages in Power BI.
Go to the View tab and open the [1] pane to manage slicer syncing.
The Sync slicers pane allows you to control which slicers sync across report pages.
Fix the error in the DAX measure to respect slicer sync across pages.
Total Sales = CALCULATE(SUM(Sales[Amount]), ALL([1]))Using ALL(Date) removes filters from the Date table, which breaks slicer sync. To respect slicers, remove ALL or use FILTER instead.
Fill both blanks to create a slicer that syncs and filters only selected pages.
In the Sync slicers pane, check [1] to sync the slicer and [2] to make it visible on the page.
Checking Sync syncs the slicer across pages, and Visible controls if the slicer shows on that page.
Fill all three blanks to write a DAX measure that respects synced slicers and calculates sales for selected years.
Sales Selected Years = CALCULATE(SUM(Sales[Amount]), FILTER(ALL('Date'), 'Date'[[1]] IN VALUES('Date'[[2]]) && 'Date'[[3]] <> BLANK()))
The measure filters the Date table by Year using the slicer values and excludes blank dates to respect slicer sync.