Hi,
I need to capture values of certain records which act as denominator for my calculations. Example:
Group SUM
----- ---
G1 50 (NOTE: sum varies over time, but groups are same)
G2 80
Can I create 2 variables, say varG1, varG2 to hold values of the SUM, i.e. varG1=SUM(G1) and varG2=SUM(G2), such that they are used as denominators in my other calculations. For example-
Product Group Revenue %ofRevenue
------- ----- ------- ----------
P1 G1 10 Percentage(10;varG1)
P2 G1 30 Percentage(30;varG1)
P3 G2 40 Percentage(40;varG2)
I need to capture values of certain records which act as denominator for my calculations. Example:
Group SUM
----- ---
G1 50 (NOTE: sum varies over time, but groups are same)
G2 80
Can I create 2 variables, say varG1, varG2 to hold values of the SUM, i.e. varG1=SUM(G1) and varG2=SUM(G2), such that they are used as denominators in my other calculations. For example-
Product Group Revenue %ofRevenue
------- ----- ------- ----------
P1 G1 10 Percentage(10;varG1)
P2 G1 30 Percentage(30;varG1)
P3 G2 40 Percentage(40;varG2)