Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
doespirito
Creator
Creator

straight table : total of expression doesn't work

hi every body,

I can't understand why total of expression doesn't work in this straight table :

Capture.PNG

i should have 28,22 % witch is : 2721107 / 9640719 .

see attached file,

thank you very much for your help

Arnault

14 Replies
prma7799
Master III
Master III

PFA...

I think because of that pointer values the rest of total is showing  28.145654092904%.



Please check highlighted values in excel.

doespirito
Creator
Creator
Author

highlighted values are correct in excel and final total must be 28,22%

doespirito
Creator
Creator
Author

you are right, i had a mistake, the rigt formula is

(sum(surface)*sum(tirage2))/(sum(pag2)*sum(tirage2))

but

result is still wrong :

Capture4.PNG

i want 28,22 %

in excel :

Capture5.PNG

Kushal_Chawda

try this expression, you will get it what you want

sum(aggr((sum(surface)*sum(tirage2)),editionsec))/sum(aggr((sum(pag2)*sum(tirage2)),editionsec))


Capture.JPG

doespirito
Creator
Creator
Author

thank you it is perfect !

Arnault