Qlik Community

Ask a Question

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Talk to Experts Tuesday, January 26th at 10AM EST: Qlik Sense. REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Partner
Partner

row total between total of the column

Hello All,
Im trying to set a new column into a table chart, where the participation fee has beem displayed, for this im tryng the next function based on my fuction to calculate the total of money earned per customer.

=Sum([CANTIDAD])/Sum(Total(CANTIDAD))

 

So i want to divide each row of the "Volumen EneroDiciembre" column between the total of this" $303,454,710.30".
For example:  $34,732,771.76/$303,454,710.3

 

Example.png

And this for every row of this column. Someone already did something like this?

Hope someone could help me.

1 Reply
MVP & Luminary
MVP & Luminary

You are on the right track whereby total isn't a function else an extra for a function. Therefore try it in this way:

Sum([CANTIDAD]) / Sum(Total CANTIDAD)

or if there are further dimensions which needs to be considered:

Sum([CANTIDAD]) / Sum(Total <Dim1, Dim2> CANTIDAD)

- Marcus