4 Replies Latest reply: Apr 13, 2016 6:27 AM by Maxime Dumas RSS

    Switching between alternative measures using API

    Maxime Dumas

      Hi,

       

      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!