Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Rdouto
Contributor II
Contributor II

Create a sum according to a criteria

Hello,

Sorry, I know the title is not really clear and relevant.

I would like to make the sum of the "Spend associated" for each project (the Project Names are repeated because I used the funcion Subfield()), and for each supplier. 

My data looks like that : 

Rdouto_0-1599572080882.png

So finally I would like a table like this :

Rdouto_1-1599572179841.png

I tried to use the function Aggr but it is not the good result...

Have you got an idea ? 

Thank you

4 Replies
sunny_talwar

How are you getting 0 for ACITURRI? Can you elaborate on the logic? 

Rdouto
Contributor II
Contributor II
Author

That the thing actually, the results I show you in the second pictures are not correct. It is just to who you the way I want to obtain my results (through a table). 

Is it clear ?

sunny_talwar

what are you looking to get?

Rdouto
Contributor II
Contributor II
Author

I would like to know the "Spend associated" per project and per supplier. 

 
 

Capture.PNG

For example, I would like to obtain for WEARE: Spend Associated = 40 000