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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
marcomartinetti
Contributor II
Contributor II

sum fuction

Hi all,

i would like to create a formula for divide the total of a brand with the total of every brand.

there is a formula to solve my problem?

help me!

Marco

3 Replies
JordyWegman
Partner - Master
Partner - Master

Hi Marco,

Use this:

Sum([YourField]) / Sum(Total [YourField])

Jordy

Climber 

Work smarter, not harder
marcomartinetti
Contributor II
Contributor II
Author

hi Jordy,

Thank you for your answer,

but where do i put the function 'total' with function with set analysis?

Marco

JordyWegman
Partner - Master
Partner - Master

Hi Marco,

You do this in front of the set analysis:

Sum({$< Field = {1} >}[YourField]) / Sum(Total {$< Field = {1} >} [YourField])

Jordy

Climber 

Work smarter, not harder