Forum Discussion
Power BI custom visuals API - get applied filters
- 5 years ago
Hi toresenneseth,
Visuals only know about the data supplied by Power BI to its dataView. Power BI will not supply information about applied filters or conditions, unfortunately.
The only exceptions to this are if you have enabled highlighting (which will send original data plus which values should be flagged in your code), or if your visual filters other visuals (behaving as a slicer). In that case you will only have the filters you have applied yourself rather than those that have been applied externally from other visuals or the filter pane though.
Regards,
Daniel
Hi toresenneseth,
Visuals only know about the data supplied by Power BI to its dataView. Power BI will not supply information about applied filters or conditions, unfortunately.
The only exceptions to this are if you have enabled highlighting (which will send original data plus which values should be flagged in your code), or if your visual filters other visuals (behaving as a slicer). In that case you will only have the filters you have applied yourself rather than those that have been applied externally from other visuals or the filter pane though.
Regards,
Daniel