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: 
linoyel
Specialist
Specialist

Table expression using Set Analysis

Hey all,

I need help in writing the table expression.

Lets say, I have different products and my first expression is sum(sales).

I need second expression that will calculate sum(sales) out of TOTAL sum(sales) and show the result in percents...

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try like:

=Sum(Sales)/Sum(TOTAL Sales)

And check/tick 'Show in percent (%)' in the number tab.

View solution in original post

4 Replies
tresesco
MVP
MVP

Try like:

=Sum(Sales)/Sum(TOTAL Sales)

And check/tick 'Show in percent (%)' in the number tab.

senpradip007
Specialist III
Specialist III

As per my understanding you are calculating proportion.

try with: Sum(Sales) / Sum(TOTAL Sales).

linoyel
Specialist
Specialist
Author

Than't right!!!

Thank you so much

Not applicable

Thank You for you help..