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: 
Bobi
Partner - Contributor II
Partner - Contributor II

Sum with aggr?

Hi. I try to get the right sum when aggregating the department name from table A with sales from table C.

 

The date column and the revenue are in table C. But table B is connected to table C through company name and not department name. Same departmentname might exits in several company names, so probably some kind of distinct needed.

Tables are connected like this: Table A to B through departmentname. Table B to C through company-name. 

 

How do I do to correctly aggegate the revenue per each department? I have tried with different aggr expressions without succeding.

Labels (1)
1 Reply
y_grynechko
Creator III
Creator III

Can you share the screen of the tables?

Is there anything in the table C that states which revenue is under given department? 

If the data is just connected the way you explained you can aggregate revenue only by the Company Name and Date Fields.