Qlik Community

Ask a Question

Deployment & Management

Discussion board where members learn more about Qlik Sense Installation, Deployment and Management.

Announcements
QlikWorld May 10-12, Online and Free! REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
analienx
Contributor III
Contributor III

What are the advantages vs Disadvantages Custom properties vs Tags?

Hello,

is there a comparison between Custom properties and Tags? It seems that they can be used for similar purposes - i.e. filtering and classification. What are the benefits of using Custom properties over tags?

  • Tags cannot be used for sorting users
  • Security rules can work with one specific custom property and set privileges to that

...what else?

Thanks!

1 Solution

Accepted Solutions
Benbassou
Partner
Partner

The most important difference is that the Custom properties can be used in the securities rules and with tags you can't.

View solution in original post

2 Replies
Benbassou
Partner
Partner

The most important difference is that the Custom properties can be used in the securities rules and with tags you can't.

View solution in original post

subhash_gherade
Contributor III
Contributor III

For most cases you can tag fields as dimensions or measures. This will help the users/developers to understand the data model when they are building charts. For example: tagging field as dimension will highlight this field in the field list and put these fields at the top of the list

TAG FIELD Customer WITH $dimension; TAG FIELDS Sales, NetSales WITH $measure; TAG FIELDS CustomerNumber WITH MyTag; 

For example executing the following script:

 TAG FIELD CustomerNumber, Name, Name2 WITH $dimension; 

will produce the following result:

enter image description here

You can see how CustomerNumber, Name and Name2 fields are highlighted and put on top of the field list

If you use using custom tags executing the following script:

TAG FIELDS CustomerNumber WITH MyTag; 

Will tag the field with MyTag in the Table Viewer:

enter image description here