<?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 Set analysis using logical dimension? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-using-logical-dimension/m-p/1239135#M862334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,@&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the attached app, how to use below logical dimension expression(item 1)&amp;nbsp; in my set analysis expression ( item 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;item1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Logical Dimension as below "Repeat"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=aggr(if((Count({&amp;lt;Year={'*'},Week={'*'},Type_ID={'RO'}&amp;gt;} distinct OrderQty))&amp;gt;0, 'Repeat', '0'),ArticleNo) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;item2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;in Expression &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(count({&amp;lt;soh={"&amp;gt;1"},vRepeat={"Repeat"}&amp;gt;} distinct Batch),MaterialHuddleGrpDesc,ShopNo)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tried below way and not giving correct results. tks&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Created Variable as "vRepeat"&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=aggr(if((Count({&amp;lt;Year={'*'},Week={'*'},Type_ID={'RO'}&amp;gt;}&amp;nbsp; DISTINCT OrderQty))&amp;gt;0, 'Repeat', '0'),ArticleNo)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;FYI,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="147682" alt="Logical_Expression.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147682_Logical_Expression.jpg" style="height: 120px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let me know if the requirement not clear. thanks, Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>devarasu07</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Set analysis using logical dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-using-logical-dimension/m-p/1239135#M862334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,@&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the attached app, how to use below logical dimension expression(item 1)&amp;nbsp; in my set analysis expression ( item 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;item1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Logical Dimension as below "Repeat"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=aggr(if((Count({&amp;lt;Year={'*'},Week={'*'},Type_ID={'RO'}&amp;gt;} distinct OrderQty))&amp;gt;0, 'Repeat', '0'),ArticleNo) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;item2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;in Expression &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(count({&amp;lt;soh={"&amp;gt;1"},vRepeat={"Repeat"}&amp;gt;} distinct Batch),MaterialHuddleGrpDesc,ShopNo)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tried below way and not giving correct results. tks&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Created Variable as "vRepeat"&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=aggr(if((Count({&amp;lt;Year={'*'},Week={'*'},Type_ID={'RO'}&amp;gt;}&amp;nbsp; DISTINCT OrderQty))&amp;gt;0, 'Repeat', '0'),ArticleNo)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;FYI,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="147682" alt="Logical_Expression.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147682_Logical_Expression.jpg" style="height: 120px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let me know if the requirement not clear. thanks, Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-using-logical-dimension/m-p/1239135#M862334</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis using logical dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-using-logical-dimension/m-p/1239136#M862335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ your thoughts on this, please &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2016 13:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-using-logical-dimension/m-p/1239136#M862335</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2016-12-27T13:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis using logical dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-using-logical-dimension/m-p/1239137#M862336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot use an expression on the left hand side of a set modifier. Your vRepeat won't work. Having said that, I don't really understand the logic you are trying to implement here, but can you see if this give the right result (The result doesn't completely match, but may be you have provided a slightly incorrect output?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({&amp;lt;soh={"&amp;gt;1"},ArticleNo = {"=Count({&amp;lt;Year={'*'},Week={'*'}, Type_ID={'RO'}&amp;gt;} DISTINCT OrderQty) &amp;gt; 0"}&amp;gt;} DISTINCT Batch)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2016 13:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-using-logical-dimension/m-p/1239137#M862336</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-27T13:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis using logical dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-using-logical-dimension/m-p/1239138#M862337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the solution, i've small issue on the formatting column header in pivot table. do&amp;nbsp; you have any idea on this? thanks &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've tried with Grid mode option and background color option in chart dimension &amp;amp; expression but column header background issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI, current output with background &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Current Output.jpg" class="jive-image image-1" src="/legacyfs/online/147754_Current Output.jpg" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;expected background color:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Expected Output.jpg" class="jive-image image-2" src="/legacyfs/online/147761_Expected Output.jpg" style="height: 128px; width: 620px;" /&gt;!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2016 22:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-using-logical-dimension/m-p/1239138#M862337</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2016-12-27T22:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis using logical dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-using-logical-dimension/m-p/1239139#M862338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you want Var% to be&amp;nbsp; white??? I think you can convert your expressions into a dimension and just use one expression to get what you are looking for. That is the only approach I can think of right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2016 23:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-using-logical-dimension/m-p/1239139#M862338</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-27T23:23:32Z</dc:date>
    </item>
  </channel>
</rss>

