<?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 Crosstable/generic load settings in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Crosstable-generic-load-settings/m-p/2096667#M1224265</link>
    <description>&lt;P&gt;Hi all.&lt;BR /&gt;I have a table similar to this:&lt;BR /&gt;Translate:&lt;BR /&gt;Load *Inline [&lt;BR /&gt;source,&amp;nbsp; &amp;nbsp; ENG,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GER,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3_let_code&lt;BR /&gt;s1,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;English,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Deutsch,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; head_1&lt;BR /&gt;s1,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Select your language,&amp;nbsp;&amp;nbsp;Bitte wählen Sie Ihre Sprache, head_2&lt;BR /&gt;s1,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Customer Feedback,&amp;nbsp; &amp;nbsp; Kundenfeedback,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;head_3&lt;/P&gt;
&lt;P&gt;];&lt;BR /&gt;&lt;BR /&gt;And I need to make somehow crosstable load to receive this result:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;head_1&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;head_2&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;head_3&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;3_let_code&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;English&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Select your language&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;Customer Feedback&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;ENG&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="40px"&gt;
&lt;P&gt;Deutsch&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="40px"&gt;Bitte wählen Sie Ihre Sprache&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="40px"&gt;Kundenfeedback&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="40px"&gt;GER&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;And unfortunately I can't get how to&amp;nbsp; get desired result. Maybe someone could help me with the idea how to deal with this issue?&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jul 2023 08:45:24 GMT</pubDate>
    <dc:creator>Peony</dc:creator>
    <dc:date>2023-07-25T08:45:24Z</dc:date>
    <item>
      <title>Crosstable/generic load settings</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-generic-load-settings/m-p/2096667#M1224265</link>
      <description>&lt;P&gt;Hi all.&lt;BR /&gt;I have a table similar to this:&lt;BR /&gt;Translate:&lt;BR /&gt;Load *Inline [&lt;BR /&gt;source,&amp;nbsp; &amp;nbsp; ENG,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GER,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3_let_code&lt;BR /&gt;s1,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;English,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Deutsch,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; head_1&lt;BR /&gt;s1,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Select your language,&amp;nbsp;&amp;nbsp;Bitte wählen Sie Ihre Sprache, head_2&lt;BR /&gt;s1,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Customer Feedback,&amp;nbsp; &amp;nbsp; Kundenfeedback,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;head_3&lt;/P&gt;
&lt;P&gt;];&lt;BR /&gt;&lt;BR /&gt;And I need to make somehow crosstable load to receive this result:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;head_1&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;head_2&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;head_3&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;3_let_code&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;English&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Select your language&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;Customer Feedback&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;ENG&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="40px"&gt;
&lt;P&gt;Deutsch&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="40px"&gt;Bitte wählen Sie Ihre Sprache&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="40px"&gt;Kundenfeedback&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="40px"&gt;GER&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;And unfortunately I can't get how to&amp;nbsp; get desired result. Maybe someone could help me with the idea how to deal with this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 08:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-generic-load-settings/m-p/2096667#M1224265</guid>
      <dc:creator>Peony</dc:creator>
      <dc:date>2023-07-25T08:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable/generic load settings</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-generic-load-settings/m-p/2097182#M1224272</link>
      <description>&lt;LI-CODE lang="javascript"&gt;Translate:
Load * 
Inline[
source,ENG,GER,3_let_code
s1,English,Deutsch,head_1
s1,Selectyourlanguage,BittewählenSieIhreSprache,head_2
s1,CustomerFeedback,Kundenfeedback,head_3
];

// 1. Build a table with all languages from fieldnames
for i=1 to NoOfFields('Translate')
	fn=FieldName(i,'Translate')
	if not Match('$(fn)','source','3_let_code') then
		LangTab:
		load
		'$(fn)' as Language
		AutoGenerate 1;
	endif
next i

// 2. Generic load of all languages
for each lang in FieldValueList('Language')
	tmp:
	Generic LOAD
	'$(lang)' as Language,
	"3_let_code",
	"$(lang)"
	Resident Translate;
next lang

// 3. Join all generated tables
for i=NoOfTables() to 1 step -1
	let tn=TableName($(i));
	if WildMatch('$(tn)','tmp.*') then
		left join(LangTab)
		load * resident "$(tn)";
		
		drop table "$(tn)";
	end if
next i

// Finally
DROP table Translate;
RENAME Field Language to "3_let_code";&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 25 Jul 2023 20:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-generic-load-settings/m-p/2097182#M1224272</guid>
      <dc:creator>cwolf</dc:creator>
      <dc:date>2023-07-25T20:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable/generic load settings</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-generic-load-settings/m-p/2098601#M1224296</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/220"&gt;@cwolf&lt;/a&gt;&amp;nbsp; Thank you for a fresh ideas you shared&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;. This solution definitely forks for me.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 08:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-generic-load-settings/m-p/2098601#M1224296</guid>
      <dc:creator>Peony</dc:creator>
      <dc:date>2023-07-31T08:05:50Z</dc:date>
    </item>
  </channel>
</rss>

