<?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 does renaming not work? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504307#M1132527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did I miss that one!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Nov 2013 18:35:52 GMT</pubDate>
    <dc:creator>rustyfishbones</dc:creator>
    <dc:date>2013-11-10T18:35:52Z</dc:date>
    <item>
      <title>Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504302#M1132522</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;"A as B" that should be the easy way to rename right???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So why does this not work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Name1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name3, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name4 as NameA,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(NameA &amp;lt;50, '&amp;lt;50', if(Name A &amp;lt;100, '&amp;lt;100', if(Name A &amp;lt;5000, '&amp;lt;5000'))) .... as Example,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name5, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name 6,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;Without "...as NameA", that is just using Name4 works fine.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 18:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504302#M1132522</guid>
      <dc:creator />
      <dc:date>2013-11-10T18:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504303#M1132523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the If Statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have spaces after the named field like Name A it should be NameA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2013-11-10_1807.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/48811_2013-11-10_1807.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change it and let me know if it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Al&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 18:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504303#M1132523</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-11-10T18:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504304#M1132524</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;You LOAD the field Name4 as NameA but the loaded field is still Name4 until you complete the LOAD statement.&lt;/P&gt;&lt;P&gt;So in the next statement you can't refer to NameA because the LOAD statement is not completed.&lt;/P&gt;&lt;P&gt;Only after the completion of the LOAD sratement you can refer to NameA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you may do is Name4 as NaneA and in the next line Name4 as NameB etc&lt;/P&gt;&lt;P&gt;Your if statement can only be used with the field Name4 (or &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;any other field you are loading).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gerrit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 18:27:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504304#M1132524</guid>
      <dc:creator />
      <dc:date>2013-11-10T18:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504305#M1132525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice spotted &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;, but still it does not work. I just use these as examples as I use Danish words in my real script.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 18:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504305#M1132525</guid>
      <dc:creator />
      <dc:date>2013-11-10T18:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504306#M1132526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share an example Mikael?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 18:34:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504306#M1132526</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-11-10T18:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504307#M1132527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did I miss that one!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 18:35:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504307#M1132527</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-11-10T18:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504308#M1132528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx, that answered my Q why it did not work.&lt;/P&gt;&lt;P&gt;So what is the solution?&amp;nbsp; I tried to make a separate Load before this one: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Name4 as NameA&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Name1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name3, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NameA,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(NameA &amp;lt;50, '&amp;lt;50', if(Name A &amp;lt;100, '&amp;lt;100', if(Name A &amp;lt;5000, '&amp;lt;5000'))) .... as Example,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name5, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name 6,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No luck with that, lol. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 18:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504308#M1132528</guid>
      <dc:creator />
      <dc:date>2013-11-10T18:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504309#M1132529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mikael,&lt;/P&gt;&lt;P&gt;as &lt;A _jive_internal="true" href="https://community.qlik.com/people/gerritzanen"&gt;Gerrit &lt;/A&gt;explian that Rename fields are not available untill load does not complete,&lt;/P&gt;&lt;P&gt;logically query executed like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From&amp;gt;&amp;gt; Where&amp;gt;&amp;gt; GroupBy &amp;gt;&amp;gt; Having clause &amp;gt;&amp;gt; Select&amp;gt;&amp;gt; OrderBy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it mean you can use your rename fields in Orderby Clause, but not before that,,, so you should use real fields name not the renamed ones. like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Name1,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name2,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name3,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name4 as NameA,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Name4 &lt;/SPAN&gt;&amp;lt;50, '&amp;lt;50', if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Name4 &lt;/SPAN&gt; &amp;lt;100, '&amp;lt;100', if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Name4 &lt;/SPAN&gt; &amp;lt;5000, '&amp;lt;5000'))) .... as Example,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name5,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name 6,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;..... and you can use field like Name A, either it should be Name_A or enclosed in brackets like [Name A]&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope it helps..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 18:42:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504309#M1132529</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2013-11-10T18:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504310#M1132530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I cannot share the specific data, if that is what you mean. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 18:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504310#M1132530</guid>
      <dc:creator />
      <dc:date>2013-11-10T18:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504311#M1132531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok no problem, you have it sorted now so it's cool&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 18:53:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504311#M1132531</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-11-10T18:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504312#M1132534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Super, but the point is, here I have only these 3 if statements, but I want to make like perhaps 20, and the original "Name4" is a bit long, of course I can copy it or change from the original source, but it would be cool to learn a trick to handle this in the future!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 18:57:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504312#M1132534</guid>
      <dc:creator />
      <dc:date>2013-11-10T18:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504313#M1132536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well still I did not find the solution I hoped for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 19:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504313#M1132536</guid>
      <dc:creator />
      <dc:date>2013-11-10T19:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504314#M1132537</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;I am not sure if this is what you are looking for but I tried to understand your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assume the follwing example:&lt;/P&gt;&lt;P&gt;&amp;nbsp; ='&amp;lt;'&amp;amp;text(ceil(154/50)*50) returns '&amp;lt;200'&amp;nbsp; (you may try it in a textbox)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you make the function as: '&amp;lt;'&amp;amp;text(ceil(Name4/50)*50 you will always get the answer rounden 50 upward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't know if it is what you are looking for, but it may save a lot of coding if it solves your problem &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;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gerrit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 20:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504314#M1132537</guid>
      <dc:creator />
      <dc:date>2013-11-10T20:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504315#M1132539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I got the idea of if function here: &lt;A href="https://community.qlik.com/thread/98318"&gt;Company and number aligned, and employee intervals&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The case is that originally it is just a very long name to write in the code every and to read by the way, so I just hoped for a quick fix to shorten the name field, without messing with the original source. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 20:45:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504315#M1132539</guid>
      <dc:creator />
      <dc:date>2013-11-10T20:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504316#M1132541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is about the renaming of the field where you want a trick for, that is simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 Load the table where you can rename the field.&lt;/P&gt;&lt;P&gt;2 Load the table as resident and their is your renamed field that you can use as you like,&lt;/P&gt;&lt;P&gt;3. Drop the original table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gerrit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 21:03:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504316#M1132541</guid>
      <dc:creator />
      <dc:date>2013-11-10T21:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504317#M1132542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's the case &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;, and that is what I though I could do in my answer earlier "&lt;SPAN class="j-post-author"&gt;Nov 10, 2013 1:42 PM". &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;"as resident"? - Could you plz explain to me how to do this, perhaps a little code example? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 21:14:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504317#M1132542</guid>
      <dc:creator />
      <dc:date>2013-11-10T21:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504318#M1132543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Myfile:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name1,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name2,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name3,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Name4 as NameA,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name 5&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From xxxxxxxxxxx;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Newfile:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name1,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name2,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name3,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;NameA,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name 5&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Myfile;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Drop table Myfile;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;resident is used if data should be loaded from a previously loaded table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gerrit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 21:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504318#M1132543</guid>
      <dc:creator />
      <dc:date>2013-11-10T21:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504319#M1132544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mikael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) first load whole data from table, and in the load just Rename your fields. &lt;/P&gt;&lt;P&gt;2) then load a Resident load, and in resident load you can write your if statements, and the drop the first table, you will have a new table.. &lt;/P&gt;&lt;P&gt;if you are not aware with resident load, let me know, i will write here with example...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 07:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504319#M1132544</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2013-11-11T07:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504320#M1132545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Super, it seems to work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though it did not like the "Dtop table", false statement, what does it do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 17:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504320#M1132545</guid>
      <dc:creator />
      <dc:date>2013-11-11T17:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why does renaming not work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504321#M1132546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;-Mikael- wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thx, that answered my Q why it did not work.&lt;/P&gt;
