<?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 Apply group header to rows. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Apply-group-header-to-rows/m-p/895658#M311762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need to fetch the names in blue and apply them to each row in a new column.&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RAW DATA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" height="183" src="https://community.qlik.com/legacyfs/online/88164_Capture.JPG" width="436" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESIRED RESULT IN QlikVieW&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/88165_Capture1.JPG" style="width: 620px; height: 146px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jun 2015 12:51:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-02T12:51:48Z</dc:date>
    <item>
      <title>Apply group header to rows.</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-group-header-to-rows/m-p/895658#M311762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need to fetch the names in blue and apply them to each row in a new column.&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RAW DATA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" height="183" src="https://community.qlik.com/legacyfs/online/88164_Capture.JPG" width="436" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESIRED RESULT IN QlikVieW&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/88165_Capture1.JPG" style="width: 620px; height: 146px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 12:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-group-header-to-rows/m-p/895658#M311762</guid>
      <dc:creator />
      <dc:date>2015-06-02T12:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Apply group header to rows.</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-group-header-to-rows/m-p/895659#M311763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With peek() or previous() you could grab previous rows - see also: &lt;A href="https://community.qlik.com/qlik-blogpost/3048"&gt;Peek() vs Previous() – When to Use Each&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and just written down without testing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * where len(Side) &amp;gt;= 1;&lt;/P&gt;&lt;P&gt;Load *, if(len(peek('Side') = 0, peek('BalancePool')) as Name From RawData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 13:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-group-header-to-rows/m-p/895659#M311763</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-06-02T13:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Apply group header to rows.</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-group-header-to-rows/m-p/895660#M311764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks a good start - you may also need this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load * where len(Side) &amp;gt;= 1;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load *, if(len(peek(Side) = 0, peek(BalancePool), peek(Name)) as Name From RawData;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;to populate Name if there is more than one row under one heading.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 13:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-group-header-to-rows/m-p/895660#M311764</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-06-02T13:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Apply group header to rows.</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-group-header-to-rows/m-p/895661#M311765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks promising!&lt;/P&gt;&lt;P&gt;Im a bit of a nube, so how would you implement this?&lt;/P&gt;&lt;P&gt;Something like the below?&lt;/P&gt;&lt;P&gt;Also, can you see what might be wrong with the IF-statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Directory;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BalancePool&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Side&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Balance Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Available Balance]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Avail Bal DCIP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Booked Balance]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;testBalances.xls&lt;BR /&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;biff&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; [(020)Balance Report$]);&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Side&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;gt;= 1;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; *, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 8pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Side&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) = 0, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BalancePool&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 13:42:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-group-header-to-rows/m-p/895661#M311765</guid>
      <dc:creator />
      <dc:date>2015-06-02T13:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Apply group header to rows.</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-group-header-to-rows/m-p/895662#M311766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you pls give me a QV-file example?&lt;/P&gt;&lt;P&gt;Would make my day! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 06:50:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-group-header-to-rows/m-p/895662#M311766</guid>
      <dc:creator />
      <dc:date>2015-06-04T06:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Apply group header to rows.</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-group-header-to-rows/m-p/895663#M311767</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TestBalances:&lt;/P&gt;&lt;P&gt;Load *, if(len(peek('Side')) = 0, peek('BalancePool'), Peek('Name')) as Name; &lt;/P&gt;&lt;P&gt;LOAD BalancePool, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Side, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Balance Date], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Available Balance], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Avail Bal DCIP], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Booked Balance]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;testBalances.xls&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is [(020)Balance Report$]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD * Resident TestBalances Where IsNum(BalancePool);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table TestBalances;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 07:11:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-group-header-to-rows/m-p/895663#M311767</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2015-06-04T07:11:49Z</dc:date>
    </item>
  </channel>
</rss>

