Skip to main content
Announcements
New: No-code data prep in Qlik Cloud Analytics™ TAKE A TOUR
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to bring a calculated field column total into next column ???

how to bring a calculated field column total into next column ???

for example

Column 1Column 2Column 3Column 4Column 5
23.10 3,735.320.00
01/07/20121,241.901,220.41461.603,735.32
02/07/20121,250.231,220.41889.083,735.32
03/07/20121,245.341,220.41621.453,735.32
04/07/20121,223.991,220.4112.763,735.32
05/07/20121,195.451,220.41623.033,735.32
06/07/20121,194.461,220.41673.713,735.32
07/07/20121,201.701,220.41350.213,735.32
08/07/20121,210.241,220.41103.493,735.32

column 4 is a calculated field

column 4 total should be come into column 5 is it possible ???

3 Replies
swuehl
MVP
MVP

What be good to know some more details (exact expression used in Column 4, dimensions used, maybe also some details about your data model if relevant).

You could try using TOTAL qualifier with an aggregation function. For example, if your Column 4 expression is just

=sum(Value)

and shown here grouped by Column 1 as dimension (Date),

=sum(TOTAL Value)

used in Column 5 will give you the total value in all lines.

Not applicable
Author

=sqr((SUM(DOBVALUE)/100000)  -

(sum(total DOBVALUE/100000)/(count(total DOBVALUE)/count(total BRANCHID))))

in column 4 i used this expression

swuehl
MVP
MVP

If you need the expression total, I think it could be like

=sqr((SUM(TOTAL DOBVALUE)/100000)  -

(sum(total DOBVALUE/100000)/(count(total DOBVALUE)/count(total BRANCHID))))

If you need sum of rows, it could be

=sum(TOTAL aggr(

sqr((SUM(DOBVALUE)/100000)  -

(sum(total DOBVALUE/100000)/(count(total DOBVALUE)/count(total BRANCHID))))

, YOURCHARTDIMENSION))