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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Using the maximum of an expression as base to calculate percentage on another expression.

Hi.

I have a chart (Straight Table) that calculates "sales" as an expression over "month" as a dimension.

I then need to add another expression within the same chart that calculates the percentage of other months against the maximum sale of the first expression ("sales").

In other words if the max month was november and sales were 562, the percentage of sales october(if products sold were 300) would be against 562 and would therefore be (300/562) * 100.

Thanking you in advance

regards

Gopolang

1 Reply
tresesco
MVP
MVP

Try something like this expression : Sale/ max( Total Sale)/ 100.... use this with Sum() function properly if needed.

Regards, tresesco