<?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: Looping or creating a cross table dynamicly in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743044#M56933</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125582"&gt;@Dilie&lt;/a&gt; The problem is that you loaded the table twice.( Actually it wasn't you, but qlikview did an automatic concatenation)&lt;/P&gt;&lt;P&gt;so I added Noconcatenate and then at the end I deleted the first table.&lt;/P&gt;&lt;P&gt;for Qlikuser to my knowledge there is no better place to find them than here ‌‌&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;///////////////////////////////&lt;BR /&gt;LIB CONNECT TO 'Name connector (json connection string)';&lt;BR /&gt;//JSON CONNECTOR (TO JIRA)&lt;/P&gt;&lt;P&gt;RestConnectorMasterTable:&lt;BR /&gt;SQL SELECT&lt;BR /&gt;"__KEY_root",&lt;BR /&gt;(SELECT&lt;BR /&gt;"customfield_10110" AS "customfield_10110_u0",&lt;BR /&gt;"customfield_11200" AS "customfield_11200_u0",&lt;BR /&gt;"customfield_10111" AS "customfield_10111_u0",&lt;BR /&gt;"resolution" AS "resolution_u0",&lt;BR /&gt;"customfield_11202" AS "customfield_11202_u0",&lt;BR /&gt;"customfield_10500",&lt;BR /&gt;"customfield_10501",&lt;BR /&gt;"customfield_10107" AS "customfield_10107_u0",&lt;BR /&gt;"customfield_10900" AS "customfield_10900_u0",&lt;BR /&gt;"customfield_10108" AS "customfield_10108_u0",&lt;BR /&gt;"customfield_10901" AS "customfield_10901_u0",&lt;BR /&gt;"customfield_10902" AS "customfield_10902_u0",&lt;BR /&gt;"customfield_10903" AS "customfield_10903_u0",&lt;BR /&gt;"lastViewed" AS "lastViewed_u0",&lt;BR /&gt;"customfield_12002",&lt;BR /&gt;"customfield_10100" AS "customfield_10100_u0",&lt;BR /&gt;"customfield_10101" AS "customfield_10101_u0",&lt;BR /&gt;"customfield_12003" AS "customfield_12003_u0",&lt;BR /&gt;"customfield_10102" AS "customfield_10102_u0",&lt;BR /&gt;"labels",&lt;BR /&gt;"customfield_12005",&lt;BR /&gt;"customfield_10103" AS "customfield_10103_u0",&lt;BR /&gt;"customfield_10338" AS "customfield_10338_u0",&lt;BR /&gt;"timeestimate" AS "timeestimate_u0",&lt;BR /&gt;"aggregatetimeoriginalestimate" AS "aggregatetimeoriginalestimate_u0",&lt;BR /&gt;"issuelinks",&lt;BR /&gt;"assignee" AS "assignee_u0",&lt;BR /&gt;"status",&lt;BR /&gt;"components",&lt;BR /&gt;"customfield_11300" AS "customfield_11300_u0",&lt;BR /&gt;"aggregatetimeestimate" AS "aggregatetimeestimate_u0",&lt;BR /&gt;"creator",&lt;BR /&gt;"subtasks",&lt;BR /&gt;"reporter",&lt;BR /&gt;"customfield_12101" AS "customfield_12101_u0",&lt;BR /&gt;"customfield_12100" AS "customfield_12100_u0",&lt;BR /&gt;"aggregateprogress",&lt;BR /&gt;"customfield_10200",&lt;BR /&gt;"customfield_11801",&lt;BR /&gt;"customfield_10315" AS "customfield_10315_u0",&lt;BR /&gt;"customfield_11800",&lt;BR /&gt;"customfield_10316" AS "customfield_10316_u0",&lt;BR /&gt;"progress" AS "progress_u1",&lt;BR /&gt;"issuetype",&lt;BR /&gt;"timespent" AS "timespent_u0",&lt;BR /&gt;"project",&lt;BR /&gt;"aggregatetimespent" AS "aggregatetimespent_u0",&lt;BR /&gt;"customfield_11400",&lt;BR /&gt;"customfield_10303" AS "customfield_10303_u0",&lt;BR /&gt;"customfield_10700" AS "customfield_10700_u0",&lt;BR /&gt;"customfield_10701" AS "customfield_10701_u0",&lt;BR /&gt;"customfield_10702" AS "customfield_10702_u0",&lt;BR /&gt;"resolutiondate" AS "resolutiondate_u0",&lt;BR /&gt;"workratio" AS "workratio_u0",&lt;BR /&gt;"watches"&lt;BR /&gt;FROM "names" FK "__FK_names")&lt;BR /&gt;FROM JSON (wrap on) "root" PK "__KEY_root";&lt;/P&gt;&lt;P&gt;[names]:&lt;BR /&gt;noconcatenate&lt;/P&gt;&lt;P&gt;LOAD [customfield_10110_u0] AS [customfield_10110_u0],&lt;BR /&gt;[customfield_11200_u0] AS [customfield_11200_u0],&lt;BR /&gt;[customfield_10111_u0] AS [customfield_10111_u0],&lt;BR /&gt;[resolution_u0] AS [resolution_u0],&lt;BR /&gt;[customfield_11202_u0] AS [customfield_11202_u0],&lt;BR /&gt;[customfield_10500],&lt;BR /&gt;[customfield_10501],&lt;BR /&gt;[customfield_10107_u0] AS [customfield_10107_u0],&lt;BR /&gt;[customfield_10900_u0] AS [customfield_10900_u0],&lt;BR /&gt;[customfield_10108_u0] AS [customfield_10108_u0],&lt;BR /&gt;[customfield_10901_u0] AS [customfield_10901_u0],&lt;BR /&gt;[customfield_10902_u0] AS [customfield_10902_u0],&lt;BR /&gt;[customfield_10903_u0] AS [customfield_10903_u0],&lt;BR /&gt;[lastViewed_u0] AS [lastViewed_u0],&lt;BR /&gt;[customfield_12002],&lt;BR /&gt;[customfield_10100_u0] AS [customfield_10100_u0],&lt;BR /&gt;[customfield_10101_u0] AS [customfield_10101_u0],&lt;BR /&gt;[customfield_12003_u0] AS [customfield_12003_u0],&lt;BR /&gt;[customfield_10102_u0] AS [customfield_10102_u0],&lt;BR /&gt;[labels],&lt;BR /&gt;[customfield_12005],&lt;BR /&gt;[customfield_10103_u0] AS [customfield_10103_u0],&lt;BR /&gt;[customfield_10338_u0] AS [customfield_10338_u0],&lt;BR /&gt;[timeestimate_u0] AS [timeestimate_u0],&lt;BR /&gt;[aggregatetimeoriginalestimate_u0] AS [aggregatetimeoriginalestimate_u0],&lt;BR /&gt;[issuelinks],&lt;BR /&gt;[assignee_u0] AS [assignee_u0],&lt;BR /&gt;[status],&lt;BR /&gt;[components],&lt;BR /&gt;[customfield_11300_u0] AS [customfield_11300_u0],&lt;BR /&gt;[aggregatetimeestimate_u0] AS [aggregatetimeestimate_u0],&lt;BR /&gt;[creator],&lt;BR /&gt;[subtasks],&lt;BR /&gt;[reporter],&lt;BR /&gt;[customfield_12101_u0] AS [customfield_12101_u0],&lt;BR /&gt;[customfield_12100_u0] AS [customfield_12100_u0],&lt;BR /&gt;[aggregateprogress],&lt;BR /&gt;[customfield_10200],&lt;BR /&gt;[customfield_11801],&lt;BR /&gt;[customfield_10315_u0] AS [customfield_10315_u0],&lt;BR /&gt;[customfield_11800],&lt;BR /&gt;[customfield_10316_u0] AS [customfield_10316_u0],&lt;BR /&gt;[progress_u1] AS [progress_u1],&lt;BR /&gt;[issuetype],&lt;BR /&gt;[timespent_u0] AS [timespent_u0],&lt;BR /&gt;[project],&lt;BR /&gt;[aggregatetimespent_u0] AS [aggregatetimespent_u0],&lt;BR /&gt;[customfield_11400],&lt;BR /&gt;[customfield_10303_u0] AS [customfield_10303_u0],&lt;BR /&gt;[customfield_10700_u0] AS [customfield_10700_u0],&lt;BR /&gt;[customfield_10701_u0] AS [customfield_10701_u0],&lt;BR /&gt;[customfield_10702_u0] AS [customfield_10702_u0],&lt;BR /&gt;[resolutiondate_u0] AS [resolutiondate_u0],&lt;BR /&gt;[workratio_u0] AS [workratio_u0],&lt;BR /&gt;[watches]&lt;BR /&gt;RESIDENT RestConnectorMasterTable&lt;BR /&gt;WHERE NOT IsNull([__FK_names]);&lt;/P&gt;&lt;P&gt;drop table RestConnectorMasterTable;&lt;/P&gt;&lt;P&gt;for i=1 to NoOfFields('names')&lt;/P&gt;&lt;P&gt;let VFieldName=FieldName(i,'names');&lt;/P&gt;&lt;P&gt;Linked_Names:&lt;/P&gt;&lt;P&gt;load distinct&lt;/P&gt;&lt;P&gt;'$(VFieldName)' as id,&lt;/P&gt;&lt;P&gt;$(VFieldName) as value&lt;/P&gt;&lt;P&gt;resident names;&lt;/P&gt;&lt;P&gt;next;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DROP TABLE names;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Sep 2020 08:41:05 GMT</pubDate>
    <dc:creator>Taoufiq_Zarra</dc:creator>
    <dc:date>2020-09-11T08:41:05Z</dc:date>
    <item>
      <title>Looping or creating a cross table dynamicly</title>
      <link>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743010#M56919</link>
      <description>&lt;P&gt;I asked a question before here.&lt;/P&gt;&lt;P&gt;My data is now like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;custom_field1 | custom_field2 | custom_field3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Rank&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Support&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want it to change to this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;id&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; | value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;custom_field1&amp;nbsp; | Rank&lt;/P&gt;&lt;P&gt;custom_field2&amp;nbsp; | Support&lt;/P&gt;&lt;P&gt;custom_field3&amp;nbsp; | Help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Someone gave me a answer to use this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Crosstable(Entity, Value, 1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load '' as dummy, custom_field1, custom_field2, custom_field3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From Source ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Drop field dummy;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It worked! So I got a lot of custom fields. How loop through my existing resident to add every field with value to my cross table?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 07:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743010#M56919</guid>
      <dc:creator>Dilie</dc:creator>
      <dc:date>2020-09-11T07:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Looping or creating a cross table dynamicly</title>
      <link>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743013#M56920</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125582"&gt;@Dilie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you have a lot and you want to use loop here's a version :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Table:

load * inline [
custom_field1,custom_field2,custom_field3
Rank,Support,Help
];

for i=1 to NoOfFields('Table')

  let VFieldName=FieldName(i,'Table');

  Table_Name:

  load distinct

       '$(VFieldName)' as id,

        $(VFieldName) as value

resident Table;

next;
drop table Table;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 377px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/40379i07B30F50E2A86930/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 07:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743013#M56920</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-09-11T07:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Looping or creating a cross table dynamicly</title>
      <link>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743017#M56921</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;for i=1 to NoOfFields('names')

  let VFieldName=FieldName(i,'names');

  Linked_Names:

  load distinct

       '$(VFieldName)' as id,

        $(VFieldName) as value

resident RestConnectorMasterTable;

next;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed it to this code, I can output all my fields now. The only problem is that all fields get added 2 times, 1 time with value and the other time without value..? I only loop 1 time through the NoOfFields right?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 07:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743017#M56921</guid>
      <dc:creator>Dilie</dc:creator>
      <dc:date>2020-09-11T07:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Looping or creating a cross table dynamicly</title>
      <link>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743022#M56923</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125582"&gt;@Dilie&lt;/a&gt;&amp;nbsp; yes I forgot to change 3&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Table:

load * inline [
custom_field1,custom_field2,custom_field3
Rank,Support,Help
];

for i=1 to NoOfFields('Table')

  let VFieldName=FieldName(i,'Table');

  Table_Name:

  load distinct

       '$(VFieldName)' as id,

        $(VFieldName) as value

resident Table;

next;
drop table Table;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you share the input file in the sample I'm using I can't find any errors !&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 07:51:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743022#M56923</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-09-11T07:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Looping or creating a cross table dynamicly</title>
      <link>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743023#M56924</link>
      <description>&lt;LI-CODE lang="python"&gt;for i=1 to NoOfFields('RestConnectorMasterTable')

  let VFieldName=FieldName(i,'RestConnectorMasterTable');

  Linked_Names:

  load distinct

       '$(VFieldName)' as id,

        $(VFieldName) as value

resident RestConnectorMasterTable;

next;&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 11 Sep 2020 07:52:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743023#M56924</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-09-11T07:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Looping or creating a cross table dynamicly</title>
      <link>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743027#M56925</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am still getting the same thing, code looks cleaner now, thanks for that!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlikHelp.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/40381i58D0624EC7468947/image-size/medium?v=v2&amp;amp;px=400" role="button" title="qlikHelp.PNG" alt="qlikHelp.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;First it is setting the value, then I get a duplicate row without value. I see nothing wrong with the for loop that makes the data load twice?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 07:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743027#M56925</guid>
      <dc:creator>Dilie</dc:creator>
      <dc:date>2020-09-11T07:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Looping or creating a cross table dynamicly</title>
      <link>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743029#M56926</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125582"&gt;@Dilie&lt;/a&gt;&amp;nbsp; can you share a sample ?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 08:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743029#M56926</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-09-11T08:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Looping or creating a cross table dynamicly</title>
      <link>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743033#M56929</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what you mean with a sample but I'll try to provide you as much information as possible.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;LIB CONNECT TO 'Name connector (json connection string)';
//JSON CONNECTOR (TO JIRA)

RestConnectorMasterTable:
SQL SELECT 
	"__KEY_root",
	(SELECT 
		"customfield_10110" AS "customfield_10110_u0",
		"customfield_11200" AS "customfield_11200_u0",
		"customfield_10111" AS "customfield_10111_u0",
		"resolution" AS "resolution_u0",
		"customfield_11202" AS "customfield_11202_u0",
		"customfield_10500",
		"customfield_10501",
		"customfield_10107" AS "customfield_10107_u0",
		"customfield_10900" AS "customfield_10900_u0",
		"customfield_10108" AS "customfield_10108_u0",
		"customfield_10901" AS "customfield_10901_u0",
		"customfield_10902" AS "customfield_10902_u0",
		"customfield_10903" AS "customfield_10903_u0",
		"lastViewed" AS "lastViewed_u0",
		"customfield_12002",
		"customfield_10100" AS "customfield_10100_u0",
		"customfield_10101" AS "customfield_10101_u0",
		"customfield_12003" AS "customfield_12003_u0",
		"customfield_10102" AS "customfield_10102_u0",
		"labels",
		"customfield_12005",
		"customfield_10103" AS "customfield_10103_u0",
		"customfield_10338" AS "customfield_10338_u0",
		"timeestimate" AS "timeestimate_u0",
		"aggregatetimeoriginalestimate" AS "aggregatetimeoriginalestimate_u0",
		"issuelinks",
		"assignee" AS "assignee_u0",
		"status",
		"components",
		"customfield_11300" AS "customfield_11300_u0",
		"aggregatetimeestimate" AS "aggregatetimeestimate_u0",
		"creator",
		"subtasks",
		"reporter",
		"customfield_12101" AS "customfield_12101_u0",
		"customfield_12100" AS "customfield_12100_u0",
		"aggregateprogress",
		"customfield_10200",
		"customfield_11801",
		"customfield_10315" AS "customfield_10315_u0",
		"customfield_11800",
		"customfield_10316" AS "customfield_10316_u0",
		"progress" AS "progress_u1",
		"issuetype",
		"timespent" AS "timespent_u0",
		"project",
		"aggregatetimespent" AS "aggregatetimespent_u0",
		"customfield_11400",
		"customfield_10303" AS "customfield_10303_u0",
		"customfield_10700" AS "customfield_10700_u0",
		"customfield_10701" AS "customfield_10701_u0",
		"customfield_10702" AS "customfield_10702_u0",
		"resolutiondate" AS "resolutiondate_u0",
		"workratio" AS "workratio_u0",
		"watches"
	FROM "names" FK "__FK_names")
FROM JSON (wrap on) "root" PK "__KEY_root";

[names]:
LOAD	[customfield_10110_u0] AS [customfield_10110_u0],
	[customfield_11200_u0] AS [customfield_11200_u0],
	[customfield_10111_u0] AS [customfield_10111_u0],
	[resolution_u0] AS [resolution_u0],
	[customfield_11202_u0] AS [customfield_11202_u0],
	[customfield_10500],
	[customfield_10501],
	[customfield_10107_u0] AS [customfield_10107_u0],
	[customfield_10900_u0] AS [customfield_10900_u0],
	[customfield_10108_u0] AS [customfield_10108_u0],
	[customfield_10901_u0] AS [customfield_10901_u0],
	[customfield_10902_u0] AS [customfield_10902_u0],
	[customfield_10903_u0] AS [customfield_10903_u0],
	[lastViewed_u0] AS [lastViewed_u0],
	[customfield_12002],
	[customfield_10100_u0] AS [customfield_10100_u0],
	[customfield_10101_u0] AS [customfield_10101_u0],
	[customfield_12003_u0] AS [customfield_12003_u0],
	[customfield_10102_u0] AS [customfield_10102_u0],
	[labels],
	[customfield_12005],
	[customfield_10103_u0] AS [customfield_10103_u0],
	[customfield_10338_u0] AS [customfield_10338_u0],
	[timeestimate_u0] AS [timeestimate_u0],
	[aggregatetimeoriginalestimate_u0] AS [aggregatetimeoriginalestimate_u0],
	[issuelinks],
	[assignee_u0] AS [assignee_u0],
	[status],
	[components],
	[customfield_11300_u0] AS [customfield_11300_u0],
	[aggregatetimeestimate_u0] AS [aggregatetimeestimate_u0],
	[creator],
	[subtasks],
	[reporter],
	[customfield_12101_u0] AS [customfield_12101_u0],
	[customfield_12100_u0] AS [customfield_12100_u0],
	[aggregateprogress],
	[customfield_10200],
	[customfield_11801],
	[customfield_10315_u0] AS [customfield_10315_u0],
	[customfield_11800],
	[customfield_10316_u0] AS [customfield_10316_u0],
	[progress_u1] AS [progress_u1],
	[issuetype],
	[timespent_u0] AS [timespent_u0],
	[project],
	[aggregatetimespent_u0] AS [aggregatetimespent_u0],
	[customfield_11400],
	[customfield_10303_u0] AS [customfield_10303_u0],
	[customfield_10700_u0] AS [customfield_10700_u0],
	[customfield_10701_u0] AS [customfield_10701_u0],
	[customfield_10702_u0] AS [customfield_10702_u0],
	[resolutiondate_u0] AS [resolutiondate_u0],
	[workratio_u0] AS [workratio_u0],
	[watches]
RESIDENT RestConnectorMasterTable
WHERE NOT IsNull([__FK_names]);



for i=1 to NoOfFields('RestConnectorMasterTable')

  let VFieldName=FieldName(i,'RestConnectorMasterTable');

  Linked_Names:

  load distinct

       '$(VFieldName)' as id,

        $(VFieldName) as value

resident RestConnectorMasterTable;

next;


DROP TABLE RestConnectorMasterTable;

&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need any more info then I would like to know it. Is there any place where I can chat with other Qlik users outside of this forum?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 08:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743033#M56929</guid>
      <dc:creator>Dilie</dc:creator>
      <dc:date>2020-09-11T08:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Looping or creating a cross table dynamicly</title>
      <link>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743035#M56930</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was my other forum post with the initial question:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-App-Development/Changing-row-column-to-value/m-p/1742780#M56894" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense-App-Development/Changing-row-column-to-value/m-p/1742780#M56894&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 08:09:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743035#M56930</guid>
      <dc:creator>Dilie</dc:creator>
      <dc:date>2020-09-11T08:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Looping or creating a cross table dynamicly</title>
      <link>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743036#M56931</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125582"&gt;@Dilie&lt;/a&gt;&amp;nbsp; can you try this version :&lt;/P&gt;&lt;LI-CODE lang="python"&gt;LIB CONNECT TO 'Name connector (json connection string)';
//JSON CONNECTOR (TO JIRA)

RestConnectorMasterTable:
SQL SELECT 
    "__KEY_root",
    (SELECT 
        "customfield_10110" AS "customfield_10110_u0",
        "customfield_11200" AS "customfield_11200_u0",
        "customfield_10111" AS "customfield_10111_u0",
        "resolution" AS "resolution_u0",
        "customfield_11202" AS "customfield_11202_u0",
        "customfield_10500",
        "customfield_10501",
        "customfield_10107" AS "customfield_10107_u0",
        "customfield_10900" AS "customfield_10900_u0",
        "customfield_10108" AS "customfield_10108_u0",
        "customfield_10901" AS "customfield_10901_u0",
        "customfield_10902" AS "customfield_10902_u0",
        "customfield_10903" AS "customfield_10903_u0",
        "lastViewed" AS "lastViewed_u0",
        "customfield_12002",
        "customfield_10100" AS "customfield_10100_u0",
        "customfield_10101" AS "customfield_10101_u0",
        "customfield_12003" AS "customfield_12003_u0",
        "customfield_10102" AS "customfield_10102_u0",
        "labels",
        "customfield_12005",
        "customfield_10103" AS "customfield_10103_u0",
        "customfield_10338" AS "customfield_10338_u0",
        "timeestimate" AS "timeestimate_u0",
        "aggregatetimeoriginalestimate" AS "aggregatetimeoriginalestimate_u0",
        "issuelinks",
        "assignee" AS "assignee_u0",
        "status",
        "components",
        "customfield_11300" AS "customfield_11300_u0",
        "aggregatetimeestimate" AS "aggregatetimeestimate_u0",
        "creator",
        "subtasks",
        "reporter",
        "customfield_12101" AS "customfield_12101_u0",
        "customfield_12100" AS "customfield_12100_u0",
        "aggregateprogress",
        "customfield_10200",
        "customfield_11801",
        "customfield_10315" AS "customfield_10315_u0",
        "customfield_11800",
        "customfield_10316" AS "customfield_10316_u0",
        "progress" AS "progress_u1",
        "issuetype",
        "timespent" AS "timespent_u0",
        "project",
        "aggregatetimespent" AS "aggregatetimespent_u0",
        "customfield_11400",
        "customfield_10303" AS "customfield_10303_u0",
        "customfield_10700" AS "customfield_10700_u0",
        "customfield_10701" AS "customfield_10701_u0",
        "customfield_10702" AS "customfield_10702_u0",
        "resolutiondate" AS "resolutiondate_u0",
        "workratio" AS "workratio_u0",
        "watches"
    FROM "names" FK "__FK_names")
FROM JSON (wrap on) "root" PK "__KEY_root";

[names]:
noconcatenate

LOAD    [customfield_10110_u0] AS [customfield_10110_u0],
    [customfield_11200_u0] AS [customfield_11200_u0],
    [customfield_10111_u0] AS [customfield_10111_u0],
    [resolution_u0] AS [resolution_u0],
    [customfield_11202_u0] AS [customfield_11202_u0],
    [customfield_10500],
    [customfield_10501],
    [customfield_10107_u0] AS [customfield_10107_u0],
    [customfield_10900_u0] AS [customfield_10900_u0],
    [customfield_10108_u0] AS [customfield_10108_u0],
    [customfield_10901_u0] AS [customfield_10901_u0],
    [customfield_10902_u0] AS [customfield_10902_u0],
    [customfield_10903_u0] AS [customfield_10903_u0],
    [lastViewed_u0] AS [lastViewed_u0],
    [customfield_12002],
    [customfield_10100_u0] AS [customfield_10100_u0],
    [customfield_10101_u0] AS [customfield_10101_u0],
    [customfield_12003_u0] AS [customfield_12003_u0],
    [customfield_10102_u0] AS [customfield_10102_u0],
    [labels],
    [customfield_12005],
    [customfield_10103_u0] AS [customfield_10103_u0],
    [customfield_10338_u0] AS [customfield_10338_u0],
    [timeestimate_u0] AS [timeestimate_u0],
    [aggregatetimeoriginalestimate_u0] AS [aggregatetimeoriginalestimate_u0],
    [issuelinks],
    [assignee_u0] AS [assignee_u0],
    [status],
    [components],
    [customfield_11300_u0] AS [customfield_11300_u0],
    [aggregatetimeestimate_u0] AS [aggregatetimeestimate_u0],
    [creator],
    [subtasks],
    [reporter],
    [customfield_12101_u0] AS [customfield_12101_u0],
    [customfield_12100_u0] AS [customfield_12100_u0],
    [aggregateprogress],
    [customfield_10200],
    [customfield_11801],
    [customfield_10315_u0] AS [customfield_10315_u0],
    [customfield_11800],
    [customfield_10316_u0] AS [customfield_10316_u0],
    [progress_u1] AS [progress_u1],
    [issuetype],
    [timespent_u0] AS [timespent_u0],
    [project],
    [aggregatetimespent_u0] AS [aggregatetimespent_u0],
    [customfield_11400],
    [customfield_10303_u0] AS [customfield_10303_u0],
    [customfield_10700_u0] AS [customfield_10700_u0],
    [customfield_10701_u0] AS [customfield_10701_u0],
    [customfield_10702_u0] AS [customfield_10702_u0],
    [resolutiondate_u0] AS [resolutiondate_u0],
    [workratio_u0] AS [workratio_u0],
    [watches]
RESIDENT RestConnectorMasterTable
WHERE NOT IsNull([__FK_names]);

drop table RestConnectorMasterTable;

for i=1 to NoOfFields('names')

  let VFieldName=FieldName(i,'names');

  Linked_Names:

  load distinct

       '$(VFieldName)' as id,

        $(VFieldName) as value

resident names;

next;


DROP TABLE names;&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 11 Sep 2020 08:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743036#M56931</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-09-11T08:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Looping or creating a cross table dynamicly</title>
      <link>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743041#M56932</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks it is working well now! Could you explain me what went wrong? And i&lt;SPAN&gt;s there any place where I can chat with other Qlik users outside of this forum?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 08:32:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743041#M56932</guid>
      <dc:creator>Dilie</dc:creator>
      <dc:date>2020-09-11T08:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Looping or creating a cross table dynamicly</title>
      <link>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743044#M56933</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125582"&gt;@Dilie&lt;/a&gt; The problem is that you loaded the table twice.( Actually it wasn't you, but qlikview did an automatic concatenation)&lt;/P&gt;&lt;P&gt;so I added Noconcatenate and then at the end I deleted the first table.&lt;/P&gt;&lt;P&gt;for Qlikuser to my knowledge there is no better place to find them than here ‌‌&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;///////////////////////////////&lt;BR /&gt;LIB CONNECT TO 'Name connector (json connection string)';&lt;BR /&gt;//JSON CONNECTOR (TO JIRA)&lt;/P&gt;&lt;P&gt;RestConnectorMasterTable:&lt;BR /&gt;SQL SELECT&lt;BR /&gt;"__KEY_root",&lt;BR /&gt;(SELECT&lt;BR /&gt;"customfield_10110" AS "customfield_10110_u0",&lt;BR /&gt;"customfield_11200" AS "customfield_11200_u0",&lt;BR /&gt;"customfield_10111" AS "customfield_10111_u0",&lt;BR /&gt;"resolution" AS "resolution_u0",&lt;BR /&gt;"customfield_11202" AS "customfield_11202_u0",&lt;BR /&gt;"customfield_10500",&lt;BR /&gt;"customfield_10501",&lt;BR /&gt;"customfield_10107" AS "customfield_10107_u0",&lt;BR /&gt;"customfield_10900" AS "customfield_10900_u0",&lt;BR /&gt;"customfield_10108" AS "customfield_10108_u0",&lt;BR /&gt;"customfield_10901" AS "customfield_10901_u0",&lt;BR /&gt;"customfield_10902" AS "customfield_10902_u0",&lt;BR /&gt;"customfield_10903" AS "customfield_10903_u0",&lt;BR /&gt;"lastViewed" AS "lastViewed_u0",&lt;BR /&gt;"customfield_12002",&lt;BR /&gt;"customfield_10100" AS "customfield_10100_u0",&lt;BR /&gt;"customfield_10101" AS "customfield_10101_u0",&lt;BR /&gt;"customfield_12003" AS "customfield_12003_u0",&lt;BR /&gt;"customfield_10102" AS "customfield_10102_u0",&lt;BR /&gt;"labels",&lt;BR /&gt;"customfield_12005",&lt;BR /&gt;"customfield_10103" AS "customfield_10103_u0",&lt;BR /&gt;"customfield_10338" AS "customfield_10338_u0",&lt;BR /&gt;"timeestimate" AS "timeestimate_u0",&lt;BR /&gt;"aggregatetimeoriginalestimate" AS "aggregatetimeoriginalestimate_u0",&lt;BR /&gt;"issuelinks",&lt;BR /&gt;"assignee" AS "assignee_u0",&lt;BR /&gt;"status",&lt;BR /&gt;"components",&lt;BR /&gt;"customfield_11300" AS "customfield_11300_u0",&lt;BR /&gt;"aggregatetimeestimate" AS "aggregatetimeestimate_u0",&lt;BR /&gt;"creator",&lt;BR /&gt;"subtasks",&lt;BR /&gt;"reporter",&lt;BR /&gt;"customfield_12101" AS "customfield_12101_u0",&lt;BR /&gt;"customfield_12100" AS "customfield_12100_u0",&lt;BR /&gt;"aggregateprogress",&lt;BR /&gt;"customfield_10200",&lt;BR /&gt;"customfield_11801",&lt;BR /&gt;"customfield_10315" AS "customfield_10315_u0",&lt;BR /&gt;"customfield_11800",&lt;BR /&gt;"customfield_10316" AS "customfield_10316_u0",&lt;BR /&gt;"progress" AS "progress_u1",&lt;BR /&gt;"issuetype",&lt;BR /&gt;"timespent" AS "timespent_u0",&lt;BR /&gt;"project",&lt;BR /&gt;"aggregatetimespent" AS "aggregatetimespent_u0",&lt;BR /&gt;"customfield_11400",&lt;BR /&gt;"customfield_10303" AS "customfield_10303_u0",&lt;BR /&gt;"customfield_10700" AS "customfield_10700_u0",&lt;BR /&gt;"customfield_10701" AS "customfield_10701_u0",&lt;BR /&gt;"customfield_10702" AS "customfield_10702_u0",&lt;BR /&gt;"resolutiondate" AS "resolutiondate_u0",&lt;BR /&gt;"workratio" AS "workratio_u0",&lt;BR /&gt;"watches"&lt;BR /&gt;FROM "names" FK "__FK_names")&lt;BR /&gt;FROM JSON (wrap on) "root" PK "__KEY_root";&lt;/P&gt;&lt;P&gt;[names]:&lt;BR /&gt;noconcatenate&lt;/P&gt;&lt;P&gt;LOAD [customfield_10110_u0] AS [customfield_10110_u0],&lt;BR /&gt;[customfield_11200_u0] AS [customfield_11200_u0],&lt;BR /&gt;[customfield_10111_u0] AS [customfield_10111_u0],&lt;BR /&gt;[resolution_u0] AS [resolution_u0],&lt;BR /&gt;[customfield_11202_u0] AS [customfield_11202_u0],&lt;BR /&gt;[customfield_10500],&lt;BR /&gt;[customfield_10501],&lt;BR /&gt;[customfield_10107_u0] AS [customfield_10107_u0],&lt;BR /&gt;[customfield_10900_u0] AS [customfield_10900_u0],&lt;BR /&gt;[customfield_10108_u0] AS [customfield_10108_u0],&lt;BR /&gt;[customfield_10901_u0] AS [customfield_10901_u0],&lt;BR /&gt;[customfield_10902_u0] AS [customfield_10902_u0],&lt;BR /&gt;[customfield_10903_u0] AS [customfield_10903_u0],&lt;BR /&gt;[lastViewed_u0] AS [lastViewed_u0],&lt;BR /&gt;[customfield_12002],&lt;BR /&gt;[customfield_10100_u0] AS [customfield_10100_u0],&lt;BR /&gt;[customfield_10101_u0] AS [customfield_10101_u0],&lt;BR /&gt;[customfield_12003_u0] AS [customfield_12003_u0],&lt;BR /&gt;[customfield_10102_u0] AS [customfield_10102_u0],&lt;BR /&gt;[labels],&lt;BR /&gt;[customfield_12005],&lt;BR /&gt;[customfield_10103_u0] AS [customfield_10103_u0],&lt;BR /&gt;[customfield_10338_u0] AS [customfield_10338_u0],&lt;BR /&gt;[timeestimate_u0] AS [timeestimate_u0],&lt;BR /&gt;[aggregatetimeoriginalestimate_u0] AS [aggregatetimeoriginalestimate_u0],&lt;BR /&gt;[issuelinks],&lt;BR /&gt;[assignee_u0] AS [assignee_u0],&lt;BR /&gt;[status],&lt;BR /&gt;[components],&lt;BR /&gt;[customfield_11300_u0] AS [customfield_11300_u0],&lt;BR /&gt;[aggregatetimeestimate_u0] AS [aggregatetimeestimate_u0],&lt;BR /&gt;[creator],&lt;BR /&gt;[subtasks],&lt;BR /&gt;[reporter],&lt;BR /&gt;[customfield_12101_u0] AS [customfield_12101_u0],&lt;BR /&gt;[customfield_12100_u0] AS [customfield_12100_u0],&lt;BR /&gt;[aggregateprogress],&lt;BR /&gt;[customfield_10200],&lt;BR /&gt;[customfield_11801],&lt;BR /&gt;[customfield_10315_u0] AS [customfield_10315_u0],&lt;BR /&gt;[customfield_11800],&lt;BR /&gt;[customfield_10316_u0] AS [customfield_10316_u0],&lt;BR /&gt;[progress_u1] AS [progress_u1],&lt;BR /&gt;[issuetype],&lt;BR /&gt;[timespent_u0] AS [timespent_u0],&lt;BR /&gt;[project],&lt;BR /&gt;[aggregatetimespent_u0] AS [aggregatetimespent_u0],&lt;BR /&gt;[customfield_11400],&lt;BR /&gt;[customfield_10303_u0] AS [customfield_10303_u0],&lt;BR /&gt;[customfield_10700_u0] AS [customfield_10700_u0],&lt;BR /&gt;[customfield_10701_u0] AS [customfield_10701_u0],&lt;BR /&gt;[customfield_10702_u0] AS [customfield_10702_u0],&lt;BR /&gt;[resolutiondate_u0] AS [resolutiondate_u0],&lt;BR /&gt;[workratio_u0] AS [workratio_u0],&lt;BR /&gt;[watches]&lt;BR /&gt;RESIDENT RestConnectorMasterTable&lt;BR /&gt;WHERE NOT IsNull([__FK_names]);&lt;/P&gt;&lt;P&gt;drop table RestConnectorMasterTable;&lt;/P&gt;&lt;P&gt;for i=1 to NoOfFields('names')&lt;/P&gt;&lt;P&gt;let VFieldName=FieldName(i,'names');&lt;/P&gt;&lt;P&gt;Linked_Names:&lt;/P&gt;&lt;P&gt;load distinct&lt;/P&gt;&lt;P&gt;'$(VFieldName)' as id,&lt;/P&gt;&lt;P&gt;$(VFieldName) as value&lt;/P&gt;&lt;P&gt;resident names;&lt;/P&gt;&lt;P&gt;next;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DROP TABLE names;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 08:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Looping-or-creating-a-cross-table-dynamicly/m-p/1743044#M56933</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-09-11T08:41:05Z</dc:date>
    </item>
  </channel>
</rss>

