<?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: macro to replace character in field table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1637458#M596083</link>
    <description>&lt;P&gt;Im trying but not working, could you show me with the example added??&lt;/P&gt;</description>
    <pubDate>Sat, 19 Oct 2019 14:55:42 GMT</pubDate>
    <dc:creator>rafael5958</dc:creator>
    <dc:date>2019-10-19T14:55:42Z</dc:date>
    <item>
      <title>macro to replace character in field table</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1636949#M596079</link>
      <description>&lt;P&gt;Im creating a table in macro and and I have to replace all the "," for ";" in all column and rows using macro. How can I do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1636949#M596079</guid>
      <dc:creator>rafael5958</dc:creator>
      <dc:date>2024-11-16T02:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: macro to replace character in field table</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1637009#M596080</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;What kind of table are you creating (straight table, pivot table, table object, table in data model)?&lt;/P&gt;&lt;P&gt;You may use the vbs function &lt;A href="https://www.w3schools.com/asp/func_replace.asp" target="_blank" rel="noopener"&gt;Replace&lt;/A&gt; if you can run over each cell of the table.&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jaime.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 07:34:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1637009#M596080</guid>
      <dc:creator>jaibau1993</dc:creator>
      <dc:date>2019-10-18T07:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: macro to replace character in field table</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1637170#M596081</link>
      <description>&lt;P&gt;Its a straight table, I have to replace all values in all cells of the table.&lt;/P&gt;&lt;P&gt;aaa;aaa&amp;nbsp;&lt;/P&gt;&lt;P&gt;bbb ; bbb&lt;/P&gt;&lt;P&gt;aaa;;aaaa&lt;/P&gt;&lt;P&gt;a;a;a;a;a;;&lt;/P&gt;&lt;P&gt;should looks like:&lt;/P&gt;&lt;P&gt;aaa,aaa&lt;/P&gt;&lt;P&gt;bbb , bbb&lt;/P&gt;&lt;P&gt;aaa;;aaa&lt;/P&gt;&lt;P&gt;a,a,a,a,a,,&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 12:49:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1637170#M596081</guid>
      <dc:creator>rafael5958</dc:creator>
      <dc:date>2019-10-18T12:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: macro to replace character in field table</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1637205#M596082</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;If it is a straight table then there will be dimension and expression columns.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Dimensions: In order to replace ',' with ';' you have to use a calculated dimension or you have to modify the script to load your dimension with the apropiate ',' replaced. In both cases, use Replace QlikView function. Example of calculated dimension: use &lt;EM&gt;Replace(DimensioA, ',', ';')&lt;/EM&gt;&amp;nbsp;instead of &lt;EM&gt;DimensionA&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;Expressions: If you have expressions too, then add an outer Replace function over your expression. Example: if your expression is &lt;EM&gt;Only(Product)&lt;/EM&gt; then use &lt;EM&gt;Replace(Only(Product), ',', ';')&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jaime.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 13:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1637205#M596082</guid>
      <dc:creator>jaibau1993</dc:creator>
      <dc:date>2019-10-18T13:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: macro to replace character in field table</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1637458#M596083</link>
      <description>&lt;P&gt;Im trying but not working, could you show me with the example added??&lt;/P&gt;</description>
      <pubDate>Sat, 19 Oct 2019 14:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1637458#M596083</guid>
      <dc:creator>rafael5958</dc:creator>
      <dc:date>2019-10-19T14:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: macro to replace character in field table</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1637621#M596084</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Please, check the attached file. I re-wrote your code because you were using a Table Box object, not a Straight Table object (the table box does not allow calculated dimensions). Plus, I added some code to rename dimension labels and allow zero values.&lt;/P&gt;&lt;P&gt;Let me know your doubts!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jaime.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 06:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1637621#M596084</guid>
      <dc:creator>jaibau1993</dc:creator>
      <dc:date>2019-10-21T06:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: macro to replace character in field table</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1637802#M596085</link>
      <description>&lt;P&gt;Thank you very much. It worked perfectly.&lt;/P&gt;&lt;P&gt;Is it possible to use it Table Object?&amp;nbsp; I will have to do it eventually.&lt;/P&gt;&lt;P&gt;Tried with tb.AddField "=Replace(columnA,';',',')"&amp;nbsp;&lt;/P&gt;&lt;P&gt;but didnt work.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 12:35:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1637802#M596085</guid>
      <dc:creator>rafael5958</dc:creator>
      <dc:date>2019-10-21T12:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: macro to replace character in field table</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1637834#M596086</link>
      <description>&lt;P&gt;Nope, you can't (as far as I know). A table object only display data as it is, you can not build a calculated dimension nor expression (you have to use a straight or pivot table for that).&lt;/P&gt;&lt;P&gt;There is a workaround, though. If you add in your load script something like&amp;nbsp;&lt;SPAN&gt;&lt;FONT color="#99CC00"&gt;&lt;EM&gt;Replace(columnA,';',',') as columnA_Modified&lt;/EM&gt;&lt;/FONT&gt; then you can use the field colmnA_Modified in your table object.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Jaime.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 13:27:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1637834#M596086</guid>
      <dc:creator>jaibau1993</dc:creator>
      <dc:date>2019-10-21T13:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: macro to replace character in field table</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1637839#M596087</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 13:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-replace-character-in-field-table/m-p/1637839#M596087</guid>
      <dc:creator>rafael5958</dc:creator>
      <dc:date>2019-10-21T13:32:11Z</dc:date>
    </item>
  </channel>
</rss>

