7 Replies Latest reply: Jan 22, 2018 6:23 AM by Hans Christian Riis RSS

    Switching between alternative measures using API

    Maxime Dumas



      I would need to change the active measure on a chart based on a combo box selection in my mashup. The measures are defined in the measures section. I thought the easiest way to do this would be to assign all the measures as alternatives dimensions and set the active one using the mashup API. But I cannot find the method to set the active alternative measure in the documentation.


      Is there an API method to set the active measure in a chart? Otherwise, can we change programmatically the measure? I know I can set variables, but I cannot call a measure using a variable as far as I know...


      Thank you!