<?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: issue loading data in correct format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/issue-loading-data-in-correct-format/m-p/887209#M1014334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answers. But I don't see the issue in the detection of the empty column .... filling the zeros works. I now used this method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(len(trim([column_1]))=0,0,[column_1]), &lt;/P&gt;&lt;P&gt;if(len(trim([column_12))=0,0,[column_2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still the "Expression Total" doesn't work until that point ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT I found a solution in the manual:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Expression Total&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If this option is selected, the expression total will be calculated using all the values of the field. If, e.g., the selected column contains the average salaries for different business categories, choosing the Expression Total option will result in the average salary for all the business categories.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;So I just did this in the Straight Table:&lt;/P&gt;&lt;P&gt;sum(column1) &lt;/P&gt;&lt;P&gt;sum(money(column_1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So thanks anyway for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2015 21:09:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-09T21:09:22Z</dc:date>
    <item>
      <title>issue loading data in correct format</title>
      <link>https://community.qlik.com/t5/QlikView/issue-loading-data-in-correct-format/m-p/887204#M1014329</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;Im facing a very anoying issue while loading my data. I have a SharePoint list with several colums formated as numbers. See an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;coulmn_1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;column_2&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;22&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;24&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;552&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;42&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in those columns can be numbers or nothing. When I load my data I want to fill the empty cells with 0, that works fine using following syntax:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;if([column_1]='',0,[column_1]);&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;xxxxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT if I use a straight Table and try to show my Totals using "Expression Total" nothing happens .... For sure I could use "Sum of Rows" but later on I want to format the expression with money() so I need to use "Expression Total" to realize the money format in the Total row. So basicly I didn't even start with anything ... just this most simple example just doesn't work ... what is my mistake?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The weird part is, that if there is a column with only empty cells, so in fact all fields are filled with 0, the "Total Expression" row works ..... so what is that? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because originally I wanted to import data from the list which already was formatted as a currency .... but same issues there so I tried to look for my mistake in a simple example but yeah ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me! Im almost becoming desperate. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 15:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-loading-data-in-correct-format/m-p/887204#M1014329</guid>
      <dc:creator />
      <dc:date>2015-04-09T15:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: issue loading data in correct format</title>
      <link>https://community.qlik.com/t5/QlikView/issue-loading-data-in-correct-format/m-p/887205#M1014330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a sample qvw please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 15:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-loading-data-in-correct-format/m-p/887205#M1014330</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-04-09T15:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: issue loading data in correct format</title>
      <link>https://community.qlik.com/t5/QlikView/issue-loading-data-in-correct-format/m-p/887206#M1014331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What happens if you try this instead of what you have right now?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(Len(Trim([column_1])) = 0 or IsNull([Column_1]), 0, [column_1]);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;xxxxx&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Best,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 15:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-loading-data-in-correct-format/m-p/887206#M1014331</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-09T15:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: issue loading data in correct format</title>
      <link>https://community.qlik.com/t5/QlikView/issue-loading-data-in-correct-format/m-p/887207#M1014332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is that nothing or space or no-break space in your column?&lt;/P&gt;&lt;P&gt;Usually when your column have only Numbers the empty cell should be ignored&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For space you can use this:L&lt;/P&gt;&lt;P&gt;LOAD if(column_1=' ',0,column_1) as column_1&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;COMAPRE.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet3);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 15:24:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-loading-data-in-correct-format/m-p/887207#M1014332</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-04-09T15:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: issue loading data in correct format</title>
      <link>https://community.qlik.com/t5/QlikView/issue-loading-data-in-correct-format/m-p/887208#M1014333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't actually need the second check there, the null would have a len of 0 also.&lt;/P&gt;&lt;P&gt;Can just go with below to save the extra code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Len(Trim([column_1])) = 0, 0, [column_1])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Joe&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 15:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-loading-data-in-correct-format/m-p/887208#M1014333</guid>
      <dc:creator />
      <dc:date>2015-04-09T15:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: issue loading data in correct format</title>
      <link>https://community.qlik.com/t5/QlikView/issue-loading-data-in-correct-format/m-p/887209#M1014334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answers. But I don't see the issue in the detection of the empty column .... filling the zeros works. I now used this method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(len(trim([column_1]))=0,0,[column_1]), &lt;/P&gt;&lt;P&gt;if(len(trim([column_12))=0,0,[column_2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still the "Expression Total" doesn't work until that point ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT I found a solution in the manual:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Expression Total&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If this option is selected, the expression total will be calculated using all the values of the field. If, e.g., the selected column contains the average salaries for different business categories, choosing the Expression Total option will result in the average salary for all the business categories.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;So I just did this in the Straight Table:&lt;/P&gt;&lt;P&gt;sum(column1) &lt;/P&gt;&lt;P&gt;sum(money(column_1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So thanks anyway for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 21:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-loading-data-in-correct-format/m-p/887209#M1014334</guid>
      <dc:creator />
      <dc:date>2015-04-09T21:09:22Z</dc:date>
    </item>
  </channel>
</rss>

