Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Granz03
Contributor
Contributor

Create dynamic label

Use a dynamic label (YoY Sales <current year> vs. <prior year>) and display it in a KPI.

Labels (3)
4 Replies
anat
Master
Master

='YoY sales'&max(year) &'.vs'&max(year) -1

Granz03
Contributor
Contributor
Author

Hey thanks for you help still getting an error showing up 

Granz03_0-1705912826114.png

 

Rohan
Partner - Specialist
Partner - Specialist

Hi @Granz03 ,

By "year", @anat  meant to use the field in your data model which denotes Year. If no such column is present then use :

year(max(Date_Field))

 

Regards,

Rohan.

anat
Master
Master

as suggested by @Rohan ,use your field names in the above expression