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

Percentage by dimension

Hi.

I have a table with the following data, year, origin and quantity.

I need to know the percentage per year, but not on the total, but show me each year.

File Attachment. Thank you.

Captura.PNG

Regards.

1 Solution

Accepted Solutions
hic
Former Employee
Former Employee

You should use

     Sum(Unidades)/Sum(total <Año> Unidades)

as formula.

Further, you need to uncheck Expressions->Relative. You should probably also format the number as "Integer" and "Show in Percent".

HIC

Total Porc.png

View solution in original post

2 Replies
hic
Former Employee
Former Employee

You should use

     Sum(Unidades)/Sum(total <Año> Unidades)

as formula.

Further, you need to uncheck Expressions->Relative. You should probably also format the number as "Integer" and "Show in Percent".

HIC

Total Porc.png

spividori
Specialist
Specialist
Author

Hi Henric.

Thank you very much, is what I needed.

Regards.