<?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: Selection Format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selection-Format/m-p/608893#M224805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you want to filter the data on the back-end itself then you can use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Match(Accno,10,11) and Year='2000' ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing to notice here is 10 and 11 should be number fields and make sure Year is in the right format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use this on some calculations on the front-end you can use it as mentioned by Anand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Mar 2014 17:38:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-21T17:38:58Z</dc:date>
    <item>
      <title>Selection Format</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-Format/m-p/608891#M224803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, i Was just wondering whats the correct format for some selection's at the script with the Where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im currently extracting some info, and to do some filters i need to filter just account number 10 and 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the where clause i use Where( AccNum = '10' or AccNum='11') and Year='2000' but i dont think its working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I remeber once seeing and example that i cant find right now that used like {'10''11'} or something like that but im not quite sure how the format goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone knows how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 17:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-Format/m-p/608891#M224803</guid>
      <dc:creator />
      <dc:date>2014-03-21T17:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Format</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-Format/m-p/608892#M224804</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;Use SET Analysis for this like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year={2000}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;AccNum &lt;/SPAN&gt;={10,11}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 17:34:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-Format/m-p/608892#M224804</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-03-21T17:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Format</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-Format/m-p/608893#M224805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you want to filter the data on the back-end itself then you can use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Match(Accno,10,11) and Year='2000' ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing to notice here is 10 and 11 should be number fields and make sure Year is in the right format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use this on some calculations on the front-end you can use it as mentioned by Anand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 17:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-Format/m-p/608893#M224805</guid>
      <dc:creator />
      <dc:date>2014-03-21T17:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Format</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-Format/m-p/608894#M224806</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;If you work on this in expression part then use&lt;/P&gt;&lt;P&gt;Expression = sum({$&amp;lt;Year={2000}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;AccNum &lt;/SPAN&gt;={10,11}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in load script it works like&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Accno,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;statements&lt;/P&gt;&lt;P&gt;From location&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Where Match(Accno,10,11) and Year='2000' ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;like this you have use Yes as Ajay say you have to check your data format of the field then you have to use fields.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 17:47:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-Format/m-p/608894#M224806</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-03-21T17:47:16Z</dc:date>
    </item>
  </channel>
</rss>

