<?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: Date before for each row in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-before-for-each-row/m-p/1755034#M58211</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;... this expr just show the result for the last date:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sfbi_1-1603378489494.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42823i2683F309D4BA33FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sfbi_1-1603378489494.png" alt="sfbi_1-1603378489494.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Oct 2020 14:55:26 GMT</pubDate>
    <dc:creator>sfbi</dc:creator>
    <dc:date>2020-10-22T14:55:26Z</dc:date>
    <item>
      <title>Date before for each row</title>
      <link>https://community.qlik.com/t5/App-Development/Date-before-for-each-row/m-p/1754570#M58167</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I&amp;nbsp; need to get the date before count values for the field IDCAMPOCHECKITEM, aggr by NMPROPRIEDADE like in the table bellow:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DATE BEFORE" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42736i0188685194487512/image-size/large?v=v2&amp;amp;px=999" role="button" title="SECOND.png" alt="DATE BEFORE" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;DATE BEFORE&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;- can't use above or bellow functions as the user may change de table ordering.&lt;BR /&gt;-&amp;nbsp;Count({$&amp;lt;DACHECK={"$(=max(DACHECK,2))"}&amp;gt;} IDCAMPOCHECKITEM) will be evaluated only once, so it wont work.&lt;BR /&gt;&lt;BR /&gt;Appreciate any help on this... Thank You.&lt;BR /&gt;Henrique&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-before-for-each-row/m-p/1754570#M58167</guid>
      <dc:creator>sfbi</dc:creator>
      <dc:date>2024-11-16T17:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date before for each row</title>
      <link>https://community.qlik.com/t5/App-Development/Date-before-for-each-row/m-p/1754595#M58169</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Below(Count(IDCAMPOCHECKITEM),1)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 16:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-before-for-each-row/m-p/1754595#M58169</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-10-21T16:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Date before for each row</title>
      <link>https://community.qlik.com/t5/App-Development/Date-before-for-each-row/m-p/1754626#M58176</link>
      <description>&lt;P&gt;As I mentioned the below() wont work as expect, because if user change the table order field the result will be set to null on this case. Also, if I select only one date, it will lose the reference and the result will be null.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 17:11:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-before-for-each-row/m-p/1754626#M58176</guid>
      <dc:creator>sfbi</dc:creator>
      <dc:date>2020-10-21T17:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Date before for each row</title>
      <link>https://community.qlik.com/t5/App-Development/Date-before-for-each-row/m-p/1754627#M58177</link>
      <description>&lt;P&gt;Even If order changed, It should work. Can you help where it is working?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 17:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-before-for-each-row/m-p/1754627#M58177</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-10-21T17:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Date before for each row</title>
      <link>https://community.qlik.com/t5/App-Development/Date-before-for-each-row/m-p/1754651#M58182</link>
      <description>&lt;P&gt;&lt;EM&gt;Help: "For charts with more than one dimension, the results of expressions containing theAbove,Below,Top, andBottomfunctions depend on the order in which the column dimensions are sorted byQlik Sense.Qlik Senseevaluates the functions based on the column segments that result from the dimension that is sorted last. The column sort order is controlled in the properties panel underSortingand is not necessarily the order in which the columns appear in a table."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;As you can see, if I order by dacheck no results.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="order by DACHECK" style="width: 478px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42750i4FA4593A7E3F0387/image-dimensions/478x92?v=v2" width="478" height="92" role="button" title="2.JPG" alt="order by DACHECK" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;order by DACHECK&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="orderby NMPROPRIEDADE" style="width: 472px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42749iDA8DA1F678A9F90C/image-dimensions/472x91?v=v2" width="472" height="91" role="button" title="1.JPG" alt="orderby NMPROPRIEDADE" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;orderby NMPROPRIEDADE&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Also, if I select only one date, it wont show the date before count, as there are now rows below on the table.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I might need to get the result from script probably....&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 17:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-before-for-each-row/m-p/1754651#M58182</guid>
      <dc:creator>sfbi</dc:creator>
      <dc:date>2020-10-21T17:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Date before for each row</title>
      <link>https://community.qlik.com/t5/App-Development/Date-before-for-each-row/m-p/1754716#M58187</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115854"&gt;@sfbi&lt;/a&gt;&amp;nbsp; try with sortable aggr like below. It will keep the actual sorting as you required&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;=sum(aggr(if(NMPROPRIEDADE&amp;lt;&amp;gt;Below(total NMPROPRIEDADE),Count({$&amp;lt;DACHECK={"$(=max(DACHECK,2))"}&amp;gt;} IDCAMPOCHECKITEM) , 
below(total Count({$&amp;lt;DACHECK={"$(=max(DACHECK,2))"}&amp;gt;} IDCAMPOCHECKITEM))),NMPROPRIEDADE,(DACHECK,(NUMERIC,DESCENDING))))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 20:54:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-before-for-each-row/m-p/1754716#M58187</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-21T20:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Date before for each row</title>
      <link>https://community.qlik.com/t5/App-Development/Date-before-for-each-row/m-p/1755034#M58211</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;... this expr just show the result for the last date:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sfbi_1-1603378489494.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42823i2683F309D4BA33FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sfbi_1-1603378489494.png" alt="sfbi_1-1603378489494.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 14:55:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-before-for-each-row/m-p/1755034#M58211</guid>
      <dc:creator>sfbi</dc:creator>
      <dc:date>2020-10-22T14:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Date before for each row</title>
      <link>https://community.qlik.com/t5/App-Development/Date-before-for-each-row/m-p/1755481#M58253</link>
      <description>&lt;P&gt;This bring the correct result, regardless of table ordering. Also needed to set the correct order by within the scrip when loading data, NMPROPRIEDADE, IDCAMPOCHECK DESC to get the appropriate result.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;could also use below function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;AGGR(Above(count(DISTINCT {&amp;lt;IDCAMPOCHECK=&amp;gt;} IDCAMPOCHECKITEM),-1,RowNo()),NMPROPRIEDADE,IDCAMPOCHECK)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sfbi_0-1603462591187.png" style="width: 629px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42934iEE9247B04583E018/image-dimensions/629x118?v=v2" width="629" height="118" role="button" title="sfbi_0-1603462591187.png" alt="sfbi_0-1603462591187.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 14:24:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-before-for-each-row/m-p/1755481#M58253</guid>
      <dc:creator>sfbi</dc:creator>
      <dc:date>2020-10-23T14:24:00Z</dc:date>
    </item>
  </channel>
</rss>

