Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

Understanding "TAG FIELDS" statement syntax in demo app

Hello:

I am trying to understand what the following statement in the QlikView demo app is really doing as it does not seem to follow the syntax contained in the Help document:

TAG FIELDS Manager SalesRep, $Dimension;

TAG FIELDS [Sales Rep Name] SalesRep, $Dimension;

Thanks!

Tags (1)
2 Replies
mark_costa
Contributor

Re: Understanding "TAG FIELDS" statement syntax in demo app

This is just indicating that these fields are dimensions. You can alse set fields as measures:

/* To indicate to QlikView that fields are dimensions */

TAG FIELDS  field1, field2 WITH $dimension;

/* To indicate to QlikView that fields are measures */

TAG FIELDS field3, field, 4 WITH $measure;

Doing this you are helping your report users to identify visually in QlikView what is a dimension or measure when they are building charts, etc.

gandalfgray
Valued Contributor

Re: Understanding "TAG FIELDS" statement syntax in demo app

I'm also tring to get a grip of this, as it is not explained in the QV Reference manual.

As I understand from the Help you could just as well set all the tags in Document Properties->Tables also.

Can anyone explain the meaning of the custom tags "SalesRep", "Customer", "Time", "Sales" and "Product" added to some fields in the Whats New in QlikView11 app?

Do they have any practical value?

Community Browser