<?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: Why adding a column in my table makes all go wrong ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-adding-a-column-in-my-table-makes-all-go-wrong/m-p/768601#M272952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charge_durée_branchement is probably a time interval value formatted as minutes. The numeric value is 0,02... You can check this by changing the Number format in the listbox. If you want the sum expression to be displayed in minutes then you'll have to change the number format to Interval. In your text box you can change the expression to: = 'Sum = ' &amp;amp;&lt;STRONG&gt; interval(&lt;/STRONG&gt;sum(Charge_durée_branchement)&lt;STRONG&gt;,'m')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Mar 2015 17:27:16 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-03-13T17:27:16Z</dc:date>
    <item>
      <title>Why adding a column in my table makes all go wrong ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-adding-a-column-in-my-table-makes-all-go-wrong/m-p/768596#M272947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event_id;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timestamp_beginning&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; timestamp_end&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay_event (calculated field in minutes)&lt;/P&gt;&lt;P&gt;1&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16/10/2014&amp;nbsp; 19:42:00&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;&amp;nbsp; 17/10/2014&amp;nbsp; 18:02:00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1340&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is one row for each event_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my QV application, I have created a text zone where I have entered sum(delay_event) and I do get a result which looks ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to do a graph per month/week with a master calendar. (A calendar which contains 24 rows per day since a date I have specified).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I add&amp;nbsp; Floor( timestamp_beginning, 1/24) as Date in my table&amp;nbsp; in order to link with the master calendar, the result of "sum(delay) goes wrong... Even if I pout the calendar in comment&amp;nbsp; (and so my table is not linked to another), I still get a wrong result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can explain that ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Have a good day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 17:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-adding-a-column-in-my-table-makes-all-go-wrong/m-p/768596#M272947</guid>
      <dc:creator />
      <dc:date>2015-03-09T17:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why adding a column in my table makes all go wrong ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-adding-a-column-in-my-table-makes-all-go-wrong/m-p/768597#M272948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your calendar table contains dates and your other table contains timestamps then only the timestamps with 00:00:00 as time part will be linked to the calendar table.Splitting the timestamp into a date and a time field should help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ...other fields...,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(floor(MyTimeStamp),'DD-MM-YYYY') as MyDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fract(MyTimeStamp) as MyTime&lt;/P&gt;&lt;P&gt;FROM ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the date format MM-DD-YYYY to whatever format you prefer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 18:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-adding-a-column-in-my-table-makes-all-go-wrong/m-p/768597#M272948</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-09T18:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why adding a column in my table makes all go wrong ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-adding-a-column-in-my-table-makes-all-go-wrong/m-p/768598#M272949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply Gysbert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sadly, the problem also occurs when my table is not linked to the calendar table (I have changed the name of the date field so it doesn't match any of the fields of the calendar table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I sum up, when I do CTRL+T, I can see the table is "alone", linked to no tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I do a table in the application with the fields:&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;Event_id;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timestamp_beginning&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; timestamp_end&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay_event (calculated field in minutes)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16/10/2014&amp;nbsp; 19:12:00&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;&amp;nbsp; 16/10/2014&amp;nbsp; 19:42:00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 29&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;then I make a textbox with the formula : =sum(delay_event)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Then if I reload :&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;TheTable:&lt;/P&gt;&lt;P&gt;LOAD &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Event_id&lt;/SPAN&gt;, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;timestamp_beginning&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Floor( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;timestamp_beginning&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;, 1/24) as Date2, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;timestamp_end&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;delay_event &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I filter on event_id =1, I do get 29 in the textbox, but if I remove the comment for Date2, in the textbox, I have 0,0207...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really don't get why because my table is not linked to any other &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;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 14:35:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-adding-a-column-in-my-table-makes-all-go-wrong/m-p/768598#M272949</guid>
      <dc:creator />
      <dc:date>2015-03-13T14:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why adding a column in my table makes all go wrong ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-adding-a-column-in-my-table-makes-all-go-wrong/m-p/768599#M272950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a qlikview document that demonstrates the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 14:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-adding-a-column-in-my-table-makes-all-go-wrong/m-p/768599#M272950</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-13T14:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why adding a column in my table makes all go wrong ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-adding-a-column-in-my-table-makes-all-go-wrong/m-p/768600#M272951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here it is.&amp;nbsp; So yoou can see the table with the value : 29&amp;nbsp; and in the textbox, I have entered sum(...) and I get 0,02...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 15:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-adding-a-column-in-my-table-makes-all-go-wrong/m-p/768600#M272951</guid>
      <dc:creator />
      <dc:date>2015-03-13T15:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why adding a column in my table makes all go wrong ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-adding-a-column-in-my-table-makes-all-go-wrong/m-p/768601#M272952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charge_durée_branchement is probably a time interval value formatted as minutes. The numeric value is 0,02... You can check this by changing the Number format in the listbox. If you want the sum expression to be displayed in minutes then you'll have to change the number format to Interval. In your text box you can change the expression to: = 'Sum = ' &amp;amp;&lt;STRONG&gt; interval(&lt;/STRONG&gt;sum(Charge_durée_branchement)&lt;STRONG&gt;,'m')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 17:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-adding-a-column-in-my-table-makes-all-go-wrong/m-p/768601#M272952</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-13T17:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why adding a column in my table makes all go wrong ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-adding-a-column-in-my-table-makes-all-go-wrong/m-p/768602#M272953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, you are right. &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Charge_durée_branchement was calculated as Interval(stopped_at -started_at ,'mm').&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand ! It's just aboout formating. The 0,02 is in "days" ( i mean the unit of date in qlikview), so when I do 0,02*24*60, I do get 29,8 minutes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much !&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a good day &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laura&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 08:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-adding-a-column-in-my-table-makes-all-go-wrong/m-p/768602#M272953</guid>
      <dc:creator />
      <dc:date>2015-03-16T08:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why adding a column in my table makes all go wrong ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-adding-a-column-in-my-table-makes-all-go-wrong/m-p/768603#M272954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The interval function merely formats a number as a time interval. The first parameter is a number, the second parameter is the format string. You can find more information in the help file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 08:41:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-adding-a-column-in-my-table-makes-all-go-wrong/m-p/768603#M272954</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-16T08:41:43Z</dc:date>
    </item>
  </channel>
</rss>

