<?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: Script help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/1569456#M441996</link>
    <description>&lt;P&gt;Your snippet of the load could be optimized but I doubt that this alone will have a very big effect on the run-times unless it breaks an optimized load. Nevertheless try:&lt;/P&gt;&lt;P&gt;alt(pick(wildmatch(upper(Attribute), '*DATE*','*PREM*'),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(floor([Attribute Value]),'MM/DD/YYYY'), num([Attribute Value],'$#,##0.00')),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; text([Attribute Value])) as [Attribute Value],&lt;BR /&gt;num([Attribute Value],'###,###,###,###,###') as [Attribute Num],&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2019 13:30:42 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2019-04-15T13:30:42Z</dc:date>
    <item>
      <title>Script help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/1569379#M441983</link>
      <description>&lt;P&gt;Below script is taking very long time to reload about 1 hour.&lt;/P&gt;&lt;P&gt;Please help to modify it to reduce reload time&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fact:&lt;BR /&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;&lt;BR /&gt;if(wildmatch(Attribute, '*DATE*') or wildmatch(Attribute, '*date*') or wildmatch(Attribute, '*Date*'),&lt;BR /&gt;date(floor([Attribute Value]),'MM/DD/YYYY'),&lt;BR /&gt;if(wildmatch(Attribute, '*prem*') or wildmatch(Attribute, '*PREM*') or wildmatch(Attribute, '*Prem*'),&lt;BR /&gt;text(num([Attribute Value],'$#,##0.00')),&lt;BR /&gt;text([Attribute Value]))) as [Attribute Value],&lt;BR /&gt;if(len(num([Attribute Value],'###,###,###,###,###'))&amp;gt;0,[Attribute],null()) as [Attribute Num],&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 12:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help/m-p/1569379#M441983</guid>
      <dc:creator>Mahamed_Qlik</dc:creator>
      <dc:date>2019-04-15T12:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Script help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/1569456#M441996</link>
      <description>&lt;P&gt;Your snippet of the load could be optimized but I doubt that this alone will have a very big effect on the run-times unless it breaks an optimized load. Nevertheless try:&lt;/P&gt;&lt;P&gt;alt(pick(wildmatch(upper(Attribute), '*DATE*','*PREM*'),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(floor([Attribute Value]),'MM/DD/YYYY'), num([Attribute Value],'$#,##0.00')),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; text([Attribute Value])) as [Attribute Value],&lt;BR /&gt;num([Attribute Value],'###,###,###,###,###') as [Attribute Num],&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 13:30:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help/m-p/1569456#M441996</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-04-15T13:30:42Z</dc:date>
    </item>
  </channel>
</rss>

