Skip to Content

Filter Infochart based on Text Box

Requirement : Please provide me code for Interaction between KPI Tiles and Chart.

For E.g. : When I Click on KPI Tile , chart should get Filtered when I clicked on KPI Tile.

Thanks in Advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 18, 2017 at 06:27 PM

    Hello Mahesh,

    you need dimensions A & B in both KPI tiles and Chart.

    Then in you can write below logic in the script editor...Lets assume you are using chart with data source DS_1

    1.Write this logic in KPI tile A script editor

    DS_1.setFilter("dimension", "A");

    2.Write this logic in KPI tile B script editor

    DS_1.setFilter("dimension", "B");

    If you want the images to be changes based on tile selection then you need to include the code for icon changes as well in KPI tile A & B.

    BR,

    Lakshmikanth Adharapurapu

    Add comment
    10|10000 characters needed characters exceeded