4 Replies Latest reply: Jun 20, 2013 9:24 AM by Valentin Irimia RSS

    Line chart: multiple lines for a single expresion

      Hello,

       

      I have a line chart with 2 expressions:

       

      exp1:=Only({$<kpi={'$(vFirstKpiSelected)'}}>}data)

      exp2:=Only({$<kpi={'$(vSecondKpiSelected)'}}>}data)

       

       

      My question is: can I have multiple lines in chart (based on multiple selection from a listbox) for a single expresion?

       

      Something like:

       

      exp1:=Only({$<kpi={'$(vFirstKpiSelected)'}, ITEM_CODE={'item1','item2','item3'}}>}data)

      and

      exp2:=Only({$<kpi={'$(vSecondKpiSelected)'}, ITEM_CODE={'item1','item2','item3'}}>}data)

       

      I tried this but it doesn't work.

       

       

      Can you please help me?

      Thank you.