<?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: complex if statement with interval - qlik sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/complex-if-statement-with-interval-qlik-sense/m-p/1057229#M16876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;It would be easier to help you if you could describe your data model and data a bit more in detail.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;We need to know how all the involved fields are related, for example ObserveDateTime and OpeningDateTime.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Maybe by posting some sample lines of data, e.g. as INLINE tables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Or by posting a small sample app.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Apr 2016 09:43:31 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-04-19T09:43:31Z</dc:date>
    <item>
      <title>complex if statement with interval - qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/complex-if-statement-with-interval-qlik-sense/m-p/1057226#M16873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying a complex expression with a if statement with interval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a person who records room temperature at different intervals of the day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have an expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interval(min({&amp;lt;Temp={'40'}&amp;gt;} ObserveDateTime) - min({&amp;lt;Temp={'&amp;gt;40'}&amp;gt;} ObserveDateTime) ,'h:mm' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this records how long it takes for a room to reach 40 in temperature&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;usally from observe number 1 to the observation number when temperature has been met. e.g 1 - 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;recorded by ObserveNumber 1, 2, 3 ect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This above works fine however, sometimes a recording has been done before opening time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wish to create an if statement like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(min(ObserveDateTime)&amp;nbsp; &amp;lt; OpeningDateTime , then start from ObserveNumber 2 instead of number 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 09:00:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/complex-if-statement-with-interval-qlik-sense/m-p/1057226#M16873</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-04-19T09:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: complex if statement with interval - qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/complex-if-statement-with-interval-qlik-sense/m-p/1057227#M16874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like&lt;/P&gt;&lt;P&gt;&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;interval(min({&amp;lt;Temp={'40'}&amp;gt;} ObserveDateTime) - min({&amp;lt;Temp={'&amp;gt;40'}, ObserveDateTime = {"=ObserveDateTime&amp;gt;=OpeningDateTime"}&amp;gt;} ObserveDateTime) ,'h:mm' )&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;edit: It would be easier to help you if you describe your data model and data a bit more in detail. &lt;/SPAN&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;Maybe by posting some sample lines of data, e.g. as INLINE tables. &lt;/SPAN&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;Or by posting a small sample app.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 09:07:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/complex-if-statement-with-interval-qlik-sense/m-p/1057227#M16874</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-19T09:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: complex if statement with interval - qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/complex-if-statement-with-interval-qlik-sense/m-p/1057228#M16875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;does not seem to work correctly ...please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 09:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/complex-if-statement-with-interval-qlik-sense/m-p/1057228#M16875</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-04-19T09:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: complex if statement with interval - qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/complex-if-statement-with-interval-qlik-sense/m-p/1057229#M16876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;It would be easier to help you if you could describe your data model and data a bit more in detail.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;We need to know how all the involved fields are related, for example ObserveDateTime and OpeningDateTime.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Maybe by posting some sample lines of data, e.g. as INLINE tables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Or by posting a small sample app.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 09:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/complex-if-statement-with-interval-qlik-sense/m-p/1057229#M16876</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-19T09:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: complex if statement with interval - qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/complex-if-statement-with-interval-qlik-sense/m-p/1057230#M16877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps:&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;interval(m&lt;STRONG&gt;ax&lt;/STRONG&gt;({&amp;lt;Temp={'40'}&amp;gt;} ObserveDateTime) - min({&amp;lt;Temp={'&amp;gt;40'}&amp;gt;} IF(ObserveDateTime &amp;gt; OpeningDateTime,ObserveDateTime)) ,'h:mm' )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 09:56:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/complex-if-statement-with-interval-qlik-sense/m-p/1057230#M16877</guid>
      <dc:creator />
      <dc:date>2016-04-19T09:56:09Z</dc:date>
    </item>
  </channel>
</rss>

