<?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 Help with Set Analysis Expression... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276888#M1205576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to show the total SalesValue (but exclude the Transaction Type selection) minus Voids.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Sep 2010 12:27:27 GMT</pubDate>
    <dc:creator>hopkinsc</dc:creator>
    <dc:date>2010-09-14T12:27:27Z</dc:date>
    <item>
      <title>Help with Set Analysis Expression...</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276883#M1205571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i am trying to write an expression to bring back total SalesValue - Total Voids for a transaction.&lt;/P&gt;&lt;P&gt;I know how to calculate total sales value - &lt;STRONG&gt;Sum(SalesValue),&lt;/STRONG&gt; but this also includes VOID values. A void is obviously not part of the transaction value, so i need to deduct this off.&lt;/P&gt;&lt;P&gt;my fields are&lt;/P&gt;&lt;P&gt;SalesValue (the price of each item)&lt;/P&gt;&lt;P&gt;LineType (specifies if the transaction line is a SALE/ VOID/REFUND etc)&lt;/P&gt;&lt;P&gt;I have tried the following....&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;LineType ='V'&amp;gt;}SalesValue)&lt;/P&gt;&lt;P&gt;but this just displays the void value.&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 12:04:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276883#M1205571</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-09-14T12:04:30Z</dc:date>
    </item>
    <item>
      <title>Help with Set Analysis Expression...</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276884#M1205572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;This might do what you want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Sum({$&amp;lt;LineType -= {'V'}&amp;gt;}SalesValue)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 12:12:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276884#M1205572</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-09-14T12:12:57Z</dc:date>
    </item>
    <item>
      <title>Help with Set Analysis Expression...</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276885#M1205573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;shouldn't be somethig like&lt;/P&gt;&lt;PRE style="margin:0px;"&gt;Sum({$&amp;lt;~LineType = {'V'}&amp;gt;}SalesValue)&lt;BR /&gt;?&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 12:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276885#M1205573</guid>
      <dc:creator />
      <dc:date>2010-09-14T12:16:07Z</dc:date>
    </item>
    <item>
      <title>Help with Set Analysis Expression...</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276886#M1205574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan,&lt;/P&gt;&lt;P&gt;I have already tried that one, but i think i know why it doesn't work....&lt;/P&gt;&lt;P&gt;I need the expression to disregard the selection (TransactionType).&lt;/P&gt;&lt;P&gt;How would i include this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 12:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276886#M1205574</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-09-14T12:18:04Z</dc:date>
    </item>
    <item>
      <title>Help with Set Analysis Expression...</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276887#M1205575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You did not mention TransactionType in the original post, so I am not sure what you mean.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 12:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276887#M1205575</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-09-14T12:24:45Z</dc:date>
    </item>
    <item>
      <title>Help with Set Analysis Expression...</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276888#M1205576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to show the total SalesValue (but exclude the Transaction Type selection) minus Voids.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 12:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276888#M1205576</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-09-14T12:27:27Z</dc:date>
    </item>
    <item>
      <title>Help with Set Analysis Expression...</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276889#M1205577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any more help with this anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 13:22:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276889#M1205577</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-09-14T13:22:01Z</dc:date>
    </item>
    <item>
      <title>Help with Set Analysis Expression...</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276890#M1205578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The transaction Type is another field or is the same LineType?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 13:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276890#M1205578</guid>
      <dc:creator />
      <dc:date>2010-09-14T13:30:24Z</dc:date>
    </item>
    <item>
      <title>Help with Set Analysis Expression...</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276891#M1205579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is another field. i want anything from this selection excluded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 13:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276891#M1205579</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-09-14T13:37:54Z</dc:date>
    </item>
    <item>
      <title>Help with Set Analysis Expression...</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276892#M1205580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , I think this expression can help you.&lt;/P&gt;&lt;P&gt;Because you want to use not like condition&lt;/P&gt;&lt;P&gt;here is one expression you can do desired changes in this set analysis expression and can get desired result......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= (-count({$&amp;lt;YM={'$(vCurrentyearmonth)'},Year=,Quarter=,MonthName=,BDO_DSA={'DSA'},Source={'SanctionNo'},BDO_NAME={'CONN*'}&amp;gt;} DISTINCT FILENO)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dushyant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 13:39:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276892#M1205580</guid>
      <dc:creator />
      <dc:date>2010-09-14T13:39:10Z</dc:date>
    </item>
    <item>
      <title>Help with Set Analysis Expression...</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276893#M1205581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({&amp;lt; LineType -= {'V'}, TransactionType = &amp;gt;} SalesValue)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;to ignore the current selection in TransactionType.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 13:41:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276893#M1205581</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-14T13:41:33Z</dc:date>
    </item>
    <item>
      <title>Help with Set Analysis Expression...</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276894#M1205582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent, that worked.&lt;/P&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 13:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276894#M1205582</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-09-14T13:45:43Z</dc:date>
    </item>
    <item>
      <title>Help with Set Analysis Expression...</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276895#M1205583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, That worked to show me the result i wanted, but....&lt;/P&gt;&lt;P&gt;now it removes the Transaction Type selection.&lt;/P&gt;&lt;P&gt;So if i select a Transaction Type of 'Account Sales', the results show me all sales for the selected dates of ACCOUNT SALES. When i click on a transaction this show's me the details ogf that particular transaction but it removes 'Account Sales' from my Transaction Type selection. so when i click back i am expecting to see ACCOUNT SALES again, but instead it show's me everything.&lt;/P&gt;&lt;P&gt;This was working until i added the expression given earlier.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ignore the above......&lt;/P&gt;&lt;P&gt;It looks like the expression given earlier actually ignores the 'Transaction Type' selection completely.&lt;/P&gt;&lt;P&gt;I do not want that to happen. I still need to filter on 'Transaction Type' but i do not want it in the SalesValue calculation..&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 13:54:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276895#M1205583</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-09-14T13:54:03Z</dc:date>
    </item>
    <item>
      <title>Help with Set Analysis Expression...</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276896#M1205584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;If you mean you want to select all values from Transaction Type except for those that are selected (excluded values) you can do as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({&amp;lt; LyneType -= {'V'}, TransactionType = E(TransactionType) &amp;gt;} SalesValue)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If not, please make an example of your actual data and the result is should return.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 14:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276896#M1205584</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-14T14:44:54Z</dc:date>
    </item>
    <item>
      <title>Help with Set Analysis Expression...</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276897#M1205586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for your reply.&lt;/P&gt;&lt;P&gt;I have attached a sample.&lt;/P&gt;&lt;P&gt;If you select 'Void' from 'Transaction Type' and '1080648' from 'Transaction Id' on the left hand side as an example You should see the following..&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/8765.Trans1.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/8765.Trans1.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As you can see, the Sales Value fromn 'Transaction Header' is £2.99 (This is the total of the VOID), I want this to display the total Transaction Value instead (which is a total of the transaction details £16.50, minus voids £2.99 = £13.51 ) but i do not want the VOID selection (from Transaction Type) to be effected.&lt;/P&gt;&lt;P&gt;Any more help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 15:15:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276897#M1205586</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-09-14T15:15:05Z</dc:date>
    </item>
    <item>
      <title>Help with Set Analysis Expression...</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276898#M1205588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then, once VOID is selected,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum({&amp;lt; [Transaction Type] = E([Transaction Type]) &amp;gt;} SalesValue)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;must do. But I'm guessing that the chart should display some values regardless the selections done so I think you need to control whether the user has done any selection. Or draw two different tables.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 15:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-Expression/m-p/276898#M1205588</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-14T15:42:05Z</dc:date>
    </item>
  </channel>
</rss>

