2 Replies Latest reply: Oct 5, 2012 10:41 AM by Goran Korsgren RSS

    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!

        • Re: Understanding "TAG FIELDS" statement syntax in demo app
          Mark Costa

          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.

          • Re: Understanding "TAG FIELDS" statement syntax in demo app
            Goran Korsgren

            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?