Forum Discussion
Access filters in Custom Visual
I have been looking into the source code.
My doubt is how can I have a multi-select like thing in my application and let the user select a list. Then the visualization that is created should have only the columns in the list selected by the user.
Power BI Custom Visuals API doesn't support the ability to get filters that are applied on the page.
Could you please explain the second feature a bit deeper?
I also need to add an additional functionality of have a filter element to control the number of columns in the Viz. That is there will be a multiselect to select the columns for the table.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- aarshps8 years agoFrequent Visitor
I've attached a link to what I would like to achieve. Based on that multi-select present just beside the visual, the columns need to change dynamically. So what I need to have is the selections from the slicer to the custom visual.
I need to get the values selected for the slicer inside the custom visual's update(). Will I be able to do it?
- v-viig8 years agoCommunity Champion
I think that's impossible to achieve since columns must be specified at Fields panel.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- aarshps8 years agoFrequent Visitor
Thank you for letting me know. But still, I could achieve the same using a matrix visualization. My doubt is, will I be able to achieve it with custom visuals? Somehow? Even the solution might not look clean, can it be done?