<?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 Group condition in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Group-condition-in-Set-Analysis/m-p/1149659#M375855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a productid , productType &lt;/P&gt;&lt;P&gt;I need to have&lt;/P&gt;&lt;P&gt;sum of sales&amp;nbsp; when (prodctid = 4 and productType = ("a","b","c","d") ) or (productId = 5 and ProuctType =("a","d","f"))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to make two conditions but not a same single one for the above requirement. &lt;/P&gt;&lt;P&gt;Need Help with this. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2016 11:02:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-30T11:02:31Z</dc:date>
    <item>
      <title>Group condition in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Group-condition-in-Set-Analysis/m-p/1149659#M375855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a productid , productType &lt;/P&gt;&lt;P&gt;I need to have&lt;/P&gt;&lt;P&gt;sum of sales&amp;nbsp; when (prodctid = 4 and productType = ("a","b","c","d") ) or (productId = 5 and ProuctType =("a","d","f"))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to make two conditions but not a same single one for the above requirement. &lt;/P&gt;&lt;P&gt;Need Help with this. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 11:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-condition-in-Set-Analysis/m-p/1149659#M375855</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-30T11:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Group condition in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Group-condition-in-Set-Analysis/m-p/1149660#M375856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try union set operator + like in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum( {&amp;lt;productid = {4}, productType = {'a','b','c','d'}&amp;gt; &lt;STRONG&gt;+&lt;/STRONG&gt; &amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;productid = {5}, productType = {'a','d'.'f'}&lt;/SPAN&gt;&amp;gt;} sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 13:59:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-condition-in-Set-Analysis/m-p/1149660#M375856</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-30T13:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Group condition in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Group-condition-in-Set-Analysis/m-p/1149661#M375857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, That Helps&lt;/P&gt;&lt;P&gt;now i am confused.&lt;/P&gt;&lt;P&gt;Can we write a compound condition in set analysis like &lt;/P&gt;&lt;P&gt;sum of sales ( compid = 1 , prefferedrep=4, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; (prodctid = 4 and productType = ("a","b","c","d") ) or (productId = 5 and ProuctType =("a","d","f"), date between Jan 01 to Jan 31)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum ({&amp;lt; compid = {'1'}&lt;/P&gt;&lt;P&gt;, prefferdredp = {'4'}&lt;/P&gt;&lt;P&gt;,date = {'&amp;gt;= $(vYearStartDate) &amp;lt;= $(vYearEndDate)'}&lt;/P&gt;&lt;P&gt;&amp;gt;}sales ) is the condition so far , now need to add the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum( {&amp;lt;productid = {4}, productType = {'a','b','c','d'}&amp;gt; &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;productid = {5}, productType = {'a','d'.'f'}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;} sales) into the existing sum . &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 06:39:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-condition-in-Set-Analysis/m-p/1149661#M375857</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-01T06:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Group condition in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Group-condition-in-Set-Analysis/m-p/1149662#M375858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum ({&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;lt;&lt;SPAN style="line-height: 1.5em;"&gt;compid = {'1'}&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;, prefferdredp = {'4'}&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;, date = {'&amp;gt;= $(vYearStartDate) &amp;lt;= $(vYearEndDate)'}, productid = {4}, productType = {'a','b','c','d'}&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="line-height: 1.5em;"&gt;+&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="line-height: 1.5em;"&gt;&amp;lt;compid = {'1'}, prefferdredp = {'4'}, date = {'&amp;gt;= $(vYearStartDate) &amp;lt;= $(vYearEndDate)'}, &lt;SPAN style="font-size: 13.3333px;"&gt;productid = {5}, productType = {'a','d'.'f'}&lt;/SPAN&gt;&amp;gt;} &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;&lt;STRONG&gt;sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 15:17:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-condition-in-Set-Analysis/m-p/1149662#M375858</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-01T15:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Group condition in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Group-condition-in-Set-Analysis/m-p/1149663#M375859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just like selections in list boxes, set analysis using a field selection uses an OR logic within the field selection and AND logic when combining several field selections. If you need another logic, use several set modifier (the part between the angle brackets &amp;lt;...&amp;gt; in combination with set operators.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your example, maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Sum( {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;lt;&lt;/SPAN&gt;compid = {'1'}, prefferdredp = {'4'} ,date = {'&amp;gt;= $(vYearStartDate) &amp;lt;= $(vYearEndDate)'}, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;productid = {4}, productType = {'a','b','c','d'}&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;+&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;lt;&lt;/SPAN&gt;compid = {'1'}, prefferdredp = {'4'},date = {'&amp;gt;= $(vYearStartDate) &amp;lt;= $(vYearEndDate)'},&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;productid = {5}, productType = {'a','d','f'}&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;} sales) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 15:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-condition-in-Set-Analysis/m-p/1149663#M375859</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-07-01T15:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Group condition in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Group-condition-in-Set-Analysis/m-p/1149664#M375860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got to get this below condition into a straight table expression. &lt;/P&gt;&lt;P&gt;sum (Net_amount)&amp;nbsp; when &lt;/P&gt;&lt;P&gt;bd_id = 1&lt;/P&gt;&lt;P&gt;and ass.sec_type = 'mf'&lt;/P&gt;&lt;P&gt;and cancelled_ind = 'N'&lt;/P&gt;&lt;P&gt;and proprietary = 0&lt;/P&gt;&lt;P&gt;and trans_type = 'b'&lt;/P&gt;&lt;P&gt;and int_type not in (0, -1, 25, 207, 6, 7, 24, 11, 30, 31, 43, 51, 52, 211)&lt;/P&gt;&lt;P&gt;and cusip not like 'FDN%'&lt;/P&gt;&lt;P&gt;and trade_date between '1/01/2016' and '3/31/2016'&lt;/P&gt;&lt;P&gt;and acct_type not like '%529%'&lt;/P&gt;&lt;P&gt;and net_amt &amp;gt;= $2000&lt;/P&gt;&lt;P&gt;and Norm_Trans_Cd not in ('0301SDU','0302SDU','0401SUD','0402RDU','4001SDU')&lt;/P&gt;&lt;P&gt;and ((trans_code not in ('20XX&amp;nbsp; 1','050',&amp;nbsp;&amp;nbsp; '052',&amp;nbsp; '332300++','3320++', '132101++','10TOAD','0140','002'))&amp;nbsp;&amp;nbsp; or exchange_ind = 'N')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;got to this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;[BD_ID] = {'1'}&lt;/P&gt;&lt;P&gt;,[Description] = {'Independent RIA', 'Advisor Select – Full Wrap', 'Advisor Select – with Trans Chrgs'}&lt;/P&gt;&lt;P&gt;,[trans_type] ={'b'}&lt;/P&gt;&lt;P&gt;,[Int_Type]-={'0','-1','25','207','6','7','24','11','30','31','43','51','52','211'}&lt;/P&gt;&lt;P&gt;,[sec_type]-={'mm', 'ca', '01'}&lt;/P&gt;&lt;P&gt;,[CUSIP] -= {'FDN*'}&lt;/P&gt;&lt;P&gt;,[Acct_Type] -={'*529*'}&lt;/P&gt;&lt;P&gt;,[Cancelled_Ind] = {'N'}&lt;/P&gt;&lt;P&gt;,[Proprietary] = {'0'}&lt;/P&gt;&lt;P&gt;,[Trans_Type] = {'b'}&lt;/P&gt;&lt;P&gt;,[sec_type] = {'mf','MF'}&lt;/P&gt;&lt;P&gt;,[Norm_Trans_Cd] -={'0301SDU','0302SDU','0401SUD','0402RDU','4001SDU'}&lt;/P&gt;&lt;P&gt;,[Trade_Date]={"$(= '&amp;gt;=' &amp;amp; $(vYearStartDate) &amp;amp; '&amp;lt;=' &amp;amp; $(vYearEndDate))"}&lt;/P&gt;&lt;P&gt;,[Net_Amt] ={"&amp;gt;=2000"}&lt;/P&gt;&lt;P&gt;,[Trans Code] -={'20XX&amp;nbsp; 1','050','052','332300++','3320++','132101++','10TOAD','0140','002'}&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need help in getting the AND and the OR condition in the same condition. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 10:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-condition-in-Set-Analysis/m-p/1149664#M375860</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-11T10:10:30Z</dc:date>
    </item>
  </channel>
</rss>

