microsoft / microsoft/powerbi-visuals-api
Visual update event does not support the new 'Clear all slicers' button
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 108
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
If the new Clear all slicers button is selected on the report page the custom visual update event is triggered. However the instance of VisualUpdateOptions still keeps filters applied by the custom visual. Becaus of this it is not possible to support the Clear all slicers button for custom slicers. So it seems that it only resets the native slicers.
This is what the instance of VisualUpdateOptions looks like after the Clear all slicers button is selected:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the report-page Clear all slicers action with a custom slicer and inspect the VisualUpdateOptions instance received by the custom visual. Compare the applied filters before and after the event, then verify that the custom visual's filters are cleared as well as native slicers. No file or test location is specified in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100