<?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 A difficult table format requested in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/A-difficult-table-format-requested/m-p/2467216#M99314</link>
    <description>&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Hello,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d"&gt;&lt;SPAN class="ryNqvb"&gt;I have a green table below.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d"&gt;&lt;SPAN class="ryNqvb"&gt;I want to get out like a red table, but I couldn't. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="jCAhz JxVs2d"&gt;&lt;SPAN class="ryNqvb"&gt;I think I have to solve this on the script side.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Could you help?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Thanks.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&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="HKN1_0-1719922479494.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168767i3877672FF276B200/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HKN1_0-1719922479494.png" alt="HKN1_0-1719922479494.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2024 12:16:17 GMT</pubDate>
    <dc:creator>HKN1</dc:creator>
    <dc:date>2024-07-02T12:16:17Z</dc:date>
    <item>
      <title>A difficult table format requested</title>
      <link>https://community.qlik.com/t5/App-Development/A-difficult-table-format-requested/m-p/2467216#M99314</link>
      <description>&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Hello,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d"&gt;&lt;SPAN class="ryNqvb"&gt;I have a green table below.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d"&gt;&lt;SPAN class="ryNqvb"&gt;I want to get out like a red table, but I couldn't. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="jCAhz JxVs2d"&gt;&lt;SPAN class="ryNqvb"&gt;I think I have to solve this on the script side.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Could you help?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Thanks.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&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="HKN1_0-1719922479494.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168767i3877672FF276B200/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HKN1_0-1719922479494.png" alt="HKN1_0-1719922479494.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 12:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/A-difficult-table-format-requested/m-p/2467216#M99314</guid>
      <dc:creator>HKN1</dc:creator>
      <dc:date>2024-07-02T12:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: A difficult table format requested</title>
      <link>https://community.qlik.com/t5/App-Development/A-difficult-table-format-requested/m-p/2467246#M99316</link>
      <description>&lt;P&gt;I would do that on Load Script.&lt;/P&gt;
&lt;P&gt;To get the Responsible_ALL field you can use CONCAT:&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/May2024/Subsystems/Client/Content/QV_QlikView/Scripting/StringAggregationFunctions/concat.htm" target="_blank"&gt;Concat - script function | QlikView Help&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It will be something lik this:&lt;/P&gt;
&lt;PRE&gt;Owner &amp;amp; ' &amp;gt; ' &amp;amp; Concat(Responsible,' &amp;gt; ',CompletedDate) AS Responsible_ALL&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;All the other fields you can get with the appropriate Max Aggregations.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 12:56:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/A-difficult-table-format-requested/m-p/2467246#M99316</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2024-07-02T12:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: A difficult table format requested</title>
      <link>https://community.qlik.com/t5/App-Development/A-difficult-table-format-requested/m-p/2467294#M99321</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;How can I use it instead?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;' &amp;gt; '&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;chr(10102) .......&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&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="HKN1_0-1719931988931.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168783i106C253235E1FAF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HKN1_0-1719931988931.png" alt="HKN1_0-1719931988931.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 14:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/A-difficult-table-format-requested/m-p/2467294#M99321</guid>
      <dc:creator>HKN1</dc:creator>
      <dc:date>2024-07-02T14:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: A difficult table format requested</title>
      <link>https://community.qlik.com/t5/App-Development/A-difficult-table-format-requested/m-p/2467307#M99324</link>
      <description>&lt;P&gt;This is a very unusual request, but yes, you can do that. Following an example:&lt;/P&gt;
&lt;PRE&gt;TempSourceData:
LOAD 
    FormNo,
    Onwer,
    Responsible,
    Date
INLINE [
FormNo, Onwer, Responsible, Date
1, Owner1, Resp1, 6/24/2024
1, Owner1, Resp2, 6/25/2024
1, Owner1, Resp3, 6/26/2024
2, Owner2, Resp1, 6/12/2024
2, Owner2, Resp5, 6/13/2024
];

NoConcatenate

TempIndexes:
LOAD
	FormNo,
    Onwer,
    Responsible,
    Date,
    If(Not Match(FormNo, Peek(FormNo)),10102,Peek(Index)+1) AS Index
RESIDENT
	TempSourceData
ORDER BY
     FormNo,
     Date
;

DROP TABLE TempSourceData;



Final:
LOAD
	FormNo,
    Onwer &amp;amp; ' ' &amp;amp; CONCAT(Chr(Index) &amp;amp; ' ' &amp;amp; Responsible,'',Date) AS Responsible_ALL
RESIDENT
	TempIndexes
GROUP BY
	FormNo,
    Onwer
;

DROP TABLE TempIndexes;&lt;/PRE&gt;
&lt;P&gt;This is the output of my example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marksouzacosta_0-1719934625196.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168786i19CF2FDB98B4F71C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marksouzacosta_0-1719934625196.png" alt="marksouzacosta_0-1719934625196.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 15:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/A-difficult-table-format-requested/m-p/2467307#M99324</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2024-07-02T15:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: A difficult table format requested</title>
      <link>https://community.qlik.com/t5/App-Development/A-difficult-table-format-requested/m-p/2467691#M99381</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Thank you very much.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Great, it worked.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;&lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 14:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/A-difficult-table-format-requested/m-p/2467691#M99381</guid>
      <dc:creator>HKN1</dc:creator>
      <dc:date>2024-07-03T14:35:13Z</dc:date>
    </item>
  </channel>
</rss>

