<?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: Simple Script Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815965#M1038874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please mark correct Answer, so the Question status can be closed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. Glad to have been of assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jan 2015 00:31:51 GMT</pubDate>
    <dc:creator>djsampat</dc:creator>
    <dc:date>2015-01-06T00:31:51Z</dc:date>
    <item>
      <title>Simple Script Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815956#M1038854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P&gt;I have different Currency Code in my dashboard. In one tab I showed all the currency code and in another tab i showed only two currency code across the tab using filter in the script like this : if(DataAreaID ='TT','USD','GBP') as FunctionalCurrency.&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P&gt;Now i was trying to show only USD as the reporting currency in another tab. What should i do in the script? I used action to select only USD for that tab and its working but when i switch to other tab the USD currency selection persists which i dont want. I would like to do that from the script.&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 07:33:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815956#M1038854</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2015-01-05T07:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Script Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815957#M1038856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use trigger to reset the reported currency on leaving the sheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 07:47:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815957#M1038856</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-05T07:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Script Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815958#M1038858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;View image and do the following:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open Sheet Properties, Select Triggers tab, On ActivateSheet, click Add Actions, Click Add, select the Action "Clear Field" (or "Clear All" if required) and in the Field, select the Field, click Ok twice and go back to the Main tab, make a few selections and then click the new Sheet1 and it will clear the selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74605_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;If this helped you, please mark as Helpful. If it solves your issue, please mark as Answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Regards&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Dhruv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 08:29:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815958#M1038858</guid>
      <dc:creator>djsampat</dc:creator>
      <dc:date>2015-01-05T08:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Script Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815959#M1038861</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;In the script define&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8000001907349px;"&gt;if(DataAreaID ='TT','USD') as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8000001907349px;"&gt;FunctionalCurrencyUSD,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8000001907349px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8000001907349px;"&gt;if(DataAreaID &amp;lt;&amp;gt;'TT','&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8000001907349px;"&gt;GBP'&lt;/SPAN&gt;) as &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8000001907349px;"&gt;FunctionalCurrencyGBP&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;now you can use separate columns for you calculation or selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 09:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815959#M1038861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-05T09:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Script Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815960#M1038864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. But this script is not working :&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8px;"&gt;if(DataAreaID ='TT','USD') as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8px;"&gt;FunctionalCurrencyUSD.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.8px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG alt="sc.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74592_sc.PNG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This script is working:&amp;nbsp; if(DataAreaID ='TT','USD','GBP') as FunctionalCurrency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the second one : &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8px;"&gt;if(DataAreaID ='TT','USD') as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8px;"&gt;FunctionalCurrencyUSD. is not working. Dont know why.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.8px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.8px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Shan&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>Mon, 05 Jan 2015 09:23:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815960#M1038864</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2015-01-05T09:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Script Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815961#M1038866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px;"&gt;use this :&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px;"&gt;if(DataAreaID ='TT','USD',' '&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px;"&gt; &lt;/SPAN&gt;) as &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px;"&gt;FunctionalCurrencyUSD,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 09:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815961#M1038866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-05T09:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Script Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815962#M1038869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Clear All trigger on moving to other tabs and selection of USD currency, trigger, on moving to that particular tab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably the simplest way to address your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 09:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815962#M1038869</guid>
      <dc:creator>alkesh_sharma</dc:creator>
      <dc:date>2015-01-05T09:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Script Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815963#M1038872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this and its working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurrencyCode&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='USD',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurrencyCode&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReportingCurrency&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 09:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815963#M1038872</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2015-01-05T09:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Script Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815964#M1038873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also tried this solution. It worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 09:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815964#M1038873</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2015-01-05T09:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Script Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815965#M1038874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please mark correct Answer, so the Question status can be closed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. Glad to have been of assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 00:31:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Script-Problem/m-p/815965#M1038874</guid>
      <dc:creator>djsampat</dc:creator>
      <dc:date>2015-01-06T00:31:51Z</dc:date>
    </item>
  </channel>
</rss>

