<?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: Create table which expands horizontally in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-table-which-expands-horizontally/m-p/2529483#M15134</link>
    <description>&lt;P&gt;Perhaps this example can be useful. I loaded the test script that you get from pressing "ctrl 0 0" in script editor and I'm using the table "ASCII" in this example. The top table shows the contents of that table, the bottom table is hopefully what you want to achieve.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="henrikalmen_1-1756978499898.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183393i8AEE693819B08C6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="henrikalmen_1-1756978499898.png" alt="henrikalmen_1-1756978499898.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using a pivot table. The row dimension is this expression:&amp;nbsp;&lt;STRONG&gt;=valuelist('The alpha value','The num value')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;As column dimension I used the field&amp;nbsp;&lt;STRONG&gt;Num&lt;/STRONG&gt; (that would be Country with your data).&lt;/P&gt;&lt;P&gt;The value expression is:&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;=pick(match(Valuelist('The alpha value','The num value'),'The alpha value','The num value'),AsciiAlpha,AsciiNum)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The row dimension will iterate over the values given to the valuelist function. The value expression checks each value in the valuelist, and if the value matches the value in the row dimension (the row valuelist), the correct field will be used.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Sep 2025 09:38:18 GMT</pubDate>
    <dc:creator>henrikalmen</dc:creator>
    <dc:date>2025-09-04T09:38:18Z</dc:date>
    <item>
      <title>Create table which expands horizontally</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-table-which-expands-horizontally/m-p/2528404#M15110</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;We want to create a report using similar function as levels, but have them displayed horizontally&lt;BR /&gt;(So the data would grow Left to Right rather than the standard Top to Bottom)&lt;BR /&gt;&lt;BR /&gt;For example, while the standard Levels could create tables such as below which expands vertically,&lt;BR /&gt;Country A - Currency a - Population aa&lt;BR /&gt;Country B - Currency b - Population bb&lt;BR /&gt;Country C - Currency c - Population cc&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;We want them expand horizontally, like&lt;BR /&gt;Country A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Country B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Country C&lt;BR /&gt;Currency a&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Currency b&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Currency c&lt;BR /&gt;Population aa&amp;nbsp; &amp;nbsp; Population bb&amp;nbsp; &amp;nbsp; Population cc ................&lt;BR /&gt;&lt;BR /&gt;Looking at the past forum QAs, I see that Nprinting didn't support this functionality a few years ago,&lt;BR /&gt;but wanted to know if this is still the case&lt;BR /&gt;If not, could someone please advise any idea to realize these ?&lt;BR /&gt;(We've also explored PixelPerfect but we found it difficult to create a team that could support maintenance in the long term)&lt;BR /&gt;&lt;BR /&gt;Please kindly let me know if there's any other info to be provided from my end, Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2025 09:17:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-table-which-expands-horizontally/m-p/2528404#M15110</guid>
      <dc:creator>ykk</dc:creator>
      <dc:date>2025-08-26T09:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create table which expands horizontally</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-table-which-expands-horizontally/m-p/2529253#M15129</link>
      <description>&lt;P&gt;Hi I have this script for pivoting crosstable. This is good guide&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Design/The-Generic-Load/ba-p/1473470" target="_blank"&gt;The Generic Load - Qlik Community - 1473470&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;   Set vListOfTables = ;

   For vTableNo = 0 to NoOfTables()

      Let vTableName = TableName($(vTableNo)) ;

      If Subfield(vTableName,'.',1)='Generic' Then

         Let vListOfTables = vListOfTables &amp;amp; If(Len(vListOfTables)&amp;gt;0,',') &amp;amp; Chr(39) &amp;amp; vTableName &amp;amp; Chr(39) ;

      End If

   Next vTableNo
	 CombinedGenericTable:

   Load distinct [GlobalName] Resident data_loaded
   /*From Generic */
   /*RESIDENT '$(vTableName)' */
   /*FROM [lib://EMARK:DataFiles/SCEP_LineUp_2023_05.xlsx]*/
   ;

 

   For each vTableName in $(vListOfTables)

      /*Left*/OUTER Join (CombinedGenericTable) Load * Resident [$(vTableName)];

      Drop Table [$(vTableName)];

   Next vTableName&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 03 Sep 2025 07:34:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-table-which-expands-horizontally/m-p/2529253#M15129</guid>
      <dc:creator>MT4T</dc:creator>
      <dc:date>2025-09-03T07:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create table which expands horizontally</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-table-which-expands-horizontally/m-p/2529483#M15134</link>
      <description>&lt;P&gt;Perhaps this example can be useful. I loaded the test script that you get from pressing "ctrl 0 0" in script editor and I'm using the table "ASCII" in this example. The top table shows the contents of that table, the bottom table is hopefully what you want to achieve.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="henrikalmen_1-1756978499898.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183393i8AEE693819B08C6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="henrikalmen_1-1756978499898.png" alt="henrikalmen_1-1756978499898.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using a pivot table. The row dimension is this expression:&amp;nbsp;&lt;STRONG&gt;=valuelist('The alpha value','The num value')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;As column dimension I used the field&amp;nbsp;&lt;STRONG&gt;Num&lt;/STRONG&gt; (that would be Country with your data).&lt;/P&gt;&lt;P&gt;The value expression is:&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;=pick(match(Valuelist('The alpha value','The num value'),'The alpha value','The num value'),AsciiAlpha,AsciiNum)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The row dimension will iterate over the values given to the valuelist function. The value expression checks each value in the valuelist, and if the value matches the value in the row dimension (the row valuelist), the correct field will be used.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 09:38:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-table-which-expands-horizontally/m-p/2529483#M15134</guid>
      <dc:creator>henrikalmen</dc:creator>
      <dc:date>2025-09-04T09:38:18Z</dc:date>
    </item>
  </channel>
</rss>

