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: 
Not applicable

How make this sum

Hello.

Can i have help please.

I want to make the sum of NBTEU for each REFCONT.

The sum must be 2 because i have two different  REFCONT.

How can i do it.

Best's regads

Labels (1)
1 Solution

Accepted Solutions
anbu1984
Master III
Master III

Add REFCONT as dimension

View solution in original post

6 Replies
anbu1984
Master III
Master III

Add REFCONT as dimension

Not applicable
Author

How can i do it, please?

tresB
Champion III
Champion III

Try like:

=Sum( Aggr( sum( DISTINCT NBTEU),REFCONT))

its_anandrjs
Champion III
Champion III

Hi,

Try with this

=Sum( Aggr( Sum(DISTINCT  NBTEU ), REFCONT ) )

And aggregate the rows in the expression no need to add the dimension.

Anand

anbu1984
Master III
Master III

You don't need to add dimension. Use Tresesco's suggestion below

its_anandrjs
Champion III
Champion III

Hi Destin,

I think your requirement is without the dimension then try to write like

=Sum( Aggr( Sum(DISTINCT  NBTEU ), REFCONT ) )


Tresesco and i suggest other wise add the dimension in the chart, also try do not use dimension in the gauge chart.


Regards

Anand