<?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: Using Peek() to fill empty rows - but how can I limit it to matching ID? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Using-Peek-to-fill-empty-rows-but-how-can-I-limit-it-to-matching/m-p/1588931#M43167</link>
    <description>&lt;P&gt;Please try:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If(ID =peek(ID) and Len(Trim(status)) = 0, Peek('status'), status) as status&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jun 2019 10:37:06 GMT</pubDate>
    <dc:creator>anushree1</dc:creator>
    <dc:date>2019-06-06T10:37:06Z</dc:date>
    <item>
      <title>Using Peek() to fill empty rows - but how can I limit it to matching ID?</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Peek-to-fill-empty-rows-but-how-can-I-limit-it-to-matching/m-p/1588929#M43165</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I can't figure out how to limit this to only for for same ID. Currently my issue is that this peeks from previous ID untill the correct ID has it's first value. I also have calendar here so the first value does not appear on the first date for that ID.&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;date,&lt;/P&gt;&lt;P&gt;If(Len(Trim(status)) = 0, Peek('status'), status) as status&lt;/P&gt;&lt;P&gt;Resident Temp&lt;/P&gt;&lt;P&gt;order by date, ID asc;&lt;/P&gt;&lt;P&gt;I tried a for loop but that seems overly complicated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Pena&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Peek-to-fill-empty-rows-but-how-can-I-limit-it-to-matching/m-p/1588929#M43165</guid>
      <dc:creator>Perus_Pena</dc:creator>
      <dc:date>2024-11-16T05:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using Peek() to fill empty rows - but how can I limit it to matching ID?</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Peek-to-fill-empty-rows-but-how-can-I-limit-it-to-matching/m-p/1588931#M43167</link>
      <description>&lt;P&gt;Please try:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If(ID =peek(ID) and Len(Trim(status)) = 0, Peek('status'), status) as status&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 10:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Peek-to-fill-empty-rows-but-how-can-I-limit-it-to-matching/m-p/1588931#M43167</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2019-06-06T10:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using Peek() to fill empty rows - but how can I limit it to matching ID?</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Peek-to-fill-empty-rows-but-how-can-I-limit-it-to-matching/m-p/1588935#M43168</link>
      <description>Try to use &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/50189"&gt;@anushree1&lt;/a&gt; solution, but didn't the order of your order by like this.&lt;BR /&gt;&lt;BR /&gt;Final:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;Load&lt;BR /&gt;ID,&lt;BR /&gt;date,&lt;BR /&gt;If(ID =peek(ID) and Len(Trim(status)) = 0, Peek('status'), status) as status&lt;BR /&gt;Resident Temp&lt;BR /&gt;order by ID, date;</description>
      <pubDate>Thu, 06 Jun 2019 10:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Peek-to-fill-empty-rows-but-how-can-I-limit-it-to-matching/m-p/1588935#M43168</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-06-06T10:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using Peek() to fill empty rows - but how can I limit it to matching ID?</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Peek-to-fill-empty-rows-but-how-can-I-limit-it-to-matching/m-p/1588945#M43170</link>
      <description>&lt;P&gt;This seems to work as it leaves the early calendar empty, but I still need to check things.&lt;/P&gt;&lt;P&gt;How does the peek(ID) and Peek('status') "Connect"? I mean how does the ID=Peek(ID) know that it should peek the same row that the later peek does?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 11:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Peek-to-fill-empty-rows-but-how-can-I-limit-it-to-matching/m-p/1588945#M43170</guid>
      <dc:creator>Perus_Pena</dc:creator>
      <dc:date>2019-06-06T11:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using Peek() to fill empty rows - but how can I limit it to matching ID?</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Peek-to-fill-empty-rows-but-how-can-I-limit-it-to-matching/m-p/1588949#M43171</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Peek works row by row ,so on each row it applies the peek which eventually leads to the right result and yes as mentioned by&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp; please order the data using order by clause for the rows to appear properly , also check&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/April2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Peek.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/April2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Peek.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;for better understanding on peek function&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 11:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Peek-to-fill-empty-rows-but-how-can-I-limit-it-to-matching/m-p/1588949#M43171</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2019-06-06T11:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using Peek() to fill empty rows - but how can I limit it to matching ID?</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Peek-to-fill-empty-rows-but-how-can-I-limit-it-to-matching/m-p/1588958#M43172</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/50189"&gt;@anushree1&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 11:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Peek-to-fill-empty-rows-but-how-can-I-limit-it-to-matching/m-p/1588958#M43172</guid>
      <dc:creator>Perus_Pena</dc:creator>
      <dc:date>2019-06-06T11:12:53Z</dc:date>
    </item>
  </channel>
</rss>

