<?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: Countifs based on another field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Countifs-based-on-another-field/m-p/1637783#M732017</link>
    <description>&lt;P&gt;Add Customer # and Trip # as dimension and use Count([Trip #]) as your expression&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2019 12:08:29 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-10-21T12:08:29Z</dc:date>
    <item>
      <title>Countifs based on another field</title>
      <link>https://community.qlik.com/t5/QlikView/Countifs-based-on-another-field/m-p/1637773#M732016</link>
      <description>&lt;P&gt;Hi, could someone please help me with a countifs query that I have:&amp;nbsp; I'm trying to show&amp;nbsp;total number if the Trip&amp;nbsp;# and the Customer # are the same e.g. Customer 1 had 3 orders on trip 1 so the result number I would be looking for is 3.&amp;nbsp; Customer 2 had 2 orders on trip 1&amp;nbsp;so the result would be 2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Customer #&lt;/TD&gt;&lt;TD&gt;Trip #&lt;/TD&gt;&lt;TD&gt;Result&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer 1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer 1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer 1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer 2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer 2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer 3&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer 4&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Countifs-based-on-another-field/m-p/1637773#M732016</guid>
      <dc:creator>tinapullen1</dc:creator>
      <dc:date>2024-11-16T02:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Countifs based on another field</title>
      <link>https://community.qlik.com/t5/QlikView/Countifs-based-on-another-field/m-p/1637783#M732017</link>
      <description>&lt;P&gt;Add Customer # and Trip # as dimension and use Count([Trip #]) as your expression&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 12:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Countifs-based-on-another-field/m-p/1637783#M732017</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-10-21T12:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Countifs based on another field</title>
      <link>https://community.qlik.com/t5/QlikView/Countifs-based-on-another-field/m-p/1637865#M732018</link>
      <description>&lt;P&gt;Thank you for coming back to me Sunny - I should have been more clear.&amp;nbsp; I'm looking to do it in the script?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 13:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Countifs-based-on-another-field/m-p/1637865#M732018</guid>
      <dc:creator>tinapullen1</dc:creator>
      <dc:date>2019-10-21T13:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Countifs based on another field</title>
      <link>https://community.qlik.com/t5/QlikView/Countifs-based-on-another-field/m-p/1637879#M732019</link>
      <description>&lt;P&gt;Left Join the Count like this may be&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Left Join (TableName)
LOAD [Customer #],
     [Trip #],
     Count([Trip #]) as Result
From TableName
Group By [Customer #], [Trip #];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 14:17:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Countifs-based-on-another-field/m-p/1637879#M732019</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-10-21T14:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Countifs based on another field</title>
      <link>https://community.qlik.com/t5/QlikView/Countifs-based-on-another-field/m-p/1641347#M732020</link>
      <description>&lt;P&gt;Hey Tina, did Sunny's last post get you what you needed for your use case?&amp;nbsp; If so, do not forget to come back to the post and use the Accept as Solution button on Sunny's post to give him credit and let others know the guidance helped you get things working.&amp;nbsp; If you are still working on things, leave an update on where things stand.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 16:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Countifs-based-on-another-field/m-p/1641347#M732020</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-10-30T16:20:48Z</dc:date>
    </item>
  </channel>
</rss>

