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

Need Help of Qlikview

Hello -  I am new to qlikview and trying out to do YTD, PYTD Calculation and running into Issues and would need help.

Assuming my data set is as below -

Order DateCustomerAmount
1/2/2007John100
1/3/2007Miller200
1/4/2007Scott300
1/5/2007Peter400
1/2/2008John100
1/3/2008Miller200
1/4/2008Jack500
1/4/2008Jerry600
1/4/2008Mike700

I want to Pass 1/4/2007 as the Input Value and would like to calculate YTD and PYTD Values and the result output as below -

Customer20082007
John150100
Miller200200
Scott0300
Jack5000
Jerry6000
Mike7000

Ideally I would like to have the Calendar as Prompt from which I should be able to pick a date and display the calculation as above. I have tried using Multibox for the user to pick Date,Month, Year and use Yearstart as "YearStart(Max(DateNum)"  and (=Max(DateNum)) but running into challenges can some one help me out on this.

I would like to have the Multi Box'es for Year, Month, Date for users to choose.

would greatly appreciate any help.

Thanks

Rahul K

Thanks

Rahul K

3 Replies
aveeeeeee7en
Specialist III
Specialist III

Hi

See the Attachment.

Regards

Aviral Nag

Not applicable
Author

Thanks Nag for the reply.

I am not looking for just a Year, but user should be able to choose a particular date of the Year and calculation should work. I am new to Qlikview so I have only Personal Edition so would not be able to opel QVW's more than 4 times if you can send me the snippets of the code that would be very helpfull.

Thanks

rahul K

aveeeeeee7en
Specialist III
Specialist III