Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
PepeMontes
Partner - Contributor III
Partner - Contributor III

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
marcus_sommer

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