Forum Discussion
Published report slicer not working correctly
HI Testeri,
Check whether Persistent filters are contributing to the unexpected slicer behaviour. Microsoft documents that saved filter selections, particularly when combined with bookmarks, can cause unexpected results. Reset the report to its default state and temporarily disable Persistent filters to check whether the behaviour changes. Also, compare the slicer's filtering behaviour with the Filters pane and verify the slicer selection and interaction settings.
Troubleshoot Visualizations in Power BI - Power BI | Microsoft Learn
Change settings for Power BI reports - Power BI | Microsoft Learn
Format filters in Power BI reports - Power BI | Microsoft Learn
Thank you.
- Testeri3 days ago
Advocate II
Hi v-saisrao-msft ,
I tried to reset report to default state and also checked persistent filters option in settings in desktop and in service, no help.
I created a new report page with brand new slicer and a card where selected slicer value is shown with a measure:
Debug selected =
SELECTEDVALUE(
'Table'[Slicer column],
"NOT SINGLE"
)
The card is showing correct value in desktop for every selection but not in the service. However, I noticed something more strange in the service. Card is showing correct value in service for ONE specific selection in slicer but all other selections are shown as "NOT SINGLE". 🤯
- v-saisrao-msft2 days ago
Community Support
HI Testeri,
The SELECTEDVALUE() function returns the selected value only when the specified column has exactly one distinct value in the current filter context; otherwise, it returns the alternate result. Please verify that the slicer is configured to filter the debug card using Edit interactions and check whether any synchronized slicers are affecting the selection. You can also use COUNTROWS(VALUES('Table'[Slicer column])) as an additional diagnostic to inspect the number of distinct values in the current filter context. These checks may help narrow down the issue
SELECTEDVALUE function - DAX | Microsoft Learn
Overview of slicers in Power BI - Power BI | Microsoft Learn
Change How Visuals Interact in a Report - Power BI | Microsoft LearnThank you.