Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Last year sales by salesman

Hi,

I need to design the current year and last year comparison report by salesman.

For ex, consider the following table, the salesmans are changed for the customers over year, i want to show how the salesmans performed over the customers. that means, how much we sold to the same customers last year.

For SM1, current year(2013) sales amt is 22000(Cust C1 + C5),

for 2012 last year sales amt for SM1 should be 6000(Cust C1 + C5) based on the current year customer irrespective of the last year salesman.

similarly for SM2,

for Current year (2013), 4800 (for Cust C2+C3+C4),

for las year (2012),  5700 (for Cust C2+C3+C4)

 

SalesmanCustomerDate

Sales Amount

SM1C12012

1000

SM1C22012

200

SM1C32012

3000

SM2C420122500
SM2C520125000
SM1C1201320000
SM1C520132000
SM2C220131000
SM2C320132300
SM2C42013500

Could anyone help me to resolve this issue.

thanks in advance,

3 Replies
techvarun
Specialist II
Specialist II

Dude

    Your questing isnt clear. please provide me any excel document

Gysbert_Wassenaar

See attached qvw.


talk is cheap, supply exceeds demand
Not applicable
Author

Hi,

thanks for your reply,

your application working only i have customer data yealy,

If i have the data daily then hot change the script to make it work.

could you please help me.