<?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: Rotate value in field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rotate-value-in-field/m-p/555586#M689561</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;This snippet worked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function reverse(t)&lt;/P&gt;&lt;P&gt;r = " "&lt;/P&gt;&lt;P&gt;For i = 1 to ((len(t)-1)/2) step 1&lt;/P&gt;&lt;P&gt;r = r &amp;amp; mid(t,(len(t) - i*2),2) &lt;/P&gt;&lt;P&gt;next &lt;/P&gt;&lt;P&gt;reverse = r&lt;/P&gt;&lt;P&gt;end Function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Oct 2013 08:12:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-10-15T08:12:43Z</dc:date>
    <item>
      <title>Rotate value in field</title>
      <link>https://community.qlik.com/t5/QlikView/Rotate-value-in-field/m-p/555581#M689556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose I have the following:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;A, B&lt;/P&gt;&lt;P&gt;1, a1;b2;c3;d4;e5&lt;/P&gt;&lt;P&gt;2, g6;h7;i8;j9;k10&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 there a function that allows me to obtain&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;A, B,&lt;/P&gt;&lt;P&gt;1, e5;d4;c3;b2;a1&lt;/P&gt;&lt;P&gt;2, k10;j9;i8;h7;g6&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used subfield(B,';'), expanded, added a counter, reversed the order and recombined.&lt;/P&gt;&lt;P&gt;Is there any faster way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Antoine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 13:46:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rotate-value-in-field/m-p/555581#M689556</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-14T13:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate value in field</title>
      <link>https://community.qlik.com/t5/QlikView/Rotate-value-in-field/m-p/555582#M689557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved here..&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/95968#95968"&gt;http://community.qlik.com/message/95968#95968&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit/ partially, unsolved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 14:09:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rotate-value-in-field/m-p/555582#M689557</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-14T14:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate value in field</title>
      <link>https://community.qlik.com/t5/QlikView/Rotate-value-in-field/m-p/555583#M689558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope there is no other faster way.&lt;/P&gt;&lt;P&gt;Is the number of values is fixed (i.e., e;d;c;b;a is 5. is it same for all?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 14:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rotate-value-in-field/m-p/555583#M689558</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-10-14T14:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate value in field</title>
      <link>https://community.qlik.com/t5/QlikView/Rotate-value-in-field/m-p/555584#M689559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lol...&lt;/P&gt;&lt;P&gt;No the length is variable unfortunatly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you check the link I have added? &lt;BR /&gt;It seems that I can create a custom function to do so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not familiar of creating a custom VBS script and then using it in the load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Got it. I add it in the VBS script, run the script and then call it within the script.&lt;BR /&gt;Quite amazing !!!! this is Gold&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 14:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rotate-value-in-field/m-p/555584#M689559</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-14T14:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate value in field</title>
      <link>https://community.qlik.com/t5/QlikView/Rotate-value-in-field/m-p/555585#M689560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still I have a complete reverse &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;now i need to figure out how to finetune...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 15:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rotate-value-in-field/m-p/555585#M689560</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-14T15:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate value in field</title>
      <link>https://community.qlik.com/t5/QlikView/Rotate-value-in-field/m-p/555586#M689561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;This snippet worked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function reverse(t)&lt;/P&gt;&lt;P&gt;r = " "&lt;/P&gt;&lt;P&gt;For i = 1 to ((len(t)-1)/2) step 1&lt;/P&gt;&lt;P&gt;r = r &amp;amp; mid(t,(len(t) - i*2),2) &lt;/P&gt;&lt;P&gt;next &lt;/P&gt;&lt;P&gt;reverse = r&lt;/P&gt;&lt;P&gt;end Function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 08:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rotate-value-in-field/m-p/555586#M689561</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-15T08:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate value in field</title>
      <link>https://community.qlik.com/t5/QlikView/Rotate-value-in-field/m-p/555587#M689562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not stable &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;I keep getting variable results for every reload.&lt;/P&gt;&lt;P&gt;I don't understand why...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;has anyone experienced instability using a VB script within the load statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 14:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rotate-value-in-field/m-p/555587#M689562</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-15T14:29:25Z</dc:date>
    </item>
  </channel>
</rss>

