<?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 QlikView - Reusing Expression with Variable as a Variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-Reusing-Expression-with-Variable-as-a-Variable/m-p/1293731#M404132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I am trying to convert the following expression in a variable (I have referenced the steps shown in: &lt;A href="https://community.qlik.com/thread/51819"&gt;Reusing Expressions&lt;/A&gt;), but the chart is not calculating. I have used $-sign expansion as instructed, but no success. Could this be due to the 'vInitial' variable I have within the expression, or the hidden dates? &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;If(&lt;STRONG&gt;vInitial&lt;/STRONG&gt; = 1, (Num(Count(Distinct If(([Initial Receipt Date] &amp;gt;= %CPStartDate AND [Initial Receipt Date] &amp;lt;= %CPEndDate ) &lt;/SPAN&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; OR ([Follow-Up Date]&amp;gt;= %CPStartDate AND [Follow-Up Date] &amp;lt;= %CPEndDate&amp;nbsp; AND Significant = 'Yes')&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;, RecordID))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;Sokol&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 May 2017 12:03:54 GMT</pubDate>
    <dc:creator>spetushi</dc:creator>
    <dc:date>2017-05-18T12:03:54Z</dc:date>
    <item>
      <title>QlikView - Reusing Expression with Variable as a Variable</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Reusing-Expression-with-Variable-as-a-Variable/m-p/1293731#M404132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I am trying to convert the following expression in a variable (I have referenced the steps shown in: &lt;A href="https://community.qlik.com/thread/51819"&gt;Reusing Expressions&lt;/A&gt;), but the chart is not calculating. I have used $-sign expansion as instructed, but no success. Could this be due to the 'vInitial' variable I have within the expression, or the hidden dates? &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;If(&lt;STRONG&gt;vInitial&lt;/STRONG&gt; = 1, (Num(Count(Distinct If(([Initial Receipt Date] &amp;gt;= %CPStartDate AND [Initial Receipt Date] &amp;lt;= %CPEndDate ) &lt;/SPAN&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; OR ([Follow-Up Date]&amp;gt;= %CPStartDate AND [Follow-Up Date] &amp;lt;= %CPEndDate&amp;nbsp; AND Significant = 'Yes')&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;, RecordID))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;Sokol&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 12:03:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Reusing-Expression-with-Variable-as-a-Variable/m-p/1293731#M404132</guid>
      <dc:creator>spetushi</dc:creator>
      <dc:date>2017-05-18T12:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView - Reusing Expression with Variable as a Variable</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Reusing-Expression-with-Variable-as-a-Variable/m-p/1293732#M404133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the date formats of your ReceiptDates/FollowupDate and your %CPDates? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 12:09:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Reusing-Expression-with-Variable-as-a-Variable/m-p/1293732#M404133</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-05-18T12:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView - Reusing Expression with Variable as a Variable</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Reusing-Expression-with-Variable-as-a-Variable/m-p/1293733#M404134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post your expression along with the sample application &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 12:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Reusing-Expression-with-Variable-as-a-Variable/m-p/1293733#M404134</guid>
      <dc:creator>fashid</dc:creator>
      <dc:date>2017-05-18T12:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView - Reusing Expression with Variable as a Variable</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Reusing-Expression-with-Variable-as-a-Variable/m-p/1293734#M404135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please ignore. I was referencing incorrect variable name.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Sokol&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 19:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Reusing-Expression-with-Variable-as-a-Variable/m-p/1293734#M404135</guid>
      <dc:creator>spetushi</dc:creator>
      <dc:date>2017-05-18T19:36:02Z</dc:date>
    </item>
  </channel>
</rss>

