<?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: set analysis based on intersecting events in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-based-on-intersecting-events/m-p/1084842#M941264</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=Avg(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Cost of Car]={"&amp;gt;0"}, [Price of Car] = {"=Len(Trim(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Price of Car]&lt;/SPAN&gt;)) &amp;gt; 0"}&lt;/SPAN&gt;&amp;gt;}&lt;/SPAN&gt;[Cost of Car]/[Price of Car])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jan 2016 18:10:31 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-01-27T18:10:31Z</dc:date>
    <item>
      <title>set analysis based on intersecting events</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-based-on-intersecting-events/m-p/1084840#M941260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm having trouble figuring out how to write this as set analysis in an expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=AVE( [Cost of Car]/[Price of Car]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Cost of Car] is &amp;gt;0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Price of Car} is not NULL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to get to the average (percent) of cost divided by price - where the cost is greater than $0, and the field that contains the price is not empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 17:10:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-based-on-intersecting-events/m-p/1084840#M941260</guid>
      <dc:creator />
      <dc:date>2016-01-27T17:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis based on intersecting events</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-based-on-intersecting-events/m-p/1084841#M941262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;avg({&amp;lt;[Cost of Car]={"&amp;gt;0"},[Price of Car]={'*'}&amp;gt;} [Cost of Car]/[Price of Car])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 17:57:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-based-on-intersecting-events/m-p/1084841#M941262</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-01-27T17:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis based on intersecting events</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-based-on-intersecting-events/m-p/1084842#M941264</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=Avg(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Cost of Car]={"&amp;gt;0"}, [Price of Car] = {"=Len(Trim(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Price of Car]&lt;/SPAN&gt;)) &amp;gt; 0"}&lt;/SPAN&gt;&amp;gt;}&lt;/SPAN&gt;[Cost of Car]/[Price of Car])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 18:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-based-on-intersecting-events/m-p/1084842#M941264</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-27T18:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis based on intersecting events</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-based-on-intersecting-events/m-p/1084843#M941265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks; I had that but wasn't getting the right answer.&amp;nbsp; Turns out I had duplicate VINs where both cars had a price, but only one had a cost which was giving me an answer that was half of what it should have been.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 18:48:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-based-on-intersecting-events/m-p/1084843#M941265</guid>
      <dc:creator />
      <dc:date>2016-01-27T18:48:42Z</dc:date>
    </item>
  </channel>
</rss>

