Forum Discussion

aarshps's avatar
aarshps
Frequent Visitor
8 years ago

Access filters in Custom Visual

Hi,

 

I have a custom visual in which I need to access the page filters that are being applied. How can I get the filters from my Custom Visual code?

 

I am trying to create a custom visual somewhat similar to MAQ software's JSONGrid Viz. 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.

 

I'm fairly new to Power BI.

7 Replies

    • aarshps's avatar
      aarshps
      Frequent Visitor

      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.

      • v-viig's avatar
        v-viig
        Community Champion

        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

        [email protected]