<?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 Calculate an expression based on a text within Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-an-expression-based-on-a-text-within-Pivot-Table/m-p/491839#M183838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know if the following is possible and if not, why &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table with the following dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Calendar Year&lt;/P&gt;&lt;P&gt;2) ExpressionOverview.MeasureNumber // A list of 42 numbers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Only(ExpressionOverview.Expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives me back the calculation used to populate that measure. If I take the above expression and do the following in a text object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(=Only(ExpressionOverview.Expression)) it calculates the value correctly. However, if I use the same expression in the expression tab in a pivot table it returns null for all my expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is it not calculating? Is it possible to force this calculation with the above method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your assistance in this regard is greatly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jun 2013 13:07:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-20T13:07:01Z</dc:date>
    <item>
      <title>Calculate an expression based on a text within Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-an-expression-based-on-a-text-within-Pivot-Table/m-p/491839#M183838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know if the following is possible and if not, why &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table with the following dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Calendar Year&lt;/P&gt;&lt;P&gt;2) ExpressionOverview.MeasureNumber // A list of 42 numbers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Only(ExpressionOverview.Expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives me back the calculation used to populate that measure. If I take the above expression and do the following in a text object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(=Only(ExpressionOverview.Expression)) it calculates the value correctly. However, if I use the same expression in the expression tab in a pivot table it returns null for all my expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is it not calculating? Is it possible to force this calculation with the above method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your assistance in this regard is greatly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 13:07:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-an-expression-based-on-a-text-within-Pivot-Table/m-p/491839#M183838</guid>
      <dc:creator />
      <dc:date>2013-06-20T13:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate an expression based on a text within Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-an-expression-based-on-a-text-within-Pivot-Table/m-p/491840#M183839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh an important note, I know that the dimension measure number needs to be ignored when calculating. So for the actual expression I included a total qualifier. See below for example of before and after&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before - Count(DISTINCT {&amp;lt;Measure4IndicatorExit={'1'}&amp;gt;}DRNum)....&lt;/P&gt;&lt;P&gt;After - Count(TOTAL &amp;lt;CalendarYear&amp;gt; DISTINCT {&amp;lt;Measure4IndicatorExit={'1'}&amp;gt;}DRNum)....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am probably doing this all wrong, but thats where you smart folks come in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 13:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-an-expression-based-on-a-text-within-Pivot-Table/m-p/491840#M183839</guid>
      <dc:creator />
      <dc:date>2013-06-20T13:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate an expression based on a text within Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-an-expression-based-on-a-text-within-Pivot-Table/m-p/491841#M183840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bump &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 13:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-an-expression-based-on-a-text-within-Pivot-Table/m-p/491841#M183840</guid>
      <dc:creator />
      <dc:date>2013-06-24T13:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate an expression based on a text within Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-an-expression-based-on-a-text-within-Pivot-Table/m-p/491842#M183841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Absolutely last bump promise &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 14:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-an-expression-based-on-a-text-within-Pivot-Table/m-p/491842#M183841</guid>
      <dc:creator />
      <dc:date>2013-06-27T14:29:01Z</dc:date>
    </item>
  </channel>
</rss>

