<?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: Count of Columns in table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810036#M285933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the CROSSTABLE function to unpivot the data whist loading, so your table structure is constant with participant, weight and date, rather than adding extra columns each time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Feb 2015 08:01:28 GMT</pubDate>
    <dc:creator>Colin-Albert</dc:creator>
    <dc:date>2015-02-16T08:01:28Z</dc:date>
    <item>
      <title>Count of Columns in table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810031#M285928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to find out count of column numbers in a table, can any one please help me find the right way.&lt;/P&gt;&lt;P&gt;I have a dataset which contains weight data of 100 individuals being weighed across a period of n number of weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to analyse weekly data for each participant &amp;amp; form a trend line chart.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The data comes in every week, so every week a new column will get added, how can I deal with this ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Swapneel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 07:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810031#M285928</guid>
      <dc:creator />
      <dc:date>2015-02-16T07:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Columns in table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810032#M285929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are loading data from ODBC database, try utilizing SQLTABLES and SQLCOLUMNS statements in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 07:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810032#M285929</guid>
      <dc:creator>AbhijitBansode</dc:creator>
      <dc:date>2015-02-16T07:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Columns in table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810033#M285930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just Count the fields of your tablexy like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({1&amp;lt;$Table={tablexy}&amp;gt;} $Field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 07:49:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810033#M285930</guid>
      <dc:creator>tobias_klett</dc:creator>
      <dc:date>2015-02-16T07:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Columns in table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810034#M285931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;A _jive_internal="true" data-avatarid="8545" data-externalid="" data-online="false" data-presence="null" data-userid="37233" data-username="Tobias.Klett" href="https://community.qlik.com/people/Tobias.Klett" style="color: #8b8b8b; font-weight: bold; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;Tobias Klett&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply, can you please elaborate how do I deal with the issue that every week a new column is being added with week number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I add that to my calculations, making it generic, something to be done in scripting ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Swapneel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 07:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810034#M285931</guid>
      <dc:creator />
      <dc:date>2015-02-16T07:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Columns in table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810035#M285932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Thanks Tobias Klett&amp;nbsp; for your quick reply, &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Can you please elaborate how do I deal with the issue that every week a new column is being added with week number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;How can I add that to my calculations, making it generic, something to be done in scripting ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Regards&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Swapneel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 07:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810035#M285932</guid>
      <dc:creator />
      <dc:date>2015-02-16T07:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Columns in table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810036#M285933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the CROSSTABLE function to unpivot the data whist loading, so your table structure is constant with participant, weight and date, rather than adding extra columns each time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 08:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810036#M285933</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-02-16T08:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Columns in table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810037#M285934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swapneel,&lt;/P&gt;&lt;P&gt;you should us the crosstable() function in your script to bring the column Labels in one column and the values into the other. Name the column with the column Labels week and the other value like this:&lt;/P&gt;&lt;P&gt;tablexy:&lt;/P&gt;&lt;P&gt;crosstable(Week, Value, 3)&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;resident...&lt;/P&gt;&lt;P&gt;NOTE: There are 3 columns with Dimensions Prior to the weekly added columns. Make sure those are the first ones in your table.&lt;/P&gt;&lt;P&gt;Regards Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 08:17:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810037#M285934</guid>
      <dc:creator>tobias_klett</dc:creator>
      <dc:date>2015-02-16T08:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Columns in table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810038#M285935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a good blog about using crosstable here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/03/24/crosstable" title="http://community.qlik.com/blogs/qlikviewdesignblog/2014/03/24/crosstable"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2014/03/24/crosstable&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 08:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810038#M285935</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-02-16T08:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Columns in table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810039#M285936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swapneel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Crosstable will not create a new column each week, it will convert the week columns into rows which are much easier to process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read the crosstable blog which explains the process. See the link I posted earlier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 20:14:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810039#M285936</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-02-16T20:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Columns in table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810040#M285937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your helpful comments &amp;amp; tips &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;@ Colin Albert &amp;amp; @ Tobias Klett&lt;/P&gt;&lt;P&gt;Issue has been solved &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 05:56:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/810040#M285937</guid>
      <dc:creator />
      <dc:date>2015-02-17T05:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Columns in table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/2423954#M1225393</link>
      <description>&lt;P&gt;Great answer! Just what I wanted!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 09:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Columns-in-table/m-p/2423954#M1225393</guid>
      <dc:creator>Amit_Kakkad_PD</dc:creator>
      <dc:date>2024-02-27T09:08:26Z</dc:date>
    </item>
  </channel>
</rss>

