<?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: &amp;quot;p&amp;quot; in set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/quot-p-quot-in-set-analysis/m-p/1583038#M42620</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;i created a formula similar to yours on a data set i have and it seems to work&amp;nbsp;&lt;/P&gt;&lt;P&gt;how does the fields event type and session_id and segment_id are connected&amp;nbsp;&lt;/P&gt;&lt;P&gt;are they all in the same table , or in different tables&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2019 05:24:53 GMT</pubDate>
    <dc:creator>lironbaram</dc:creator>
    <dc:date>2019-05-22T05:24:53Z</dc:date>
    <item>
      <title>"p" in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/quot-p-quot-in-set-analysis/m-p/1582990#M42617</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I am attempting to count distinct session_id's that have done event 33 after already doing event 36. This is in a table visualization with segment _id as the dimension. The weird thing is it works when I query an individual segment_id, but is wrong when looking at all the segments at once. I wonder if I am missing an argument? Here is what I have:&lt;/P&gt;&lt;P&gt;count({&amp;lt;session_id = p({&amp;lt;event_type={36}&amp;gt;}) * p({&amp;lt;event_type={33}&amp;gt;}) &amp;gt;} distinct session_id)&lt;/P&gt;&lt;P&gt;&lt;U&gt;Table:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;segment_id&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;event_type36&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;formula above&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 80&amp;nbsp;&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;250&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;200&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;** the weird part is that the above is wrong. When I query segment_id = 1, I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;segment_id&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;event_type36&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;formula above&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 70&lt;/P&gt;&lt;P&gt;*This is correct when I query by individual segment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help is much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 20:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/quot-p-quot-in-set-analysis/m-p/1582990#M42617</guid>
      <dc:creator>BPetosa</dc:creator>
      <dc:date>2019-05-21T20:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: "p" in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/quot-p-quot-in-set-analysis/m-p/1583038#M42620</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;i created a formula similar to yours on a data set i have and it seems to work&amp;nbsp;&lt;/P&gt;&lt;P&gt;how does the fields event type and session_id and segment_id are connected&amp;nbsp;&lt;/P&gt;&lt;P&gt;are they all in the same table , or in different tables&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 05:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/quot-p-quot-in-set-analysis/m-p/1583038#M42620</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2019-05-22T05:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: "p" in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/quot-p-quot-in-set-analysis/m-p/1583470#M42658</link>
      <description>&lt;P&gt;They are all in the same table. However, they are also spread across other tables as well and this particular app is large (100+ tables). I am going to create a new app with just the main table, and see if it works then.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 15:10:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/quot-p-quot-in-set-analysis/m-p/1583470#M42658</guid>
      <dc:creator>BPetosa</dc:creator>
      <dc:date>2019-05-22T15:10:57Z</dc:date>
    </item>
  </channel>
</rss>

