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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
marakud971
Contributor III
Contributor III

How to calculate total amout of sales in a textbox ?

Hi all !

I hope you are well.

I want to display the amount of my sales in a textbox object.

Please look at the picutre in attachment.

I would like  to calculate for each ID : col nb *  col €
and obtain the sum of these calculations in a textbox

Thanks !

1 Solution

Accepted Solutions
rubenmarin1

Hi, one option is having a field in script that multiplies both fields when loading so you only need a sum of this new field.

 

Other option without script modification:

sum(aggr(nb_expression*€_expression), ID)

View solution in original post

1 Reply
rubenmarin1

Hi, one option is having a field in script that multiplies both fields when loading so you only need a sum of this new field.

 

Other option without script modification:

sum(aggr(nb_expression*€_expression), ID)