Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Team, I developed a multi-input custtom visual with the reference of a text filter. My code filtering is working fine, but here I am getting issues. Please, anyone can help me.
1. When the slicer or mass filter visual is placed in a custom visual place, when I switch back to my visual through the code option from visualization, my filtered inputs are not showing. and
2. When we add any other input to the mass filter and filter, then I need to show the filtered inputs in my visual
and I observed that when switching back, the only constructor is calling
Here I am adding my code
Hi @Raghugupta1234 ,
You can also try checking the relevant information about ‘filter’ in the code, correctly setting up custom visual object data binding and presentation logic to ensure proper handling of necessary data and filters during initialization.
You can check whether the interaction between visual objects is enabled or disabled.
Change how visuals interact in a report - Power BI | Microsoft Learn
If the above results do not meet your expectations, can you express the expected results in the form of a picture, we can help you better.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
When I checked in my code filter code correct, here I am unable to find switch the visuals events. I added consoles in mode; if we switch the visual in my console in place of the page name showing unknown, and when I switch to my visual, only constructor options are called... I wrote filter logic in the update method.
User | Count |
---|---|
5 | |
4 | |
4 | |
2 | |
2 |
User | Count |
---|---|
8 | |
6 | |
4 | |
4 | |
4 |