3 Replies Latest reply: Jun 18, 2014 1:31 PM by Gysbert Wassenaar RSS

    How to make a calculated dimension the way I want?

    Darri Hilmarsson

      Hi, QV community


      I need to some help to make a calculated dimension.

      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 jobs number AARS10, AARS11, AARS12 and IMMS10.


      I tried to use this formula below but I did not work the way I want it but it is close.

      =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 calculated dimension that shows the way I want.

      You can see how I want it in the Calculated dimension below.


      Any ideas?


      Console JobJob numberRevenueCostContainer



      Calculated dimension