Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Crosstab SUM - How to apply Reporting 3.9.1

$
0
0
Hello,

In some report, there is the need to sum the values for the Crosstab function. I Know this feature is experimental, i am trying this even by workarround, but having no luck.

Data Sample:

2000 2001 2002 2003 Total Type
Type1 4 4 4 4 16
Type2 3 3 3 3 12
Type3 2 2 2 2 8
Total Year 9 9 9 9

The main problem in this case is to make this Total Type work. Formulas have been tried, something like:

{
F1=Sum(IF(HASCHANGED([type]));[value];0);
F2=Sum(F1); (Running)
} Resulting in aways 0


{
F1 = SUM ([value])
} Resulting the sum for every field on the screen (on the sample data would be 36)

Also tried the most variation of this functions, like StartUpValues in fucntions, but the result is AWAYS absolute value or 0. Playing with some count Running, the result was like 4 entryes for Type1, and i could not find a way to use this kind of results to help the sum.

How could i make this sum by Type? And, following the same logic, how to sum By Year?

Regards.

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>