What are the advantages vs Disadvantages Custom properties vs Tags?
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
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:
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: