<?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 Compute column based on sets of users in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compute-column-based-on-sets-of-users/m-p/1420828#M428678</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello - Can someone help solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data:&lt;/P&gt;&lt;P&gt;- File 1 is user-level data that has one row for each product the user has bought&lt;/P&gt;&lt;P&gt;- File 2 is totals for the entire set of users&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Desired output:&lt;/P&gt;&lt;P&gt;- I want to compute the % of users that bought all products based on a selection of products.&amp;nbsp; That is, if I limit product to "toys", I want to compute the % of those toy-buying users that also bought every other product&lt;/P&gt;&lt;P&gt;- I want to compare that toy-buying user set to a fixed total from the entire set of users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue:&lt;/P&gt;&lt;P&gt;- this works fine when no selections are made - see image:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2017-09-14 at 11.16.26 AM.png" class="jive-image image-1" src="/legacyfs/online/176633_Screen Shot 2017-09-14 at 11.16.26 AM.png" style="height: 134px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- But when I make a product selection, it naturally shows only the users that bought that product:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2017-09-14 at 11.17.47 AM.png" class="jive-image image-2" src="/legacyfs/online/176634_Screen Shot 2017-09-14 at 11.17.47 AM.png" style="height: 130px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the table to show the buy rate for users that purchased groceries, instead of limiting all the data to just records associated with product = groceries.&amp;nbsp; I suspect this is related to p() in set analysis but can't quite get it to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample QVW file is attached.&amp;nbsp; All suggestions are appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Sep 2017 16:21:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-09-14T16:21:52Z</dc:date>
    <item>
      <title>Compute column based on sets of users</title>
      <link>https://community.qlik.com/t5/QlikView/Compute-column-based-on-sets-of-users/m-p/1420828#M428678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello - Can someone help solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data:&lt;/P&gt;&lt;P&gt;- File 1 is user-level data that has one row for each product the user has bought&lt;/P&gt;&lt;P&gt;- File 2 is totals for the entire set of users&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Desired output:&lt;/P&gt;&lt;P&gt;- I want to compute the % of users that bought all products based on a selection of products.&amp;nbsp; That is, if I limit product to "toys", I want to compute the % of those toy-buying users that also bought every other product&lt;/P&gt;&lt;P&gt;- I want to compare that toy-buying user set to a fixed total from the entire set of users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue:&lt;/P&gt;&lt;P&gt;- this works fine when no selections are made - see image:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2017-09-14 at 11.16.26 AM.png" class="jive-image image-1" src="/legacyfs/online/176633_Screen Shot 2017-09-14 at 11.16.26 AM.png" style="height: 134px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- But when I make a product selection, it naturally shows only the users that bought that product:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2017-09-14 at 11.17.47 AM.png" class="jive-image image-2" src="/legacyfs/online/176634_Screen Shot 2017-09-14 at 11.17.47 AM.png" style="height: 130px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the table to show the buy rate for users that purchased groceries, instead of limiting all the data to just records associated with product = groceries.&amp;nbsp; I suspect this is related to p() in set analysis but can't quite get it to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample QVW file is attached.&amp;nbsp; All suggestions are appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 16:21:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compute-column-based-on-sets-of-users/m-p/1420828#M428678</guid>
      <dc:creator />
      <dc:date>2017-09-14T16:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Compute column based on sets of users</title>
      <link>https://community.qlik.com/t5/QlikView/Compute-column-based-on-sets-of-users/m-p/1420829#M428679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176631_Capture.PNG" style="height: 110px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 16:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compute-column-based-on-sets-of-users/m-p/1420829#M428679</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-14T16:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Compute column based on sets of users</title>
      <link>https://community.qlik.com/t5/QlikView/Compute-column-based-on-sets-of-users/m-p/1420830#M428680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176632_Capture.PNG" style="height: 124px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 16:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compute-column-based-on-sets-of-users/m-p/1420830#M428680</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-14T16:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Compute column based on sets of users</title>
      <link>https://community.qlik.com/t5/QlikView/Compute-column-based-on-sets-of-users/m-p/1420831#M428681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the 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, 14 Sep 2017 16:38:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compute-column-based-on-sets-of-users/m-p/1420831#M428681</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-09-14T16:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Compute column based on sets of users</title>
      <link>https://community.qlik.com/t5/QlikView/Compute-column-based-on-sets-of-users/m-p/1420832#M428682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much - yes, this is what I needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 18:48:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compute-column-based-on-sets-of-users/m-p/1420832#M428682</guid>
      <dc:creator />
      <dc:date>2017-09-14T18:48:14Z</dc:date>
    </item>
  </channel>
</rss>

