<?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: Set Analysis &amp;lt;= expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-lt-expression/m-p/843291#M1010186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set analysis calculates at Table level and not row level. Use If like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;( {&amp;lt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;UNIT.STOCKSTATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={'sold'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;BUYER.B_NO&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;"*"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;} &lt;/SPAN&gt;&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;UNIT.M_MILEAGE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10.6666679382324px; font-family: inherit; color: #0000ff;"&gt;Avg. Mileage&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+15000,UNIT.TOTALSOLD)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2015 16:25:31 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2015-04-28T16:25:31Z</dc:date>
    <item>
      <title>Set Analysis &lt;= expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-lt-expression/m-p/843289#M1010184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Hi, I have what I think is a really simple question here, but just can quite get it right. I want to use a calculation as part of my set analysis (line 3 below) but know I've got the syntax wrong on line 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;UNIT.STOCKSTATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'sold'}, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BUYER.B_NO&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"*"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;UNIT.M_MILEAGE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;SPAN style="color: #0000ff;"&gt;Avg. Mileage&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+15000&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; UNIT.TOTALSOLD) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;I'd be really grateful if anyone could point me in the right direction, thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 15:09:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-lt-expression/m-p/843289#M1010184</guid>
      <dc:creator />
      <dc:date>2015-04-28T15:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis &lt;= expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-lt-expression/m-p/843290#M1010185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whenever using &amp;lt; or &amp;gt; in your set analysis you have to use advanced search&amp;nbsp; so instead of just being &amp;lt;= you have to do&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;{"&amp;lt;=$(=([Avg. Mileage]+15000))"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this expression should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;UNIT.STOCKSTATUS={'sold'}, BUYER.B_NO={"*"},UNIT.M_MILEAGE = {"&amp;lt;=$(=([Avg. Mileage]+15000))"}&lt;/P&gt;&lt;P&gt;&amp;gt;}&lt;/P&gt;&lt;P&gt;UNIT.TOTALSOLD)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 15:57:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-lt-expression/m-p/843290#M1010185</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-28T15:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis &lt;= expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-lt-expression/m-p/843291#M1010186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set analysis calculates at Table level and not row level. Use If like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;( {&amp;lt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;UNIT.STOCKSTATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={'sold'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;BUYER.B_NO&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;"*"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;} &lt;/SPAN&gt;&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;UNIT.M_MILEAGE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10.6666679382324px; font-family: inherit; color: #0000ff;"&gt;Avg. Mileage&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+15000,UNIT.TOTALSOLD)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 16:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-lt-expression/m-p/843291#M1010186</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-04-28T16:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis &lt;= expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-lt-expression/m-p/843292#M1010187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi, thanks for the suggestions&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;[Avg. Mileage]&lt;/SPAN&gt; is the name of an expression in the same table which is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;avg&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;UNIT.STOCKSTATUS&lt;/SPAN&gt;={'sold'}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;UNIT.M_MILEAGE&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If I replace &lt;SPAN style="color: #0000ff;"&gt;[Avg. Mileage]&lt;/SPAN&gt; with a number I can get this to work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;count({&amp;lt;UNIT.STOCKSTATUS={'sold'}, BUYER.B_NO={"*"},UNIT.M_MILEAGE ={"&amp;lt;=$((&lt;SPAN style="color: #0000ff;"&gt;[Avg. Mileage]&lt;/SPAN&gt; +15000))"}&amp;gt;} UNIT.TOTALSOLD)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but when I use&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;[Avg. Mileage]&lt;/SPAN&gt; or if I do this it doesn't work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;UNIT.STOCKSTATUS&lt;/SPAN&gt;={'sold'}, &lt;SPAN style="color: #800000;"&gt;BUYER.B_NO&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"*"&lt;/SPAN&gt;},&lt;SPAN style="color: #800000;"&gt;UNIT.M_MILEAGE&lt;/SPAN&gt; = {&lt;SPAN style="color: #800000;"&gt;"&amp;lt;=$(=(&lt;BR /&gt; avg({&amp;lt;UNIT.STOCKSTATUS={'sold'}&amp;gt;} UNIT.M_MILEAGE)&lt;BR /&gt; +15000))"&lt;/SPAN&gt;} &amp;gt;} &lt;SPAN style="color: #800000;"&gt;UNIT.TOTALSOLD&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 08:26:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-lt-expression/m-p/843292#M1010187</guid>
      <dc:creator />
      <dc:date>2015-04-29T08:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis &lt;= expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-lt-expression/m-p/843293#M1010188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't do row level calculations or use name of another expr inside set analysis. You can try using If statement as in my above post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 08:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-lt-expression/m-p/843293#M1010188</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-04-29T08:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis &lt;= expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-lt-expression/m-p/843294#M1010189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks, unfortunately when I use the expression above I just get 0's&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 09:33:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-lt-expression/m-p/843294#M1010189</guid>
      <dc:creator />
      <dc:date>2015-04-29T09:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis &lt;= expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-lt-expression/m-p/843295#M1010190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Try calculating ={"&amp;lt;=$((&lt;SPAN style="color: #0000ff;"&gt;[Avg. Mileage]&lt;/SPAN&gt; +15000))"}&amp;gt;} as a "variable" and then introducing that into the set analysis?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 09:49:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-lt-expression/m-p/843295#M1010190</guid>
      <dc:creator>timsaddler</dc:creator>
      <dc:date>2015-04-29T09:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis &lt;= expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-lt-expression/m-p/843296#M1010191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post sample app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 09:52:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-lt-expression/m-p/843296#M1010191</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-04-29T09:52:38Z</dc:date>
    </item>
  </channel>
</rss>

