<?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 Adding Columns which don't contain values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-Columns-which-don-t-contain-values/m-p/311779#M1178403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Load this using cross table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;column A is Department&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;column B is KPI&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;column C is 1&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;column D is 2&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;column E is 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and make the above as &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;column A is Department&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;column B is KPI&lt;/P&gt;&lt;P&gt; Month&lt;/P&gt;&lt;P&gt;value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then add inline script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;Month,Monthname&lt;/P&gt;&lt;P&gt;1,Jan&lt;/P&gt;&lt;P&gt;2,Feb&lt;/P&gt;&lt;P&gt;3,mar&lt;/P&gt;&lt;P&gt;4,Apr&lt;/P&gt;&lt;P&gt;5,may&lt;/P&gt;&lt;P&gt;6,Jun&lt;/P&gt;&lt;P&gt;7,Jul&lt;/P&gt;&lt;P&gt;8,Aug&lt;/P&gt;&lt;P&gt;9,Sep&lt;/P&gt;&lt;P&gt;10,Oct&lt;/P&gt;&lt;P&gt;11,Nov&lt;/P&gt;&lt;P&gt;12,Dec&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now use MonthName instead of month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2012 09:58:18 GMT</pubDate>
    <dc:creator>SunilChauhan</dc:creator>
    <dc:date>2012-02-23T09:58:18Z</dc:date>
    <item>
      <title>Adding Columns which don't contain values</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Columns-which-don-t-contain-values/m-p/311777#M1178400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've some rather easy looking question about the script and adding columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a monthly export with all aggregated sums per KPI in the columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for 3 months until march it looks like this:&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;column A is Department&lt;/P&gt;&lt;P&gt;column B is KPI&lt;/P&gt;&lt;P&gt;column C is 1&lt;/P&gt;&lt;P&gt;column D is 2&lt;/P&gt;&lt;P&gt;column E is 3&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;The number stands for the month and that's exactly my problem. The column is only existing, if it contains values. &lt;/P&gt;&lt;P&gt;I want to upload the table in this format:&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;column A is Department&lt;/P&gt;&lt;P&gt;column B is KPI&lt;/P&gt;&lt;P&gt;column C as Jan&lt;/P&gt;&lt;P&gt;column D as Feb&lt;/P&gt;&lt;P&gt;column E as Mar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This runs pretty well, but the problem occurs if one month is added in the export-file ("4"). I either can't upload it, because i don't have any values (=column doesnt exist) or the alias (e.g. "Apr" for "4") isn't party of the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how do i automatically count the columns which have values and corresponding to that give fixed names to the column, even if it doesn't contain any values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;donuteater&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 09:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Columns-which-don-t-contain-values/m-p/311777#M1178400</guid>
      <dc:creator />
      <dc:date>2012-02-23T09:48:06Z</dc:date>
    </item>
    <item>
      <title>Adding Columns which don't contain values</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Columns-which-don-t-contain-values/m-p/311778#M1178402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem get's crucial, when i'm having a listbox to select the months. Only the months with values occur there. How could i change that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 09:52:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Columns-which-don-t-contain-values/m-p/311778#M1178402</guid>
      <dc:creator />
      <dc:date>2012-02-23T09:52:21Z</dc:date>
    </item>
    <item>
      <title>Adding Columns which don't contain values</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Columns-which-don-t-contain-values/m-p/311779#M1178403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Load this using cross table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;column A is Department&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;column B is KPI&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;column C is 1&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;column D is 2&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;column E is 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and make the above as &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;column A is Department&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;column B is KPI&lt;/P&gt;&lt;P&gt; Month&lt;/P&gt;&lt;P&gt;value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then add inline script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;Month,Monthname&lt;/P&gt;&lt;P&gt;1,Jan&lt;/P&gt;&lt;P&gt;2,Feb&lt;/P&gt;&lt;P&gt;3,mar&lt;/P&gt;&lt;P&gt;4,Apr&lt;/P&gt;&lt;P&gt;5,may&lt;/P&gt;&lt;P&gt;6,Jun&lt;/P&gt;&lt;P&gt;7,Jul&lt;/P&gt;&lt;P&gt;8,Aug&lt;/P&gt;&lt;P&gt;9,Sep&lt;/P&gt;&lt;P&gt;10,Oct&lt;/P&gt;&lt;P&gt;11,Nov&lt;/P&gt;&lt;P&gt;12,Dec&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now use MonthName instead of month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 09:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Columns-which-don-t-contain-values/m-p/311779#M1178403</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2012-02-23T09:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Columns which don't contain values</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Columns-which-don-t-contain-values/m-p/311780#M1178404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as i can see that doesn't solve the problem, that columns without values won't be loaded, am I right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the load i won't be able to select any months &amp;gt; 3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any chance to solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// in other words: How can i add a empty column, if the column isn't filled yet to make a total of 12 months.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 10:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Columns-which-don-t-contain-values/m-p/311780#M1178404</guid>
      <dc:creator />
      <dc:date>2012-02-23T10:54:17Z</dc:date>
    </item>
    <item>
      <title>Adding Columns which don't contain values</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Columns-which-don-t-contain-values/m-p/311781#M1178405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can add empty columns&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Month,MonthName&lt;/P&gt;&lt;P&gt;1,Jan&lt;/P&gt;&lt;P&gt;2,Feb&lt;/P&gt;&lt;P&gt;3,Mar&lt;/P&gt;&lt;P&gt;4,&lt;/P&gt;&lt;P&gt;5,&lt;/P&gt;&lt;P&gt;6,&lt;/P&gt;&lt;P&gt;7,&lt;/P&gt;&lt;P&gt;8,&lt;/P&gt;&lt;P&gt;9,&lt;/P&gt;&lt;P&gt;10,&lt;/P&gt;&lt;P&gt;11,&lt;/P&gt;&lt;P&gt;12&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this one your looking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 12:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Columns-which-don-t-contain-values/m-p/311781#M1178405</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2012-02-23T12:32:11Z</dc:date>
    </item>
    <item>
      <title>Adding Columns which don't contain values</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Columns-which-don-t-contain-values/m-p/311782#M1178406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried&lt;/P&gt;&lt;P&gt;if value in month is available till 3 then it will show you only three &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try once then let me know .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 12:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Columns-which-don-t-contain-values/m-p/311782#M1178406</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2012-02-23T12:40:26Z</dc:date>
    </item>
  </channel>
</rss>

