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

I have 1 lakh of records and i need a top 5 years of dats in bar chart dynamically with out using dimension limits. Only first record contains total no of records in top of bar

Hi can any one give me the solution for this.....

3 Replies
MK_QSL
MVP
MVP

Considering you have a date field....

Create below addition field in your script..

Year(Date) as Year

Now create a bar chart

Dimension

Calculated Dimension

IF(Aggr(Rank(SUM(Sales),4),Year)<=5, Year)

Tick Suppress When Value is Null

Expression

SUM(Sales)

Not applicable
Author

Thank u manish

MK_QSL
MVP
MVP

If you think this is what you was looking for, close the thread by selecting appropriate answer otherwise let me know, I can help further...

Thanks