&lt;P&gt;So what is the solution?&amp;nbsp; I tried to make a separate Load before this one:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD Name4 as NameA&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD Name1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name2,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name3,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NameA,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(NameA &amp;lt;50, '&amp;lt;50', if(Name A &amp;lt;100, '&amp;lt;100', if(Name A &amp;lt;5000, '&amp;lt;5000'))) .... as Example,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name5,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name 6,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;No luck with that, lol.&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think you need a second load here.&lt;/P&gt;&lt;P&gt;Why does this not work for you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Name1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name4 as&amp;nbsp; NameA,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Name4 &amp;lt;50, '&amp;lt;50', if(Name4 &amp;lt;100, '&amp;lt;100', if(Name4 &amp;lt;5000, '&amp;lt;5000'))) .... as Example,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name5,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name 6,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;FROM YourSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can only use fields from your input table in your statements (Name1 to Name6) left from &lt;EM&gt;as&lt;/EM&gt; , except when using the peek() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: Missed an answer below the one I replied to, but if you want to first rename, then calculate, you can still do a preceding load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt; &lt;/TD&gt;&lt;TD&gt;if(NameA &amp;lt;50, '&amp;lt;50', if(NameA &amp;lt;100, '&amp;lt;100', if(NameA &amp;lt;5000, '&amp;lt;5000'))) .... as Example;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;LOAD Name1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name4 as&amp;nbsp; NameA,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name5,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name 6,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;FROM YourSource;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 17:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-renaming-not-work/m-p/504321#M1132546</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-11-11T17:45:48Z</dc:date>
    </item>
  </channel>
</rss>

