Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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

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?

tresesco
MVP
MVP

Try like:

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

its_anandrjs

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

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