<?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: How to use {} in script. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933995#M950128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post sample data and expected result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Dec 2015 00:15:47 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2015-12-16T00:15:47Z</dc:date>
    <item>
      <title>How to use {} in script.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933991#M950124</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;I am using below set analysis in Chart Table, i want to use this at script level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Country='US','N/A',sum({$&amp;lt;MNTH={'0'}&amp;gt;} [Revenue]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 20:11:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933991#M950124</guid>
      <dc:creator>ashishpalkar</dc:creator>
      <dc:date>2015-12-15T20:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to use {} in script.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933992#M950125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your set analysis will only filter MNTH field with a fixed value, but the aggregation will still regard other user selections.&lt;/P&gt;&lt;P&gt;How will you handle this in the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 20:21:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933992#M950125</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-12-15T20:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to use {} in script.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933993#M950126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want a sum of Revenue by Country (excluding US) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 20:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933993#M950126</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-12-15T20:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use {} in script.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933994#M950127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes , and month can be from 0 to 12. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 20:29:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933994#M950127</guid>
      <dc:creator>ashishpalkar</dc:creator>
      <dc:date>2015-12-15T20:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to use {} in script.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933995#M950128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post sample data and expected result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 00:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933995#M950128</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-12-16T00:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to use {} in script.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933996#M950129</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;Hope country, revenue and month field are available in same table.&lt;/P&gt;&lt;P&gt;If so, try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;IF(Country &amp;lt;&amp;gt; 'US' and MNTH = 0,[Revenue], 0) AS MonthZeroNonUSRevenue,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;IF(Country &amp;lt;&amp;gt; 'US' and MNTH = 0,1, 0) AS MonthZeroNonUSFlag;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exp:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;MonthZeroNonUSFlag ={&lt;/SPAN&gt;1}&amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;Revenue)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;=Sum(&lt;SPAN style="font-size: 13.3333px;"&gt;MonthZeroNonUSRevenue)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else, please post sample data and required output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 06:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933996#M950129</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2015-12-16T06:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use {} in script.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933997#M950130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If &lt;STRONG&gt;Country, Month, Revenue field are in same table,&lt;/STRONG&gt; then this should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at script table:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&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: 13px;"&gt;&lt;STRONG&gt;IF(Country='US','N/A',if(Month='0', sum(Revenue))) &lt;/STRONG&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: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 06:08:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933997#M950130</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-16T06:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to use {} in script.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933998#M950131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Try This :&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;IF(Country='US','N/A',if(Month='0',Revenue)) as Revenue1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;then summation you can do on the dashboard as sum(Revenue1)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Thanks&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Khushboo&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 06:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933998#M950131</guid>
      <dc:creator />
      <dc:date>2015-12-16T06:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use {} in script.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933999#M950132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;hi Ashish&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;try this &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF(wildmatch(Country,'US')=0,'N/A',if(Month='0', sum(Revenue)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;hope this help you&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Ahmar&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 06:17:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/933999#M950132</guid>
      <dc:creator>ahmar811</dc:creator>
      <dc:date>2015-12-16T06:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to use {} in script.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/934000#M950133</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;As per my knowledge we can't use set expression in qlikview scripting.&lt;/P&gt;&lt;P&gt;Try something like&amp;nbsp; using groupby clause.&lt;/P&gt;&lt;P&gt;or you can follow what khushboo suggested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tripati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 07:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/934000#M950133</guid>
      <dc:creator>tripatirao</dc:creator>
      <dc:date>2015-12-16T07:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to use {} in script.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/934001#M950134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for for your helpful response. &lt;/P&gt;&lt;P&gt;Khushboo's suggestion is best fit and working fine... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 17:24:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-in-script/m-p/934001#M950134</guid>
      <dc:creator>ashishpalkar</dc:creator>
      <dc:date>2015-12-16T17:24:02Z</dc:date>
    </item>
  </channel>
</rss>

