<?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: Concatenation in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenation-in-script/m-p/1340332#M412999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both for explaining this to me.&lt;/P&gt;&lt;P&gt;I liked the app attached so I am marking Kamal's answer as Correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But... strangely such a formula works perfect in excel without the extra brackets:&lt;/P&gt;&lt;P&gt;=FLOOR((A30-1)/30,1)*30+1 &amp;amp;"-"&amp;amp; FLOOR((A30-1)/30,1)*30+30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, I noticed that my buckets were not working fine for day 30, 60, 90...(multiplications of 30) so I had to subtract 1 from the Day value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Artur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jul 2017 14:40:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-06T14:40:49Z</dc:date>
    <item>
      <title>Concatenation in script</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-in-script/m-p/1340329#M412996</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 may be missing something very basic here but i do not understand why the line of code commented in red is giving blank results, why are the brackets crucial here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for any advice.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Artur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Buckets:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Day,&lt;/P&gt;&lt;P&gt;(floor(Day/30)*30+1) &amp;amp; ' - ' &amp;amp; (floor(Day/30)*30+30) as Bucket,&lt;/P&gt;&lt;P&gt; floor(Day/30)*30+1&amp;nbsp; &amp;amp; ' - ' &amp;amp;&amp;nbsp; floor(Day/30)*30+30&amp;nbsp; as Bucket2 &lt;SPAN style="color: #ff0000;"&gt;//why is this one without brackets not working??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;recno() as Day&lt;/P&gt;&lt;P&gt;autogenerate 100;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 15:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-in-script/m-p/1340329#M412996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-25T15:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation in script</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-in-script/m-p/1340330#M412997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason is here, Without indicating anything it wont work. Because as per Mathematics agenda or algorithm it won't understand to club 2 values in single value. That is how the Parenthesis works in Qlikview and it can split into two values and the separated work as Single value by mid of Hyphen. And Parenthesis can consider as one Value and Second value then we are clubbing into one by using Hyphen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 16:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-in-script/m-p/1340330#M412997</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-25T16:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation in script</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-in-script/m-p/1340331#M412998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Artur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why you are not getting the values in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Bucket2 &lt;/SPAN&gt;is quite straightforward but a bit tricky to understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you only remove '+30' from your expression, you will get values under it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor(Day/30)*30+1&amp;nbsp; &amp;amp; ' - ' &amp;amp;&amp;nbsp; floor(Day/30)*30&amp;nbsp; as Bucket2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Now, Let's see why this is happening. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OK, Let's do it otherway. I am adding a qlikview document to make it easier to understand.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Let me know, if it is helpful.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 08:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-in-script/m-p/1340331#M412998</guid>
      <dc:creator>kamal_sanguri</dc:creator>
      <dc:date>2017-05-26T08:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation in script</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-in-script/m-p/1340332#M412999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both for explaining this to me.&lt;/P&gt;&lt;P&gt;I liked the app attached so I am marking Kamal's answer as Correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But... strangely such a formula works perfect in excel without the extra brackets:&lt;/P&gt;&lt;P&gt;=FLOOR((A30-1)/30,1)*30+1 &amp;amp;"-"&amp;amp; FLOOR((A30-1)/30,1)*30+30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, I noticed that my buckets were not working fine for day 30, 60, 90...(multiplications of 30) so I had to subtract 1 from the Day value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Artur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 14:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-in-script/m-p/1340332#M412999</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-06T14:40:49Z</dc:date>
    </item>
  </channel>
</rss>

