Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
vikasmahajan

How to create following view for purchase price comparision

Dear all,

Rate analysis for 5-6 years and how is vendor providing low/high  purchase rates

Material NameRate 2011Rate 2012Rate 2013
PARACETAMOL   (GAL) ANQUILUAN  B.P.45.5858.4568.50

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Yes why not.

     You can use something like this.

          Max({<Year = {"$(=year(today())) "}>}Rate)

          Max({<Year = {"$(=year(today()))-1 "}>}Rate)

          Max({<Year = {"$(=year(today()))-2 "}>}Rate)

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

5 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Create a chart with dimension as Material_Name

     and 3 expression one for each yr.

     Max({<Year = {"2011"}>}Rate)

     Max({<Year = {"2012"}>}Rate)

     Max({<Year = {"2013"}>}Rate)

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
vikasmahajan
Author

Thanks ,

Kaushik sir

Is there possibility to have dynamic years in expression instead of hard coding it .

Bye

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Yes why not.

     You can use something like this.

          Max({<Year = {"$(=year(today())) "}>}Rate)

          Max({<Year = {"$(=year(today()))-1 "}>}Rate)

          Max({<Year = {"$(=year(today()))-2 "}>}Rate)

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
vikasmahajan
Author

Thanks Sir,

Also I require Comprehensive Analysis study materials , Please share if you have it.

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Vikas,

As of now I dont have but sure if i get any, i will sure share with you.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!