Forum Discussion
rahulvartak
7 years agoFrequent Visitor
Retrieve the selected Filter values in a Custom Visual on the same page.
Hi All, Is there a way to consume the selected Filter values of a Chiclet filter or any other Filter visual inside a Custom Visual on the same page ? This should be irrespective of whether th...
v-evelk
7 years agoMicrosoft Employee
Hi,
Please, try to read the following property inside "update" method
this.options.jsonFilters
Kind Regards,
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
[email protected]
rahulvartak
7 years agoFrequent Visitor
Hey Evgenii, Thanks for your reply !
Unfortunately this.options.jsonFilters returns blank for me inside the update function.
Based on replies on other threads, I guess creating a Measure using the DAX function ALLSELECTED is one way out.
I was able to get the correct value in a simple Visual using this calculated Measure.
However, still facing issues consuming this Measure in my other Custom Visual where adding this measure in the capabilities.json as a Measure disrupts my otherwise working categorical data model.
Thanks & Regards,
Rahul