Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
185
Custom Aggregate Level Summary
posted

I am using availability summary types in two columns and in third column; I want to see the difference in summary values.

Is it possible to calculate difference or perform custom calculations for aggregate level values? I tried to use UltraCalc Manager but no success L Any help or ideas appreciated.

Example - In SS below, one column B has max summary type and other has sum C. In column Delta D, I want to see difference at aggregate level (Max column B - Sum col C). I do have formula in column Delta and when I expand it, difference in original values is available

 

 As shown below, individual delta values are available when I expand the EffectiveWW but Delta is more useful at aggregate level than individual row level.

 

 

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    Yes, you can do this in a couple of different ways.

    The easiest way would be to use UltraCalcManager and create a summary using a formula. The formula is relatively simple in this case, it's just one summary minus the other.

    The trick is, you have to be able to reference the two existing summaries by Key. So... the question is, how are you adding the two summaries seen here? If you are adding them in code using the band.Summaries.Add method, then you need to make sure that you call an overload of the Add method that takes in a Key and you give each summary a unique Key.

    Then you add the third (formula) summary and sets it's formula to something like this:

    [key of summary 1] - [key of summary 2]

Children