<?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: Cross Table with dynamic columns in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Cross-Table-with-dynamic-columns/m-p/8706#M683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kakani, but I am in need of a dynamic load script to create the cross table. &lt;/P&gt;&lt;P&gt;I have a large table if records with many other attributes.&amp;nbsp; I also have a second table (columns) that I need to use as the reference for the data load from the records table.&amp;nbsp; The columns table will change weekly so I will need to update the columns table.&amp;nbsp; my records table is thousands of rows and hundreds of columns.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to qliksense and I am struggling with looping variables and referencing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR Each a in FieldValueList('Columns')&lt;/P&gt;&lt;P&gt;LOAD '$(a) as NEWFIELD AutoGenerate 2;&lt;/P&gt;&lt;P&gt;NEXT a&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Feb 2018 18:44:29 GMT</pubDate>
    <dc:creator>normfred3</dc:creator>
    <dc:date>2018-02-26T18:44:29Z</dc:date>
    <item>
      <title>Cross Table with dynamic columns</title>
      <link>https://community.qlik.com/t5/App-Development/Cross-Table-with-dynamic-columns/m-p/8701#M678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a records table (records) that I want to dynamically load individual columns based on another table (column).&lt;/P&gt;&lt;P&gt;my original table has hundreds of columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a cross table with only the specific columns in the column table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a loop but I have been unsuccessful.&lt;/P&gt;&lt;P&gt;Is this even possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;Record&amp;nbsp; Table&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 408px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" width="68"&gt;RecordID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="68"&gt;A&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="68"&gt;B&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="68"&gt;C&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="68"&gt;D&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="68"&gt;E&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;4001&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;abc&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;4002&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;qwe&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;4003&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;asd&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;4004&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;zxc&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;4005&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;poi&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;4006&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;lkj&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;4007&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;mnb&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;4008&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;rty&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;4009&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;fgh&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;4010&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;vbn&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;Column Table &lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="68"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" width="68"&gt;ColumnID&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;E&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Feb 2018 23:33:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cross-Table-with-dynamic-columns/m-p/8701#M678</guid>
      <dc:creator>normfred3</dc:creator>
      <dc:date>2018-02-25T23:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Table with dynamic columns</title>
      <link>https://community.qlik.com/t5/App-Development/Cross-Table-with-dynamic-columns/m-p/8702#M679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="CrossTable.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/194515_CrossTable.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 06:20:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cross-Table-with-dynamic-columns/m-p/8702#M679</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2018-02-26T06:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Table with dynamic columns</title>
      <link>https://community.qlik.com/t5/App-Development/Cross-Table-with-dynamic-columns/m-p/8703#M680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that looks correct - what does the script look like in qliksense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 12:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cross-Table-with-dynamic-columns/m-p/8703#M680</guid>
      <dc:creator>normfred3</dc:creator>
      <dc:date>2018-02-26T12:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Table with dynamic columns</title>
      <link>https://community.qlik.com/t5/App-Development/Cross-Table-with-dynamic-columns/m-p/8704#M681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Script Syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;CrossTable(Prod,Val)&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;RecordID,A,B,C,D,E&lt;/P&gt;&lt;P&gt;401,1,1,1,1,1&lt;/P&gt;&lt;P&gt;402,1,0,0,1,1&lt;/P&gt;&lt;P&gt;403,0,0,0,1,1&lt;/P&gt;&lt;P&gt;404,0,0,1,1,0&lt;/P&gt;&lt;P&gt;405,1,0,1,0,1&lt;/P&gt;&lt;P&gt;406,0,1,0,1,0&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After loading this script now in frontend List box add measure as &lt;/P&gt;&lt;P&gt;=if(match(Prod,'B','C','D'),Prod)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 17:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cross-Table-with-dynamic-columns/m-p/8704#M681</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2018-02-26T17:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Table with dynamic columns</title>
      <link>https://community.qlik.com/t5/App-Development/Cross-Table-with-dynamic-columns/m-p/8705#M682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correction in the post for list box expression &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;=if(match(Prod,'B','C','E'),Prod)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 17:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cross-Table-with-dynamic-columns/m-p/8705#M682</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2018-02-26T17:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Table with dynamic columns</title>
      <link>https://community.qlik.com/t5/App-Development/Cross-Table-with-dynamic-columns/m-p/8706#M683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kakani, but I am in need of a dynamic load script to create the cross table. &lt;/P&gt;&lt;P&gt;I have a large table if records with many other attributes.&amp;nbsp; I also have a second table (columns) that I need to use as the reference for the data load from the records table.&amp;nbsp; The columns table will change weekly so I will need to update the columns table.&amp;nbsp; my records table is thousands of rows and hundreds of columns.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to qliksense and I am struggling with looping variables and referencing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR Each a in FieldValueList('Columns')&lt;/P&gt;&lt;P&gt;LOAD '$(a) as NEWFIELD AutoGenerate 2;&lt;/P&gt;&lt;P&gt;NEXT a&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 18:44:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cross-Table-with-dynamic-columns/m-p/8706#M683</guid>
      <dc:creator>normfred3</dc:creator>
      <dc:date>2018-02-26T18:44:29Z</dc:date>
    </item>
  </channel>
</rss>

