Forum Discussion
How to Apply a Filter to a Specific Power BI Custom Visual Without Affecting Other Visuals?
- 1 year ago
Hi DavidAnthony ,
Thank you for reaching out to Microsoft Community.Try local filtering inside your visual logic, where it filters data post dataView load, you must handle the filtering inside your visual logic, not through applyJsonFilter.
While building the visual, apply your own filtering logic to the dataView before rendering.
Refer this document for implementing Data view: Power BI Custom Visual Part 4 - Accessing the DataView - Shetland Data
If this post helps, please give us Kudos and consider marking it Accept as solution to assist other members in finding it more easily.
Regards,
Chaithra.
Hi DavidAnthony ,
Thank you for reaching out to Microsoft Community.
Try local filtering inside your visual logic, where it filters data post dataView load, you must handle the filtering inside your visual logic, not through applyJsonFilter.
While building the visual, apply your own filtering logic to the dataView before rendering.
Refer this document for implementing Data view: Power BI Custom Visual Part 4 - Accessing the DataView - Shetland Data
If this post helps, please give us Kudos and consider marking it Accept as solution to assist other members in finding it more easily.
Regards,
Chaithra.
Thanks for your reply