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

issue regarding scenario

if i have a tables like below

cid     amount          cid     amount            

101     50                 102    200

102     100                103    100

103     400               104     300

104     300               105     200

105     500

now chart has to show the total sales i.e. for 102 cid total sales is 100+200= 300 

like below

cid     amount

101    50

102    300

103    500

104    600

105    700

please help me

thanks in advance

2 Replies
Anil_Babu_Samineni

Take Straight table and use

Dimension - cid

Expression - Sum(amount)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Siva_Sankar
Master II
Master II

Hi Kenchala,

You must be missing the same column name , it is amount instead of amound

See code below:

T1:

Load * inline

[

cid,    amount              

101  ,  50              

102 ,    100              

103  ,  400          

104  ,  300              

105  ,  500

];

t2:

Load * Inline

[

cid, amount

102,200

103,100

104,300

105,200

];

find the attached example