Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
gabriele_qlik
Contributor III
Contributor III

VARIABLE TEXT IN CHART EXPRESSION

Hi.

I have three fields. First is a field that contain date, second is a field that contain names of the town and third contain the sum of sales.

Now I want to create a KPI with the field of the town and I want show the town with maximum sales. The maximum sales per town changes with date then the town with maximun sales changes with the date. I want that when I change date this KPI change name of the town. Thank you

2 Replies
sunny_talwar

May be this

FirstSortedValue(Town, -Aggr(Sum(Sales), Town))

gabriele_qlik
Contributor III
Contributor III
Author

Thank you very much