0 Replies Latest reply: Jun 11, 2014 3:50 AM by Darri Hilmarsson RSS

    How to add data/value in the expression not in the script

    Darri Hilmarsson

      Hi, QV community


      I need to some help to add data in the expression (not in the script).

      I have an example for you guys to see.

      I will talk about the example because you understand better if you look at it.

      First take a look at the example before read my explanation.


      One Job Number (AARS10) which is the same number as the console Job has information about the cost and Container Type.

      The other Job Numbers (AARS11 and AARS12) have information about the revenues and nothing about the container type as you can see in the data below


      I need the to get the same Container Types value in all my jobs. So when I filter Container Type "40HC" I will get all the jobs not only AARS10.


      I try to use this formula to add the data in the container type

      =aggr(MaxString(TOTAL <[Console Job]> [Container Type]),[Console Job],[Job number])


      It worked but created a problem for Console Job IMMS10 becuase it has many different Container Types.

      How can I do make an formula in the chart properties to get the solution I want


      Any ideas?


      Console JobJob numberRevenueCostContainerContainer TypeSolution I want