<?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: If Statement for Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-Statement-for-Dimension/m-p/1064723#M524569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use advanced aggregation if you want to use aggregation functions per dimension value, maybe something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr( If( Today() &amp;gt; APP_DATE and Sum(ACT_AMT) &amp;gt;0, FY_QTR), APP_DATE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if this is what you want, just to demonstrate the general approch using aggr() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2016 20:12:32 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-03-01T20:12:32Z</dc:date>
    <item>
      <title>If Statement for Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statement-for-Dimension/m-p/1064720#M524566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Right now I have a dimension like this: &lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;today&lt;/SPAN&gt;()&amp;gt;&lt;SPAN style="color: #800000;"&gt;APP_DATE&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;FY_QTR&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;but I want it to only display the FY_QTR if sum(ACT_AMT)&amp;gt;0 for the end of the quarter. Something close to this&amp;nbsp; maybe?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;APP_DATE&lt;/SPAN&gt;&amp;gt;&lt;STRONG style=": ; color: #808080;"&gt;&lt;EM&gt;$(=Max({&amp;lt;ACT_AMT={'&amp;gt;0'},FY_QTR))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 20:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statement-for-Dimension/m-p/1064720#M524566</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2016-03-01T20:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement for Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statement-for-Dimension/m-p/1064721#M524567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(APP_DATE &amp;gt; Max(TOTAL {&amp;lt;ACT_AMT = {'&amp;gt;0'}&amp;gt;} APP_DATE), FY_QTR)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 20:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statement-for-Dimension/m-p/1064721#M524567</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-01T20:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement for Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statement-for-Dimension/m-p/1064722#M524568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be nicer if you&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use only FY_QTR as dimension&lt;/LI&gt;&lt;LI&gt;Create your first expression with your logic, returning 0 or 1&lt;/LI&gt;&lt;LI&gt;Set "Dimension Limits" to narrow your records when 1st expression = 1&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 20:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statement-for-Dimension/m-p/1064722#M524568</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-03-01T20:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement for Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statement-for-Dimension/m-p/1064723#M524569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use advanced aggregation if you want to use aggregation functions per dimension value, maybe something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr( If( Today() &amp;gt; APP_DATE and Sum(ACT_AMT) &amp;gt;0, FY_QTR), APP_DATE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if this is what you want, just to demonstrate the general approch using aggr() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 20:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statement-for-Dimension/m-p/1064723#M524569</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-01T20:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement for Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statement-for-Dimension/m-p/1064724#M524570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Had some more clarification... I have a variable called vPriorQuarter = &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;QuarterEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;addmonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FCST_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),-3)), 'MM-DD-YYYY') &lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only want to show the quarter in the graph for quarters that have completed - not during the current quarter or future quarters. Right now, for example, I would only expect to see FY16 Q2 and earlier since FY16 Q3 doesn't end until 3/31/16.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;APP_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ACT_AMT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'&amp;gt;0'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;APP_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FY_QTR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt; not the right way to go?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 20:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statement-for-Dimension/m-p/1064724#M524570</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2016-03-01T20:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement for Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statement-for-Dimension/m-p/1064725#M524571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ya less then (&lt;STRONG&gt;&amp;lt;&lt;/STRONG&gt;) sign make sense, if that's what you questions is&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 20:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statement-for-Dimension/m-p/1064725#M524571</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-01T20:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement for Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statement-for-Dimension/m-p/1064726#M524572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it's hard to answer your questions for me, seems I miss context every time I try to understand what you are requesting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to limit your APP_DATE values to previous FY_QTRs, maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;APP_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt; vPriorQuarter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FY_QTR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;but here, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(FY_QTR &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt; vPriorQuarter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FY_QTR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;could work also. And maybe just a dimension FY_QTR and a set analysis filter in your expressions would be better anyway.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;And if you want to combine both filter, maybe like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;APP_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt; vPriorQuarter and &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;APP_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ACT_AMT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'&amp;gt;0'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;APP_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FY_QTR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;but again, not sure what you are trying to achieve at all.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 20:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statement-for-Dimension/m-p/1064726#M524572</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-01T20:52:22Z</dc:date>
    </item>
  </channel>
</rss>

