<?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 Determining intersection date of two Expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Determining-intersection-date-of-two-Expressions/m-p/408618#M560839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got two Expressions charted on a line chart.&amp;nbsp; I want the date on which the 2nd Expression is &amp;gt;= the 1st Expression, which I will then display in a Straight Table.&amp;nbsp; I've created a simplified example below.&amp;nbsp; Hoping someone can tell me how to create an Expression for my Straight table that will return this date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Expression is:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;TOTAL_TB &lt;SPAN style="font-size: 8pt;"&gt;- (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TOTAL_TB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * 0.25) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second is simply: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;T30_AVG_USED_TB &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;SAMPLE TABLE::&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="135" style="border: 1px solid rgb(0, 0, 0); width: 305px; height: 33px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;P&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;DISC_DATE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;TOTAL_TB&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;AVG_USED_TB&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: justify;"&gt;2003-01-02&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;150&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: justify;"&gt;2003-01-03&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;150&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;109&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: justify;"&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;2003-01-04&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;150&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;120&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: justify;"&gt;2003-01-05&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;150&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;125&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: justify;"&gt;2003-01-06&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;150&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;133&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example I would want &lt;STRONG&gt;2003-01-04,&lt;/STRONG&gt; as the first expression calculates out to 112.5, hence 120 is first occurance of AVG_USED_TB &amp;gt;= 112.5.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Mar 2013 22:53:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-29T22:53:55Z</dc:date>
    <item>
      <title>Determining intersection date of two Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Determining-intersection-date-of-two-Expressions/m-p/408618#M560839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got two Expressions charted on a line chart.&amp;nbsp; I want the date on which the 2nd Expression is &amp;gt;= the 1st Expression, which I will then display in a Straight Table.&amp;nbsp; I've created a simplified example below.&amp;nbsp; Hoping someone can tell me how to create an Expression for my Straight table that will return this date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Expression is:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;TOTAL_TB &lt;SPAN style="font-size: 8pt;"&gt;- (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TOTAL_TB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * 0.25) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second is simply: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;T30_AVG_USED_TB &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;SAMPLE TABLE::&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="135" style="border: 1px solid rgb(0, 0, 0); width: 305px; height: 33px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;P&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;DISC_DATE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;TOTAL_TB&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;AVG_USED_TB&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: justify;"&gt;2003-01-02&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;150&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: justify;"&gt;2003-01-03&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;150&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;109&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: justify;"&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;2003-01-04&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;150&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;120&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: justify;"&gt;2003-01-05&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;150&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;125&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: justify;"&gt;2003-01-06&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;150&lt;/TD&gt;&lt;TD style="text-align: justify;"&gt;133&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example I would want &lt;STRONG&gt;2003-01-04,&lt;/STRONG&gt; as the first expression calculates out to 112.5, hence 120 is first occurance of AVG_USED_TB &amp;gt;= 112.5.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 22:53:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Determining-intersection-date-of-two-Expressions/m-p/408618#M560839</guid>
      <dc:creator />
      <dc:date>2013-03-29T22:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Determining intersection date of two Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Determining-intersection-date-of-two-Expressions/m-p/408619#M560840</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;Please find here the attached file for the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Udit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Mar 2013 09:53:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Determining-intersection-date-of-two-Expressions/m-p/408619#M560840</guid>
      <dc:creator>udit_kumar_sana</dc:creator>
      <dc:date>2013-03-30T09:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Determining intersection date of two Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Determining-intersection-date-of-two-Expressions/m-p/408620#M560841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Udit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response and sample solution. I understand what you are doing here, but does not fully solve my problem as I only want to display the Intersection Date in my Straight Table and nothing else.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lew&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Mar 2013 13:33:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Determining-intersection-date-of-two-Expressions/m-p/408620#M560841</guid>
      <dc:creator />
      <dc:date>2013-03-30T13:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Determining intersection date of two Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Determining-intersection-date-of-two-Expressions/m-p/408621#M560842</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;Please see the attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Hide the two expression column from presentation tab of straight table by choosing hide column option available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Udit,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Mar 2013 15:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Determining-intersection-date-of-two-Expressions/m-p/408621#M560842</guid>
      <dc:creator>udit_kumar_sana</dc:creator>
      <dc:date>2013-03-30T15:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Determining intersection date of two Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Determining-intersection-date-of-two-Expressions/m-p/408622#M560843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&amp;nbsp; This did the trick!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Lew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Mar 2013 00:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Determining-intersection-date-of-two-Expressions/m-p/408622#M560843</guid>
      <dc:creator />
      <dc:date>2013-03-31T00:53:05Z</dc:date>
    </item>
  </channel>
</rss>

