Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
rahulvartak
Frequent 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 the filtered records are returned for those selected values in the dataset.  

For example, if I select value A and value B in the Chiclet (or any other Filter visual), and if only value A is returned in the filtered dataset, I still need both the selected values to perfom some business logic in my Custom Visual. 

 

Thanks & Regards,

Rahul

2 REPLIES 2
v-evelk
Microsoft Employee
Microsoft 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
pbicvsupport@microsoft.com

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

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors