Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
saumyashah90
Specialist
Specialist

sum of %

Header 1Header 2Header 3Header 4Header 5
146125%
2-7--
--8--
-59480%
0000-
39305-

Here Row in brown is total(Sum of rows) but header 5 is percentage which is (header2/Header4)*100... it should actually show 55%

When i do Toal from expression it shows null for all.

help?

6 Replies
swuehl
MVP
MVP

Could you please describe a bit more detailed which dimensions / expressions you have used?

If possible, upload a small sample QVW that also shows how your data model looks like.

Gysbert_Wassenaar

Try sum(header2)/sum(Header4)*100.


talk is cheap, supply exceeds demand
saumyashah90
Specialist
Specialist
Author

Hi gysbert,

The total is qlikview default total in Expression Tabs.

And also the headers used is dynamic and not static

like  ='ABC '&chr(13)&'('&chr(39)&'m)'

saumyashah90
Specialist
Specialist
Author

based on certain dimension say

ID

->there are some Id who have transaction and some who doesnt have, we need to show all Id's.

-> Sum of values are all the headers 1,2,3,4

saumyashah90
Specialist
Specialist
Author

Also 0/0 will give you null

sunny_talwar

Can you share a sample qvw of what you have?