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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

group by?


tableA:

load

id,

sum(sales) as  sales

from products

group by id;

here 

id   sales

1     100

2     200

3     300

4     400

what it gives output?

Labels (1)
1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

Output will be same, No Change

Try with different input

id   sales

1     100

2     200

3     300

4     400

2     600

3     1000

will give you

id   sales

1     100

2     800       // 200+600

3     1300     //300+1000

4     400

View solution in original post

1 Reply
CELAMBARASAN
Partner - Champion
Partner - Champion

Output will be same, No Change

Try with different input

id   sales

1     100

2     200

3     300

4     400

2     600

3     1000

will give you

id   sales

1     100

2     800       // 200+600

3     1300     //300+1000

4     400