<?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: Replace Expression code with EditScript code in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116565#M636833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this already but sum(LeadsByActiveContacts) changes the final output that is the reason i just want to refer it as is in the frontend . Is there a way to do it without use of sum?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2016 15:44:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-05-20T15:44:52Z</dc:date>
    <item>
      <title>Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116557#M636825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using following in the expression which works just fine(shown in red). For some other reasons(cant elaborate here) i want to replace below expression code(in red) with EditScript code(in green)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression Code :-&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;STRONG&gt;=sum({&amp;lt;Market={'Italy'}&amp;gt;}[Unique Leads 1 Month])/sum({&amp;lt;Market={'Italy'}&amp;gt;}[Active Contacts])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit Script Code:-&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #666666;"&gt;&lt;STRONG style=": ; color: #339966;"&gt;sum(if(COD_MARKET='Italy',[Unique Leads 1 Month]))/sum(if(COD_MARKET='Italy',[Active Contacts])) as LeadsByActiveContacts&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #666666;"&gt;&lt;STRONG style=": ; color: #339966;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif; color: #000000;"&gt;I tried to do the following to replace the expression but it doesn't work!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #666666;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;=LeadsByActiveContacts&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="line-height: 21px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 14:54:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116557#M636825</guid>
      <dc:creator />
      <dc:date>2016-05-20T14:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116558#M636826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Edit script code is fine.. what is issue there?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 15:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116558#M636826</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-20T15:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116559#M636827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to refer the Edit Script code in the Expression. how do i do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 15:23:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116559#M636827</guid>
      <dc:creator />
      <dc:date>2016-05-20T15:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116560#M636828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Script itself ran, but the final output is not matching up? What is the issue we are trying to troubleshoot here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 15:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116560#M636828</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-20T15:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116561#M636829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried to remove the equal symbol in the expression. You can try to put a expression like this: LeadsByActiveContacts/1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 15:32:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116561#M636829</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2016-05-20T15:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116562#M636830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dont you just want to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET &lt;SPAN style="font-size: 14px; font-family: Helvetica, sans-serif; color: #339966;"&gt;&lt;STRONG&gt;LeadsByActiveContacts&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN style="font-size: 14px; font-family: Helvetica, sans-serif; color: #339966;"&gt;&lt;STRONG&gt;sum(if(COD_MARKET='Italy',[Unique Leads 1 Month]))/sum(if(COD_MARKET='Italy',[Active Contacts]))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then where you previously had the code, do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(LeadsByActiveContacts) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/EDIT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO, your problem is, I assume in your code you're doing something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Things,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stuff,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dimensions,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; etc,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #575757;"&gt;sum(if(COD_MARKET='Italy',[Unique Leads 1 Month]))/sum(if(COD_MARKET='Italy',[Active Contacts])) as&lt;/SPAN&gt; LeadsByActiveContacts&lt;/P&gt;&lt;P&gt;Resident someplace&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or something to that effect. The trouble is doing it in a table load like that, is essentially running the aggregation (the summation) per row of that table. So, for every row its just going to sum that row, which will just be itself, it wont take any other rows into consideration. So for every row of your table, you'll have a field LeadsByActiveContacts which has the value in [Unique Leads 1 Month] for that row divided by the value in [active contracts] for that row. (If COD_MARKET is italy, etc). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do what you want using Aggr, but it starts to get messy. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 15:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116562#M636830</guid>
      <dc:creator>richnorris</dc:creator>
      <dc:date>2016-05-20T15:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116563#M636831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no better way to explain it. In simple terms i am asking how do i refer the EditScript code in this case in the Expression in Frontend&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 15:35:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116563#M636831</guid>
      <dc:creator />
      <dc:date>2016-05-20T15:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116564#M636832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you should try below in expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt;&lt;STRONG&gt;=sum(LeadsByActiveContacts)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt;&lt;STRONG&gt;or any other relevant aggregation function&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 15:37:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116564#M636832</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-20T15:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116565#M636833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this already but sum(LeadsByActiveContacts) changes the final output that is the reason i just want to refer it as is in the frontend . Is there a way to do it without use of sum?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 15:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116565#M636833</guid>
      <dc:creator />
      <dc:date>2016-05-20T15:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116566#M636834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since the code is not converted into a field, all you have to do is refer to it as a field. May be first in a table box object to check if the numbers are making sense or not&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 15:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116566#M636834</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-20T15:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116567#M636835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, you do that like I said above. You store the code into a variable in edit script, and then in your code, you use the dollar expansion of that variable. It's actually quite good practice, as it means you can reuse the calculation in different expressions and tables without having to re type it out each time. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 15:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116567#M636835</guid>
      <dc:creator>richnorris</dc:creator>
      <dc:date>2016-05-20T15:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116568#M636836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what i tried to do as you mentioned. See the text in Bold below.This gives an error though when i load script.As the variables which are used in this statement are not yet loaded inot memory??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ThousandSep=',';&lt;/P&gt;&lt;P&gt;SET DecimalSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyThousandSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyDecimalSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyFormat='$#,##0.00;($#,##0.00)';&lt;/P&gt;&lt;P&gt;SET TimeFormat='h:mm:ss TT';&lt;/P&gt;&lt;P&gt;SET DateFormat='M/D/YYYY';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='M/D/YYYY h:mm:ss[.fff] TT';&lt;/P&gt;&lt;P&gt;SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;/P&gt;&lt;P&gt;SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET LeadsByActiveContacts = sum(if(COD_MARKET='Italy',[Unique Leads 1 Month]))/sum(if(COD_MARKET='Italy',[Active Contacts]));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD date(Month,'MMM-YY') as Month, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COD_MARKET as Market, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Brand_Desc, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Source Channel], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Active Contacts], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Unique Leads last 6 Months], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Unique Leads 1 Month], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Unique Permissions], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Total_Permission, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Contacts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 16:04:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116568#M636836</guid>
      <dc:creator />
      <dc:date>2016-05-20T16:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116569#M636837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=only(&lt;SPAN style="color: #000000; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt;&lt;STRONG&gt;LeadsByActiveContacts)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 16:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116569#M636837</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-20T16:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116570#M636838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Already tried this too ! doesn't work. It will display blanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 16:12:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116570#M636838</guid>
      <dc:creator />
      <dc:date>2016-05-20T16:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116571#M636839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Call the Let function after the Table load, It's better practice &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 16:17:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116571#M636839</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2016-05-20T16:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116572#M636840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you share sample application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 16:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116572#M636840</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-20T16:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116573#M636841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i try to place it after the table load it doesn't accept the "LET" function. I tried that too.&lt;/P&gt;&lt;P&gt;Can you modify the above code and show me what you mean?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 16:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116573#M636841</guid>
      <dc:creator />
      <dc:date>2016-05-20T16:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Expression code with EditScript code</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116574#M636842</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 style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;Try this&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;In script - use 2 single quotes &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LET&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;LeadsByActiveContacts&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;sum(if(COD_MARKET=&lt;/SPAN&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black;"&gt;''&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Italy&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black;"&gt;''&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,[Unique Leads 1 Month]))/sum(if(COD_MARKET=&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black;"&gt;''&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Italy&lt;/SPAN&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black;"&gt;''&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,[Active Contacts]))&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;LeadsByActiveContacts)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 17:47:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Expression-code-with-EditScript-code/m-p/1116574#M636842</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-05-20T17:47:04Z</dc:date>
    </item>
  </channel>
</rss>

