Skip to main content
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
Showing results for 
Search instead for 
Did you mean: 
Partner - Specialist II
Partner - Specialist II

Tagging fields in script... ok but why?


Stupid question maybe.

We can set tags for fields in scripting, which is probably cool. However, how can we use those tags after? Can we search a field by tag when we construct a viz? or something really intersting?
Best regards,


Bi Consultant (Dataviz & Dataprep) @ Business & Decision
Labels (1)
  • tag

3 Replies
Partner Ambassador
Partner Ambassador

You can't leverage custom field tags on the front end in any meaningful way. The only way tags could affect the application is if you hard code a field datatype tag, which can determine field formatting or if it is available to be used in a map.

These tags are more so for metadata purposes and are stored in the QVDs when exported. So the only purpose I can think of for custom tags is for data lineage or cataloging. 

Blog: WhereClause   Twitter: @treysmithdev
Partner - Specialist II
Partner - Specialist II

Thanks. Exactly what  I suspected 😞

Bi Consultant (Dataviz & Dataprep) @ Business & Decision
Contributor III
Contributor III

You can use tags to "expand" your field also.

For instance, let's say you have 10 tables that have fields of date type in your model. You need to get the month, year, and day of those fields. Instead of creating a load for each of these tables transforming and creating new fields (year, month, and day for each field for each table), you can use declare and derive using tags to automate this proccess.

Here you can understand this better:

The result of declare and derive is something like this on your visualization:



It can be used on your dashboard, but it is no visible on your data model.


Find me on linkedin: