<?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 Re: Use an expression result within another expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435319#M489740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have taken a screen shot can you advise where I am going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instaed of a - the two columns should be displaying the same information. once I get the first column to deiplay the correct informtion I can then start to build the if statement to calculate the number greater than -15&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="25129" class="jive-image-thumbnail jive-image" onclick="" alt="DELAYMIN.png" src="https://community.qlik.com/legacyfs/online/25129_DELAYMIN.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Nov 2012 10:07:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-15T10:07:29Z</dc:date>
    <item>
      <title>Use an expression result within another expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435314#M489735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to create a new expression to calculate the amount of instances whereby a number is greater than a predefined number, and then use the results of that expression within another expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 08:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435314#M489735</guid>
      <dc:creator />
      <dc:date>2012-11-15T08:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Use an expression result within another expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435315#M489736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's possible. To make reuse easier and improve readability you can put the first expression in a variable and use the variable in the second expression. &lt;/P&gt;&lt;P&gt;vSumSales: sum(Sales)&lt;/P&gt;&lt;P&gt;Expression2: aggr($(vSumSales),Month)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 09:09:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435315#M489736</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-11-15T09:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Use an expression result within another expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435316#M489737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have tried to put my first expression in a variable as you have stated but the data just disappears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my expression reads:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vDelayMins: Sum(SCH)-Sum(CHKS)&lt;/P&gt;&lt;P&gt;then I was going to load DelayMins to calculate the amount of data that has a value of -15 or more&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 09:19:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435316#M489737</guid>
      <dc:creator />
      <dc:date>2012-11-15T09:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Use an expression result within another expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435317#M489738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example. It has a variable vYearDiff that calculates the sales difference between two years. This variable is then used in the expression Diff 2008 - 2009 in the straight table: if($(vYearDiff)&amp;gt;0,'Up','Down'). If the result of vYearDiff &amp;gt; 0 then sales increased, otherwise the declined.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 09:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435317#M489738</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-11-15T09:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Use an expression result within another expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435318#M489739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im not able to load the file as I did not create it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 09:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435318#M489739</guid>
      <dc:creator />
      <dc:date>2012-11-15T09:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Use an expression result within another expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435319#M489740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have taken a screen shot can you advise where I am going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instaed of a - the two columns should be displaying the same information. once I get the first column to deiplay the correct informtion I can then start to build the if statement to calculate the number greater than -15&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="25129" class="jive-image-thumbnail jive-image" onclick="" alt="DELAYMIN.png" src="https://community.qlik.com/legacyfs/online/25129_DELAYMIN.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 10:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435319#M489740</guid>
      <dc:creator />
      <dc:date>2012-11-15T10:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Use an expression result within another expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435320#M489741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, to begin with get rid of the &lt;EM&gt;vDelayMins: &lt;/EM&gt;in the expression. Then it looks the same as your second expression. It will work, but that's probably not what you want. If you press CTRL+V the variables screen opens. If you click on Add you can add a variable you can name vDelayMins. Once you've added it you can click on it and give it as value &lt;EM&gt;Sum(SCH)-Sum(CHKS). &lt;/EM&gt;You can then create an expression in your chart with for example as definition &lt;EM&gt;if($(vDelayMins)&amp;lt;-15,'Delayed','Not Delayed')&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 10:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435320#M489741</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-11-15T10:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Use an expression result within another expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435321#M489742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi firstly as I havent stated yet thank you so much for trying to help me resolve this issue with such prompt responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have took two more screenshots as I had initially done as you said but the information still showed a -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="25130" class="jive-image-thumbnail jive-image" onclick="" alt="pic1.png" src="https://community.qlik.com/legacyfs/online/25130_pic1.png" width="450" /&gt;&lt;IMG __jive_id="25131" class="jive-image-thumbnail jive-image" onclick="" alt="pic2.png" src="https://community.qlik.com/legacyfs/online/25131_pic2.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 11:18:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435321#M489742</guid>
      <dc:creator />
      <dc:date>2012-11-15T11:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Use an expression result within another expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435322#M489743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You didn't do the dollar expansion yet. Change the definition of the expression to &lt;EM&gt;$(DELAYMIN)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 11:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435322#M489743</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-11-15T11:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Use an expression result within another expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435323#M489744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi that worked a treat figures populated thanks so much, my second part I had hoped would have been resolved by the if statement you created it shows all as not delayed if if the value is less than -15 ie say -3 still showing not delayed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 11:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-expression-result-within-another-expression/m-p/435323#M489744</guid>
      <dc:creator />
      <dc:date>2012-11-15T11:26:37Z</dc:date>
    </item>
  </channel>
</rss>

