This content has been marked as final.
Show 2 replies
-
Re: What are the advantages vs Disadvantages Custom properties vs Tags?
idriss BENBASSOU Sep 20, 2017 12:15 PM (in response to Jakub Holasek)The most important difference is that the Custom properties can be used in the securities rules and with tags you can't.
-
Re: What are the advantages vs Disadvantages Custom properties vs Tags?
Subhash Gherade Dec 30, 2017 2:18 PM (in response to Jakub Holasek)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 listIf you use using custom tags executing the following script:
TAG FIELDS CustomerNumber WITH MyTag;
Will tag the field with
MyTag
in the Table Viewer: