<?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 with field comparison in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290599#M1203516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Roland,&lt;/P&gt;&lt;P&gt;The Sales date and the Sales number in the Receipt table shows the relationship between the sales and the receipt. The solution provides all the receipt for the selected month. Example: For the month of february I am expecting receipt for only Sales number 10003 with Sales date 15-Feb-2010, because sales number 10002 was made in January which does not give me a true Picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/5556.dm.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/5556.dm.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;That is why I think that the problem is beyond only Data modelling. I think a Set analysis expresession for comparing the selected month of the sales date is the same as the month of the Receipt date.&lt;/P&gt;&lt;P&gt;With Kind Regards&lt;/P&gt;&lt;P&gt;Abraham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Nov 2010 08:49:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-29T08:49:13Z</dc:date>
    <item>
      <title>Set Analysis with field comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290590#M1203505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-2923_sourceID:2923" /&gt;&lt;/P&gt;&lt;P&gt;I want help with month comparison. I want help on a set analysis expression for selection such that when ReceiptMon is selected it would display records which salesmon is the same as ReceiptMon. I have tried this but no records .&lt;/P&gt;&lt;P&gt;For example if Jan is selected for ReceiptMon it should display records whose ReceiptMon is Jan and SalesMon is Jan.&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;SalesMon = ReceiptMon&amp;gt;} ReceiptAmount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Nov 2010 13:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290590#M1203505</guid>
      <dc:creator />
      <dc:date>2010-11-25T13:33:20Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with field comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290591#M1203506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abraham,&lt;/P&gt;&lt;P&gt;did you check my lastest post to your thread&lt;/P&gt;&lt;P&gt;http://community.qlik.com/forums/p/37312/146582.aspx#146582&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;RR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Nov 2010 14:26:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290591#M1203506</guid>
      <dc:creator />
      <dc:date>2010-11-25T14:26:45Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with field comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290592#M1203507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it did not give me the desired results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Nov 2010 15:02:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290592#M1203507</guid>
      <dc:creator />
      <dc:date>2010-11-25T15:02:55Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with field comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290593#M1203508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Roland,&lt;/P&gt;&lt;P&gt;Sorry I did not explain myself well. Actually the Metric Cash Collection is a ratio which is expresed as:&lt;/P&gt;&lt;P&gt;Cash Collection / Total Sales.&lt;/P&gt;&lt;P&gt;So I would also require the total sales for the Selected period. Thus I would require the Sales Month and not the Receipt Month to be used as the dimesion for the selection. Hope to hear from you.&lt;/P&gt;&lt;P&gt;I appreciate and am grateful for your Ideas so far.&lt;/P&gt;&lt;P&gt;Thank You!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Nov 2010 08:31:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290593#M1203508</guid>
      <dc:creator />
      <dc:date>2010-11-26T08:31:09Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with field comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290594#M1203509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abraham,&lt;/P&gt;&lt;P&gt;in my second Version I put the Sales(Year)Month and the Receipt(Year)Month in each case together into one field. So it is very easy to sum up ReceiptAmount and SalesAmount for the same Monthbecause t there is only one Date (Year, Month) left. This seems to me to be a approriate data modell.&lt;/P&gt;&lt;P&gt;To get the Cash Ratio as described above just create a new expression in the straight table with sum(ReceiptAmount) / sum(SalesAmount). If you like you can format it as a percentage (Number tab --&amp;gt; format settings)&lt;/P&gt;&lt;P&gt;HtH&lt;/P&gt;&lt;P&gt;Roalnd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Nov 2010 11:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290594#M1203509</guid>
      <dc:creator />
      <dc:date>2010-11-26T11:15:23Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with field comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290595#M1203510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Roland&lt;/P&gt;&lt;P&gt;I am very Grateful. It works well. I appreciate your efforts and concern.&lt;/P&gt;&lt;P&gt;Thank You ver much.&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Abraham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Nov 2010 12:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290595#M1203510</guid>
      <dc:creator />
      <dc:date>2010-11-26T12:41:21Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with field comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290596#M1203512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abraham,&lt;/P&gt;&lt;P&gt;glad to help you. Don't hesitate to post again. Would you mark my aswer above as correct so that the thread will be flagged green and can be seen as closed.&lt;/P&gt;&lt;P&gt;RR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Nov 2010 15:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290596#M1203512</guid>
      <dc:creator />
      <dc:date>2010-11-26T15:58:34Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with field comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290597#M1203514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Roland,&lt;/P&gt;&lt;P&gt;Sorry to come back, after critical examination I am not still getting the desired result. From the version 2 of your application If January is seleceted as the Mon it brings receipt relating to all sales made in January irrespective of the month of the receipt. I am expecting the receipt amount to be 3000 and not 4500 ( The extra receipt amont of 1500 being for Feb and Mar receipt with sale in Jan).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/3806.dm.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/3806.dm.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Nov 2010 13:02:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290597#M1203514</guid>
      <dc:creator />
      <dc:date>2010-11-27T13:02:19Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with field comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290598#M1203515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abraham,&lt;/P&gt;&lt;P&gt;sorry, this was my fault. I didn't catch your problem exactly. Communication in someones mother language (for me german) can be hard and in a foreign language (english) even harder. Take a look at the new version.&lt;/P&gt;&lt;P&gt;RR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Nov 2010 15:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290598#M1203515</guid>
      <dc:creator />
      <dc:date>2010-11-27T15:04:59Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with field comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290599#M1203516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Roland,&lt;/P&gt;&lt;P&gt;The Sales date and the Sales number in the Receipt table shows the relationship between the sales and the receipt. The solution provides all the receipt for the selected month. Example: For the month of february I am expecting receipt for only Sales number 10003 with Sales date 15-Feb-2010, because sales number 10002 was made in January which does not give me a true Picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/5556.dm.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/5556.dm.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;That is why I think that the problem is beyond only Data modelling. I think a Set analysis expresession for comparing the selected month of the sales date is the same as the month of the Receipt date.&lt;/P&gt;&lt;P&gt;With Kind Regards&lt;/P&gt;&lt;P&gt;Abraham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 08:49:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290599#M1203516</guid>
      <dc:creator />
      <dc:date>2010-11-29T08:49:13Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with field comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290600#M1203517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abraham,&lt;/P&gt;&lt;P&gt;my first idea wasn't so bad. And with it you pointed into the right direction. Look at your first post and try your expression with a good old if-statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum(IF( ReceiptMon= SalesMon, ReceiptAmount, 0 ))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope this helps right now &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;P&gt;RR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 16:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290600#M1203517</guid>
      <dc:creator />
      <dc:date>2010-11-29T16:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with field comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290601#M1203518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Abraham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is an old question you have and i see that It has been unanswered since 2010. might be a closure to it if this works: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum( {$&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SalesMon &lt;/SPAN&gt;= {"=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ReceiptMon&lt;/SPAN&gt;"}&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ReceiptAmount&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 05:34:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-field-comparison/m-p/290601#M1203518</guid>
      <dc:creator>themandrake</dc:creator>
      <dc:date>2015-01-13T05:34:36Z</dc:date>
    </item>
  </channel>
</rss>

