<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to give a name for expression in PivotTable? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-give-a-name-for-expression-in-PivotTable/m-p/280560#M1202916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats OK with this code - I forget to post ; after set statement, so expression becomes wrong&lt;/P&gt;&lt;P&gt;Thanks Tim!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Oct 2010 07:50:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-05T07:50:11Z</dc:date>
    <item>
      <title>How to give a name for expression in PivotTable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-give-a-name-for-expression-in-PivotTable/m-p/280554#M1202910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Label for expression is like&lt;/P&gt;&lt;P&gt;='Current period'&amp;amp;Month&lt;/P&gt;&lt;P&gt;I want to use this expression for calculation later&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 13:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-give-a-name-for-expression-in-PivotTable/m-p/280554#M1202910</guid>
      <dc:creator />
      <dc:date>2010-10-04T13:55:02Z</dc:date>
    </item>
    <item>
      <title>How to give a name for expression in PivotTable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-give-a-name-for-expression-in-PivotTable/m-p/280555#M1202911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your expression is correct. But If there are more than one values for the Month it will display blank.&lt;/P&gt;&lt;P&gt;To test this make a Listbox for the field Month then select one month; that will be the time that the month will be displayed in label.&lt;/P&gt;&lt;P&gt;You can use this code instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;='Current Period ' &amp;amp; GetFieldSelections(Month)&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nadsky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 14:09:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-give-a-name-for-expression-in-PivotTable/m-p/280555#M1202911</guid>
      <dc:creator />
      <dc:date>2010-10-04T14:09:40Z</dc:date>
    </item>
    <item>
      <title>How to give a name for expression in PivotTable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-give-a-name-for-expression-in-PivotTable/m-p/280556#M1202912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Better use Column(Column Number of the Label) function wherever you want to use the label in another expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Syed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 14:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-give-a-name-for-expression-in-PivotTable/m-p/280556#M1202912</guid>
      <dc:creator>syed_muzammil</dc:creator>
      <dc:date>2010-10-04T14:13:32Z</dc:date>
    </item>
    <item>
      <title>How to give a name for expression in PivotTable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-give-a-name-for-expression-in-PivotTable/m-p/280557#M1202913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are going to use the same expression in more than one place, and especially if it is a complex expression, then it is a good idea to put the expression text into a document variable. The use the variable name whereever you would use the expression. This not only guarantees that the expression coding is the same in multiple places it also gives you a method for changing the expression in all of those places at once when you change the text in the variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 16:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-give-a-name-for-expression-in-PivotTable/m-p/280557#M1202913</guid>
      <dc:creator />
      <dc:date>2010-10-04T16:41:40Z</dc:date>
    </item>
    <item>
      <title>How to give a name for expression in PivotTable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-give-a-name-for-expression-in-PivotTable/m-p/280558#M1202914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eureka. Thanks you Tim.&lt;/P&gt;&lt;P&gt;At last you've answered a collaboration problem that has been rolling around in my head for some time. How to offer users powerful calculation self-sufficiency without extensive epression training? Most can understand + - / * .&lt;/P&gt;&lt;P&gt;So this sum({$&amp;lt;Year = {$(=max(Year))}, Period = {"&amp;lt;=$(=max({&amp;lt;Year={$(=max(Year))}&amp;gt;} Period))&amp;gt;$(=max({&amp;lt;Year={$(=max(Year))}&amp;gt;} Period)-1)"}&amp;gt;} [Sales Amount])&lt;/P&gt;&lt;P&gt;Become this =CurrentMonthSalesThisYear&lt;/P&gt;&lt;P&gt;And this sum({$&amp;lt;Year = {$(=max(Year))}, Period = {"&amp;lt;=$(=max({&amp;lt;Year={$(=max(Year))}&amp;gt;} Period))"}&amp;gt;} [Sales Amount])&lt;/P&gt;&lt;P&gt;Become this =YTDSalesThisYear&lt;/P&gt;&lt;P&gt;Thanks Again&lt;/P&gt;&lt;P&gt;Rich De Rocco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 22:19:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-give-a-name-for-expression-in-PivotTable/m-p/280558#M1202914</guid>
      <dc:creator />
      <dc:date>2010-10-04T22:19:33Z</dc:date>
    </item>
    <item>
      <title>How to give a name for expression in PivotTable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-give-a-name-for-expression-in-PivotTable/m-p/280559#M1202915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim! I'm a novice in QlikView. I try to make a variable in script like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set obor=sum(Outcome)/(sum(Salary)/count(DDay))&lt;/P&gt;&lt;P&gt;where Outcome,Salary and DDay are fields.&lt;/P&gt;&lt;P&gt;so, I have PivotTable with expression sum(Outcome)/(sum(Salary)/count(DDay)) (this works) and&lt;/P&gt;&lt;P&gt;expression like =obor - that dont. I try also $(obor) and simply obor - anything works. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can You help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 07:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-give-a-name-for-expression-in-PivotTable/m-p/280559#M1202915</guid>
      <dc:creator />
      <dc:date>2010-10-05T07:12:14Z</dc:date>
    </item>
    <item>
      <title>How to give a name for expression in PivotTable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-give-a-name-for-expression-in-PivotTable/m-p/280560#M1202916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats OK with this code - I forget to post ; after set statement, so expression becomes wrong&lt;/P&gt;&lt;P&gt;Thanks Tim!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 07:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-give-a-name-for-expression-in-PivotTable/m-p/280560#M1202916</guid>
      <dc:creator />
      <dc:date>2010-10-05T07:50:11Z</dc:date>
    </item>
  </channel>
</rss>

