<?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: Applymap to replace multiple nested REPLACE ... possible? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Applymap-to-replace-multiple-nested-REPLACE-possible/m-p/1405210#M425614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Er ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How about you post some sample data. Show us your inputs and what you are looking to derive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Oct 2017 14:13:03 GMT</pubDate>
    <dc:creator>marcus_malinow</dc:creator>
    <dc:date>2017-10-20T14:13:03Z</dc:date>
    <item>
      <title>Applymap to replace multiple nested REPLACE ... possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-to-replace-multiple-nested-REPLACE-possible/m-p/1405209#M425613</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;The Basic issue I face is the following: I have several Charts with some measure and the Dimension "cost Center". The names of the cost Centers vary very much in length which is somewhat annoying in a Chart. So I thought of nested REPLACE() functions first. That worked.&lt;/P&gt;&lt;P&gt;Then I tried to implement a partial reload to avoid loading other big tables whenever I had thought of something new for that "Abbreviation_algorithm", but that didn't work - the REPLACE keyword before the LOAD seems to interact in some way with those REPLACE() functions - I got the message "field names must be unique in a table" - without having changed anything ...&lt;/P&gt;&lt;P&gt;So next I tried to map all the fields. The "map ... using" did not work out though maybe that would do the trick:&lt;/P&gt;&lt;P&gt;- I have a Loop where I load all the qvd_files that exist within a given Directory, with the Name that's in the filename.&lt;/P&gt;&lt;P&gt;- Before that Loop I wrote &amp;gt;&amp;gt; MAP [field1], [field2], [field3], [field4] using [mappingtable]; &amp;lt;&amp;lt; (I had loaded the mappingtable using an inline mapping_LOAD beforehand) and after the Loop I had an &amp;gt;&amp;gt; Unmap; &amp;lt;&amp;lt;.&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; That did not have any effect whatsoever. Maybe that doesn't work with a loading_Loop - can I somehow make that work?&lt;/P&gt;&lt;P&gt;Anyway, I also tried just using four individual Applymap() commands in a separate RESIDENT LOAD - but that did not work either, probably because I always have the alternatives for the individual elements of a cost_Center_Name in the mappingtable, not the whole Thing ...&lt;/P&gt;&lt;P&gt;Any help here would be much appreciated - I think I have a solution for what I actually wanted for this, though - by renaming one of the qvd_files in that Directory, it doesn't match the filelist anymore, it is not loaded and the whole Thing is much faster - at least for when I want to work on the script. To work on the GUI, I have to load all the data again ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 14:09:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-to-replace-multiple-nested-REPLACE-possible/m-p/1405209#M425613</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2017-10-20T14:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap to replace multiple nested REPLACE ... possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-to-replace-multiple-nested-REPLACE-possible/m-p/1405210#M425614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Er ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How about you post some sample data. Show us your inputs and what you are looking to derive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 14:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-to-replace-multiple-nested-REPLACE-possible/m-p/1405210#M425614</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2017-10-20T14:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap to replace multiple nested REPLACE ... possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-to-replace-multiple-nested-REPLACE-possible/m-p/1405211#M425615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I haven't really understood your request, neither, but from reading the title, maybe look into &lt;/P&gt;&lt;P&gt;MapSubString() instead of ApplyMap() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 14:19:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-to-replace-multiple-nested-REPLACE-possible/m-p/1405211#M425615</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-10-20T14:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap to replace multiple nested REPLACE ... possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-to-replace-multiple-nested-REPLACE-possible/m-p/1405212#M425616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a good Approach, swuehl, possibly the right one, I'll have a look - what I want to replace (or map) is just substrings, elements of the Label, not the entire Label - that would be too much typework - example:&lt;/P&gt;&lt;P&gt;- Original Label is "Team Vergütungsabrechnung"&lt;/P&gt;&lt;P&gt;- I replace "Vergütungsabrechnung with "Verg.-abr." (I leave the word "Team" as it is)&lt;/P&gt;&lt;P&gt;=&amp;gt; The new Label reads "Team Verg.-abr."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 09:26:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-to-replace-multiple-nested-REPLACE-possible/m-p/1405212#M425616</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2017-10-23T09:26:30Z</dc:date>
    </item>
  </channel>
</rss>

