<?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: Re: Help on Chart/Table required in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-on-Chart-Table-required/m-p/802693#M1048276</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One figure is wrong, should 1 instead 2 based on example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Non traded ones are that have no transaction linked up. In my example that would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;'A300', 'Member 12 Non-Traded'&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;'A301', 'Member 13 Non-Traded'&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;'A302', 'Member 14 Non-Traded'&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;'A303', 'Member 15 Non-Traded'&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;'A304', 'Member 16 Non-Traded'&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;That's 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From set Analysis also should add up: line 4 (A100) but line 5 matched on invoice date &amp;gt;=2013 so should ignore, same for A110 as has invoices in 2010 and 2014 - ignore it, so left only one: line 5 (A101).&lt;/P&gt;&lt;P&gt;Now you get 5+1 = 6 non traded members.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Microsoft SQL query would look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_14156393628991923 jive_macro_code" jivemacro_uid="_14156393628991923"&gt;
&lt;P&gt;SELECT COUNT(*) as Total_Traded_MemberCount From Members&lt;/P&gt;
&lt;P&gt;UNION ALL&lt;/P&gt;
&lt;P&gt;SELECT COUNT(*) as Total_NON_Traded_MemberCount FROM Members Where MemberCode NOT IN (Select MemberCode From Transactions Where InvoiceDate &amp;gt;= '2013-01-01')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Nov 2014 17:09:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-10T17:09:27Z</dc:date>
    <item>
      <title>Help on Chart/Table required</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-Chart-Table-required/m-p/802687#M1048270</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;Can't build simple chart from the data as I am quite new to Qlik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got transactions linked up against members and then joined members on member code. I need to create simple chart of members traded vs non-traded. This means there is no transaction information. Just a quick way to simulate I've done some inline sample data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14156372520288690" jivemacro_uid="_14156372520288690"&gt;
