Forum Discussion
modify the slicer filter
i want to show the slicer title to be inside the bar instead of 'All' in case there is no selection .
how the current slicer look:
i would like to have the title to be inside the bar as :
Hi, lawada ;
Currently, we cannot customize the default value of "ALL" to other values such as "All Field Name" in format.
But we can build a visual card by one measure and group this visual and segmenter to achieve its goal.
I build a slicer table.
Then build a measure.
Measure = VAR _countrow = COUNTROWS ( 'Table' ) VAR _Total = COUNTROWS ( ALL ( 'Table' ) ) RETURN IF ( _countrow = 1, MAX ( 'Table'[Year] ), IF ( _countrow < _Total, "Multiple Selections", "Year" ) )Put measure in card visual and set the text size and display the title.
Display the slicer header.
Then group them and set the sort display.
The final show:
You can vote on an idea using this link for this feature: https://ideas.powerbi.com/ideas/search-ideas/
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- amitchandakSuper User
lawada , I doubt there is an option for that
- v-yalanwu-msftCommunity Support
Hi, lawada ;
Currently, we cannot customize the default value of "ALL" to other values such as "All Field Name" in format.
But we can build a visual card by one measure and group this visual and segmenter to achieve its goal.
I build a slicer table.
Then build a measure.
Measure = VAR _countrow = COUNTROWS ( 'Table' ) VAR _Total = COUNTROWS ( ALL ( 'Table' ) ) RETURN IF ( _countrow = 1, MAX ( 'Table'[Year] ), IF ( _countrow < _Total, "Multiple Selections", "Year" ) )Put measure in card visual and set the text size and display the title.
Display the slicer header.
Then group them and set the sort display.
The final show:
You can vote on an idea using this link for this feature: https://ideas.powerbi.com/ideas/search-ideas/
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.