<?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 Replacing field or table content in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Replacing-field-or-table-content/m-p/1906211#M75484</link>
    <description>&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Tradução"&gt;&lt;SPAN class="Y2IQFc"&gt;Hey guys,
I would like you to help me with a script. I need to create a column by replacing the textual content from another existing column, for example:

Coke 2L ---&amp;gt; 2L
Sugar 1KG ---&amp;gt; 1KG
Flour 5KG ---&amp;gt; 5KG
....&lt;A id="link_17" class="lia-link-navigation lia-js-predefined-label" href="https://community.qlik.com/t5/forums/postpage/choose-node/true/interaction-style/forum/board-id/qlik-education-services-discussions#" target="_blank" rel="noopener" name="
New User Training" aria-label="Choose Label: 
New User Training"&gt; &lt;/A&gt;
Can you guide me how to implement this? I believe I have to replace the letters until I get the goal, but I don't know how to start. Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:06:29 GMT</pubDate>
    <dc:creator>leo88</dc:creator>
    <dc:date>2024-11-15T23:06:29Z</dc:date>
    <item>
      <title>Replacing field or table content</title>
      <link>https://community.qlik.com/t5/App-Development/Replacing-field-or-table-content/m-p/1906211#M75484</link>
      <description>&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Tradução"&gt;&lt;SPAN class="Y2IQFc"&gt;Hey guys,
I would like you to help me with a script. I need to create a column by replacing the textual content from another existing column, for example:

Coke 2L ---&amp;gt; 2L
Sugar 1KG ---&amp;gt; 1KG
Flour 5KG ---&amp;gt; 5KG
....&lt;A id="link_17" class="lia-link-navigation lia-js-predefined-label" href="https://community.qlik.com/t5/forums/postpage/choose-node/true/interaction-style/forum/board-id/qlik-education-services-discussions#" target="_blank" rel="noopener" name="
New User Training" aria-label="Choose Label: 
New User Training"&gt; &lt;/A&gt;
Can you guide me how to implement this? I believe I have to replace the letters until I get the goal, but I don't know how to start. Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:06:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Replacing-field-or-table-content/m-p/1906211#M75484</guid>
      <dc:creator>leo88</dc:creator>
      <dc:date>2024-11-15T23:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing field or table content</title>
      <link>https://community.qlik.com/t5/App-Development/Replacing-field-or-table-content/m-p/1906219#M75485</link>
      <description>&lt;P&gt;You could try to use subfield() for this.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Subfield ([YourStringField], ' ', -1)&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 21:29:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Replacing-field-or-table-content/m-p/1906219#M75485</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2022-03-16T21:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing field or table content</title>
      <link>https://community.qlik.com/t5/App-Development/Replacing-field-or-table-content/m-p/1906233#M75486</link>
      <description>&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large JgzqYd RES9jf tw-ta" dir="ltr" data-placeholder="Tradução"&gt;&lt;SPAN class="Y2IQFc"&gt;ok, but sometimes the field content can be complex or open, and I still want to extract the unit correctly.
 
I think of creating a routine that can read a part of the content and transform it into what I want, for example:&lt;BR /&gt;Coke (2 L) or Coke (2 L)iters ---&amp;gt; 2L
Sugar (5 KG) or Sugar (5 K)ilos ---&amp;gt; 5KG

thanks&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Mar 2022 22:35:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Replacing-field-or-table-content/m-p/1906233#M75486</guid>
      <dc:creator>leo88</dc:creator>
      <dc:date>2022-03-16T22:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing field or table content</title>
      <link>https://community.qlik.com/t5/App-Development/Replacing-field-or-table-content/m-p/1907296#M75487</link>
      <description>&lt;P&gt;Hello Guys,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to use the replace function, but I realized that Qlikview can implement it just 100 times (ie. Replace(Replace( text, 'A', 'a'), 'B', 'b')....., 'ZZZ', 'zzz'). I need to use more than 200 replaces, can somebody tell me a way to do it?Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 19 Mar 2022 20:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Replacing-field-or-table-content/m-p/1907296#M75487</guid>
      <dc:creator>leo88</dc:creator>
      <dc:date>2022-03-19T20:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing field or table content</title>
      <link>https://community.qlik.com/t5/App-Development/Replacing-field-or-table-content/m-p/1907345#M75488</link>
      <description>&lt;P&gt;Take a look at the&amp;nbsp;&lt;A href="https://help.qlik.com/sv-SE/sense/November2021/Subsystems/Hub/Content/Sense_Hub/Scripting/MappingFunctions/MapSubstring.htm" target="_self"&gt;MapSubstring()&lt;/A&gt;&amp;nbsp;function. It might be a good fit for your scenario.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 12:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Replacing-field-or-table-content/m-p/1907345#M75488</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2022-03-20T12:09:36Z</dc:date>
    </item>
  </channel>
</rss>

