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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression Query

hi all,

i have a straight table output:

region          VALUE          % Region

AMER               10               =10/80 ie 13%

ASIA                   20              =20/80 ie 25%

EMEA               50               =50/80 ie 63%

Total               80                    100%

% Region is desired column results i want but when use Sum formula in expression it takes values as below:

=10/10

=20/20

=50/50

please advise how to use sum function or aggregation function and what is the syntax

thanks

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Use this expression: sum(VALUE)/sum(total VALUE)


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Use this expression: sum(VALUE)/sum(total VALUE)


talk is cheap, supply exceeds demand