&lt;P&gt;CommonData:&lt;/P&gt;
&lt;P&gt;Load * Inline [&lt;/P&gt;
&lt;P&gt;MemberCode, TransCount, TransactionId, InvoiceDate&lt;/P&gt;
&lt;P&gt;'A100', 1, 1 , 1/1/2010&lt;/P&gt;
&lt;P&gt;'A100', 1, 2 , 1/1/2014&lt;/P&gt;
&lt;P&gt;'A101', 1, 3 , 1/1/2010&lt;/P&gt;
&lt;P&gt;'A102', 1, 4 , 1/1/2014&lt;/P&gt;
&lt;P&gt;'A103', 1, 5 , 1/1/2014&lt;/P&gt;
&lt;P&gt;'A104', 1, 6 , 1/1/2014&lt;/P&gt;
&lt;P&gt;'A105', 1, 7 , 1/1/2014&lt;/P&gt;
&lt;P&gt;'A105', 1, 8 , 1/1/2014&lt;/P&gt;
&lt;P&gt;'A105', 1, 9 , 1/1/2014&lt;/P&gt;
&lt;P&gt;'A105', 1, 10 , 1/1/2014&lt;/P&gt;
&lt;P&gt;'A105', 1, 11 , 1/1/2014&lt;/P&gt;
&lt;P&gt;'A105', 1, 12 , 1/1/2014&lt;/P&gt;
&lt;P&gt;'A106', 1, 13 , 1/1/2014&lt;/P&gt;
&lt;P&gt;'A107', 1, 14 , 1/1/2014&lt;/P&gt;
&lt;P&gt;'A108', 1, 15 , 1/1/2014&lt;/P&gt;
&lt;P&gt;'A109', 1, 16 , 1/1/2014&lt;/P&gt;
&lt;P&gt;'A110', 1, 17 , 1/1/2014&lt;/P&gt;
&lt;P&gt;'A110', 1, 18 , 1/1/2014&lt;/P&gt;
&lt;P&gt;'A110', 1, 19 , 1/1/2014&lt;/P&gt;
&lt;P&gt;'A110', 1, 20 , 1/1/2010&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Members:&lt;/P&gt;
&lt;P&gt;Load * Inline [&lt;/P&gt;
&lt;P&gt;MemberCode, Name&lt;/P&gt;
&lt;P&gt;'A100', 'Member 1 Traded'&lt;/P&gt;
&lt;P&gt;'A101', 'Member 2 Traded'&lt;/P&gt;
&lt;P&gt;'A102', 'Member 3 Traded'&lt;/P&gt;
&lt;P&gt;'A103', 'Member 4 Traded'&lt;/P&gt;
&lt;P&gt;'A104', 'Member 5 Traded'&lt;/P&gt;
&lt;P&gt;'A105', 'Member 6 Traded'&lt;/P&gt;
&lt;P&gt;'A106', 'Member 7 Traded'&lt;/P&gt;
&lt;P&gt;'A107', 'Member 8 Traded'&lt;/P&gt;
&lt;P&gt;'A108', 'Member 9 Traded'&lt;/P&gt;
&lt;P&gt;'A109', 'Member 10 Traded'&lt;/P&gt;
&lt;P&gt;'A110', 'Member 11 Traded'&lt;/P&gt;
&lt;P&gt;'A300', 'Member 12 Non-Traded'&lt;/P&gt;
&lt;P&gt;'A301', 'Member 13 Non-Traded'&lt;/P&gt;
&lt;P&gt;'A302', 'Member 14 Non-Traded'&lt;/P&gt;
&lt;P&gt;'A303', 'Member 15 Non-Traded'&lt;/P&gt;
&lt;P&gt;'A304', 'Member 16 Non-Traded'&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From this data I should get two values with set analysis condition Year(Invoice date) &amp;gt;= 2013:&lt;/P&gt;&lt;P&gt;Traded: 11 (total traded)-2 (not traded in &amp;gt;2013) = 9 members&lt;/P&gt;&lt;P&gt;Non-Traded: 5 (total non-traded) + 2 (not traded in &amp;gt;2013) = 7 members&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All this should show up in chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 16:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-Chart-Table-required/m-p/802687#M1048270</guid>
      <dc:creator />
      <dc:date>2014-11-10T16:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help on Chart/Table required</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-Chart-Table-required/m-p/802688#M1048271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=COUNT({&amp;lt;InvoiceYear = {'2014'}&amp;gt;}DISTINCT MemberCode)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;COUNT({&amp;lt;InvoiceYear = {'&amp;lt;2014'}&amp;gt;}DISTINCT MemberCode)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 16:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-Chart-Table-required/m-p/802688#M1048271</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-10T16:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help on Chart/Table required</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-Chart-Table-required/m-p/802689#M1048272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's right for the label value. How about making it Dimension and Expression for the Chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 16:42:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-Chart-Table-required/m-p/802689#M1048272</guid>
      <dc:creator />
      <dc:date>2014-11-10T16:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help on Chart/Table required</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-Chart-Table-required/m-p/802690#M1048273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What Dimension you want?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 16:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-Chart-Table-required/m-p/802690#M1048273</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-10T16:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help on Chart/Table required</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-Chart-Table-required/m-p/802691#M1048274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dimension should be "Traded" and "Non-Traded" and expression should return count of members for each dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 16:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-Chart-Table-required/m-p/802691#M1048274</guid>
      <dc:creator />
      <dc:date>2014-11-10T16:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help on Chart/Table required</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-Chart-Table-required/m-p/802692#M1048275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your Non Traded I don't understood&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Non-Traded: 5 (total non-traded) + 2 (not traded in &amp;gt;2013) = 7 members&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 16:58:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-Chart-Table-required/m-p/802692#M1048275</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-10T16:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Help on Chart/Table required</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-Chart-Table-required/m-p/802693#M1048276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One figure is wrong, should 1 instead 2 based on example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Non traded ones are that have no transaction linked up. In my example that would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;'A300', 'Member 12 Non-Traded'&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;'A301', 'Member 13 Non-Traded'&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;'A302', 'Member 14 Non-Traded'&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;'A303', 'Member 15 Non-Traded'&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;'A304', 'Member 16 Non-Traded'&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;That's 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From set Analysis also should add up: line 4 (A100) but line 5 matched on invoice date &amp;gt;=2013 so should ignore, same for A110 as has invoices in 2010 and 2014 - ignore it, so left only one: line 5 (A101).&lt;/P&gt;&lt;P&gt;Now you get 5+1 = 6 non traded members.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Microsoft SQL query would look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_14156393628991923 jive_macro_code" jivemacro_uid="_14156393628991923"&gt;
&lt;P&gt;SELECT COUNT(*) as Total_Traded_MemberCount From Members&lt;/P&gt;
&lt;P&gt;UNION ALL&lt;/P&gt;
&lt;P&gt;SELECT COUNT(*) as Total_NON_Traded_MemberCount FROM Members Where MemberCode NOT IN (Select MemberCode From Transactions Where InvoiceDate &amp;gt;= '2013-01-01')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 17:09:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-Chart-Table-required/m-p/802693#M1048276</guid>
      <dc:creator />
      <dc:date>2014-11-10T17:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help on Chart/Table required</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-Chart-Table-required/m-p/802694#M1048277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a Straight Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension = Calculated Dimension&lt;/P&gt;&lt;P&gt;=ValueList('Traded','Non Traded')&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Expression&lt;/P&gt;&lt;P&gt;=IF(ValueList('Traded','Non Traded') = 'Traded', COUNT({&amp;lt;InvoiceYear = {'2014'}&amp;gt;}DISTINCT MemberCode) -COUNT({&amp;lt;InvoiceYear = {'&amp;lt;2014'}&amp;gt;}DISTINCT MemberCode),&lt;/P&gt;&lt;P&gt;COUNT({&amp;lt;MemberCode = {"=COUNT(TransCount)=0"}&amp;gt;}MemberCode) + COUNT({&amp;lt;InvoiceYear = {'&amp;lt;2014'}, MemberCode = E({&amp;lt;InvoiceYear = {'2014'}&amp;gt;})&amp;gt;}DISTINCT MemberCode))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 17:18:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-Chart-Table-required/m-p/802694#M1048277</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-10T17:18:40Z</dc:date>
    </item>
  </channel>
</rss>

