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: 
vidyasagar159
Creator II
Creator II

Max month sales of each Year?

Hi,

I am a simple requirement. I want to show the max month sales of each year of my products. Unfortunately, I am not able to find the logic. Please find some sample data below. I am doing this in Qlik Sense. Thanks in advance.

ProductSalesDateSalesAmount
AppleJan-30-2017$100
AppleFeb-28-2017$50
AppleMarch-30-2017$200
AppleJan-30-2018$200
AppleFeb-28-2018$100
AppleMarch-30-2018$300
AppleApril-30-2018$400

Now what I want to show is MAX month of every year in my Table or in my Barchart is.

ProductSalesDateSalesAmount
AppleMarch-30-2017$200
AppleApril-30-2018$400

Thanks,

-Vidya

10 Replies
vidyasagar159
Creator II
Creator II
Author

Thanks for your help. I never thought that this can be done by using Rank function. I really appreciate your help.