<?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 &amp;quot;And&amp;quot; operator in set analysis using the same dimension. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/quot-And-quot-operator-in-set-analysis-using-the-same-dimension/m-p/7571#M790226</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping someone could help me out here. I am trying to have a pivot table that would show all customers that a selected Sales rep has called that another rep has called as well, and then show the call history of the other reps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So say Employee 1 has called customers A, B, C.&lt;/P&gt;&lt;P&gt;Employee 2 has called customers B and C and D.&lt;/P&gt;&lt;P&gt;Employee 3 has called customer B and E.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the list to show customers B and C, the other employees that have called them and the call history (number of calls per month) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unsure how to accomplish this in set analysis. As I need it to first filter the table based on the selected employee having called them ($(vEmpSelect) , but also only show those where another employee has called them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives me calls of the selected employee where an event_Id = a call. &lt;/P&gt;&lt;P&gt;Count({&amp;lt;Employee={'$(vEmpSelect)'}, [Year-Month] ={"&amp;gt;=$(vYearStartPerm)"}&amp;gt;}DISTINCT EVENT_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If anyone could help me out with this that would be fantastic, I've been stuck for over a day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>"And" operator in set analysis using the same dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/quot-And-quot-operator-in-set-analysis-using-the-same-dimension/m-p/7571#M790226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping someone could help me out here. I am trying to have a pivot table that would show all customers that a selected Sales rep has called that another rep has called as well, and then show the call history of the other reps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So say Employee 1 has called customers A, B, C.&lt;/P&gt;&lt;P&gt;Employee 2 has called customers B and C and D.&lt;/P&gt;&lt;P&gt;Employee 3 has called customer B and E.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the list to show customers B and C, the other employees that have called them and the call history (number of calls per month) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unsure how to accomplish this in set analysis. As I need it to first filter the table based on the selected employee having called them ($(vEmpSelect) , but also only show those where another employee has called them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives me calls of the selected employee where an event_Id = a call. &lt;/P&gt;&lt;P&gt;Count({&amp;lt;Employee={'$(vEmpSelect)'}, [Year-Month] ={"&amp;gt;=$(vYearStartPerm)"}&amp;gt;}DISTINCT EVENT_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If anyone could help me out with this that would be fantastic, I've been stuck for over a day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-And-quot-operator-in-set-analysis-using-the-same-dimension/m-p/7571#M790226</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: "And" operator in set analysis using the same dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/quot-And-quot-operator-in-set-analysis-using-the-same-dimension/m-p/7572#M790227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share sample data along with expected output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 20:30:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-And-quot-operator-in-set-analysis-using-the-same-dimension/m-p/7572#M790227</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2018-01-25T20:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: "And" operator in set analysis using the same dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/quot-And-quot-operator-in-set-analysis-using-the-same-dimension/m-p/7573#M790228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes here is some sample data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event Id, Employee, Customer&lt;/P&gt;&lt;P&gt;000001, EmpA, 1&lt;/P&gt;&lt;P&gt;000002, EmpA, 2&lt;/P&gt;&lt;P&gt;000003, EmpA, 3&lt;/P&gt;&lt;P&gt;000004, Emp B, 2&lt;/P&gt;&lt;P&gt;000005, Emp B, 4&lt;/P&gt;&lt;P&gt;000006, Emp C, 2&lt;/P&gt;&lt;P&gt;000006, Emp C, 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One employee will always be selected. Suppose EmpA is selected. What I want in my table is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer, Employee, Number of Calls&lt;/P&gt;&lt;P&gt;2, Emp B, 1&lt;/P&gt;&lt;P&gt;2, Emp C, 1&lt;/P&gt;&lt;P&gt;3, Emp C, 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because customers 2 &amp;amp; 3 have been called by employees other than EmpA. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 20:49:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-And-quot-operator-in-set-analysis-using-the-same-dimension/m-p/7573#M790228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-25T20:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: "And" operator in set analysis using the same dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/quot-And-quot-operator-in-set-analysis-using-the-same-dimension/m-p/7574#M790229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a straight table with 2 dimension Customer and Employee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now your expression will be &lt;/P&gt;&lt;P&gt;Count({&amp;lt;Employee = e({&amp;lt;Customer = p(Customer)&amp;gt;}),Customer = p(Customer)&amp;gt;}[Event Id])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 21:08:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-And-quot-operator-in-set-analysis-using-the-same-dimension/m-p/7574#M790229</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2018-01-25T21:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: "And" operator in set analysis using the same dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/quot-And-quot-operator-in-set-analysis-using-the-same-dimension/m-p/7575#M790230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is awesome! Thank you! I'm not exactly sure how this works but I am thankful!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I wanted to add another set analysis so MonthYear = $(vMaxMonthYear) where would I put it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 21:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-And-quot-operator-in-set-analysis-using-the-same-dimension/m-p/7575#M790230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-25T21:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: "And" operator in set analysis using the same dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/quot-And-quot-operator-in-set-analysis-using-the-same-dimension/m-p/7576#M790231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this one was fun. What you need is&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Customer=P({$}), Employee=E({$}Employee)&amp;gt;} [Event Id])&lt;/P&gt;&lt;P&gt;This will select customers which are possible given the current selection of EmpA, but at the same select all employees excluded by the selection of EmpA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="community_PE_Set.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/191457_community_PE_Set.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Juraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 21:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-And-quot-operator-in-set-analysis-using-the-same-dimension/m-p/7576#M790231</guid>
      <dc:creator>juraj_misina</dc:creator>
      <dc:date>2018-01-25T21:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: "And" operator in set analysis using the same dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/quot-And-quot-operator-in-set-analysis-using-the-same-dimension/m-p/7577#M790232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to find the customers whom employee had called in that month then it should be with in p() and e() else it can be outside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 05:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-And-quot-operator-in-set-analysis-using-the-same-dimension/m-p/7577#M790232</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2018-01-26T05:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: "And" operator in set analysis using the same dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/quot-And-quot-operator-in-set-analysis-using-the-same-dimension/m-p/7578#M790233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check the below thread, u can get more clear idea about indirect set analysis(note:&amp;nbsp; P() possible &amp;amp; E() exclude elements works with in set analysis.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/68931"&gt;P() &amp;amp;amp; E() and where do you use them?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 07:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-And-quot-operator-in-set-analysis-using-the-same-dimension/m-p/7578#M790233</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2018-01-26T07:19:17Z</dc:date>
    </item>
  </channel>
</rss>

