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: 
qlikviewaf
Creator
Creator

% of Total

Hi guys,

i have this table below - really simple.

I would like to add a column in order to have a % that is basically (Product Line Sales / TOTAL sales (HIPS+KNEE)

Which is the best syntax to do this?

Thanks!

tabel data.PNG

1 Reply
pedrobergo
Employee
Employee

Hi Antonio,

Just add the TOTAL inside the SUM. So, it will be like this:


sum(Product Line Sales) / SUM(TOTAL Product Line Sales)

Pedro