<?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: count based on other columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255687#M396846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;break the link, using fields from only table 2, you get below result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="241572.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145297_241572.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2016 14:31:20 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2016-11-30T14:31:20Z</dc:date>
    <item>
      <title>count based on other columns</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255681#M396840</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;I'm having two tables&lt;/P&gt;&lt;P&gt;&lt;IMG alt="inline1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145298_inline1.PNG" style="height: auto;" /&gt;&lt;IMG alt="inli.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/145300_inli.PNG" style="font-size: 10pt; max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instance:&lt;/P&gt;&lt;P&gt;if i count complaint no based on login as a dimension and filter as sand and oil,, the output will be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actual output:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="otupu.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/145301_otupu.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;scenario:&lt;/P&gt;&lt;P&gt;but i want oil_filter, sand_fliter to display count(complaint_no) based on assigned_login for login dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expected output:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="exp.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/145302_exp.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Your reference attached is the same file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dinesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 14:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255681#M396840</guid>
      <dc:creator>dineshkumar</dc:creator>
      <dc:date>2016-11-30T14:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: count based on other columns</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255682#M396841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you need the two tables to be linked by complaint_no? I feel that as long as the two tables are connected, this might not be possible, but I could be wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 14:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255682#M396841</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-30T14:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: count based on other columns</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255683#M396842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought this should have worked...but maybe not, maybe it can't be that clever / simple!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;Login=P({1}Assigned_user),reduction_field={'oil'}&amp;gt;}complaint_no)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 14:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255683#M396842</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2016-11-30T14:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: count based on other columns</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255684#M396843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the relation to Assigned_Login and Login ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 14:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255684#M396843</guid>
      <dc:creator />
      <dc:date>2016-11-30T14:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: count based on other columns</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255685#M396844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you need the 1st table , moreover the data sample seems&amp;nbsp; inaccurate &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;table1:&lt;/P&gt;&lt;P&gt;LoginID = 1 , you have a, aa as Complaint numbers&lt;/P&gt;&lt;P&gt;but table2:&lt;/P&gt;&lt;P&gt;LoginID=1, you have c,d,e as complaint number?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are both these complaints numbers un-related? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your count needs to be based on LoginID, then link by Login ID.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 14:27:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255685#M396844</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-11-30T14:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: count based on other columns</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255686#M396845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;both are same, case is like login will create complaint_no,, but assigned_login will pick that compalint_no and proceeds.. so i want count based on assigned_login for oil_filter bcz they are the person who has processed it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 14:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255686#M396845</guid>
      <dc:creator>dineshkumar</dc:creator>
      <dc:date>2016-11-30T14:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: count based on other columns</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255687#M396846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;break the link, using fields from only table 2, you get below result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="241572.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145297_241572.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 14:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255687#M396846</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-11-30T14:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: count based on other columns</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255688#M396847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Login creates the case and assigned_login picks the case and process it, so count of complaints processed by login is required. (login and ass_log are same)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 14:31:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255688#M396847</guid>
      <dc:creator>dineshkumar</dc:creator>
      <dc:date>2016-11-30T14:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: count based on other columns</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255689#M396848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would be re-working the data model to be honest. Appreciate this is probably a simple example of what you're trying to do but this will give you the right answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INLINE_1:&lt;/P&gt;&lt;P&gt;LOAD *, 'IL1'&amp;amp;rowno() as key1 INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Login , complaint_no1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; , a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; , aa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp; , b&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp; , c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp; , d&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp; , e&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp; , f&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp; , g&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INLINE_2:&lt;/P&gt;&lt;P&gt;load&amp;nbsp; *, 'IL2'&amp;amp;rowno() as key2 inline [&lt;/P&gt;&lt;P&gt;complaint_no2,Assigned_login,reduction_field&lt;/P&gt;&lt;P&gt;a,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oil&lt;/P&gt;&lt;P&gt;b,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oil&lt;/P&gt;&lt;P&gt;c,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oil&lt;/P&gt;&lt;P&gt;d,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sand&lt;/P&gt;&lt;P&gt;e,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sand&lt;/P&gt;&lt;P&gt;f,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sand&lt;/P&gt;&lt;P&gt;g,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oil&lt;/P&gt;&lt;P&gt;aa,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oil&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INLINE_3:&lt;/P&gt;&lt;P&gt;Load Login as user, key1, complaint_no1 as complaint_no RESIDENT INLINE_1;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;Load Assigned_login as user, key2, complaint_no2 as complaint_no RESIDENT INLINE_2;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 14:33:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255689#M396848</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2016-11-30T14:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: count based on other columns</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255690#M396849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but your login&amp;amp;complaint ID's are Mismatched in both tables!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 14:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255690#M396849</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-11-30T14:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: count based on other columns</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255691#M396850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That seems correct to me based on the explanation&amp;nbsp; given?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 14:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255691#M396850</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2016-11-30T14:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: count based on other columns</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255692#M396851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to be practical inline_1 is live table, unique row data gets entered here at live , inline_2 is history table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when complaint gets created it will be at inline_1 and from then whenevere a case is picked for processing, reverification these data goes to inline_2... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF , &lt;STRONG&gt;login 1&lt;/STRONG&gt; creates complaint &lt;STRONG&gt;a&lt;/STRONG&gt;, the row entered in inline_1, then later when it goes for complaint resolution say login guy&lt;STRONG&gt; 2&lt;/STRONG&gt; picks the case and process it .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. in inline_1 user is&amp;nbsp; login , later when login picking case is assigned_login in inline_2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, login 2 picked the case, hence oil_filter 's count should show in login2&amp;nbsp; and not who created the record...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 15:48:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-other-columns/m-p/1255692#M396851</guid>
      <dc:creator>dineshkumar</dc:creator>
      <dc:date>2016-11-30T15:48:44Z</dc:date>
    </item>
  </channel>
</rss>

