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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
alexpanjhc
Specialist
Specialist

need help in the charts


Hi

I have a table that has all the historical data,

customer_no,period,balance($)

1,Jan,100,

1,Feb,201,

1 ,Mar,224,

1,Apr,500,

2,Jan,50,

2,Feb,110,

2 ,Mar,330,

2,Apr,500,

3,Jan,60,

3,Feb,100,

3,Mar,70,

3,Apr,80,

so i created a pivot table based on the histrical data.

                           

customer_no/PeriodJanFebMarApr
1100201224500
250110330220
3601007080

Now, I want to know that if a customer had a jum of $100 from say Feb and Apr, and I want to know that customer number.

How do I create a table?

notice that I can't create a field in the load for the difference because we could be asking any 2 months that we have a jump of $100.

the result should look something like that.

customer/periodFebApr
1201500
2110500

How do I achive that?

4 Replies
maxgro
MVP
MVP

1.png

nagaiank
Specialist III
Specialist III

A sample implementation for the data provided by you is attached. You may devise a solution like this for your actual application.

alexpanjhc
Specialist
Specialist
Author

Hi NagaianK

Thanks for the reply, but I do not think I understand your solution.

Were you marking all the values greater than 100?

If I look at Feb and Mar, customer 1 should not show in the list.

i do not think thats what I wanted.

Thanks!

alexpanjhc
Specialist
Specialist
Author

Massimo

Thanks, this is very helpful.
However, the dataset is huge(4gig) for the table and then to create another one to join maybe very costly. I am not sure how to get that part done.

Thank you!