<?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: Filtering expresions using $ in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-expresions-using/m-p/1171727#M915383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({1&amp;lt;city = $::city&amp;gt;} sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is slightly different then the syntax provided by Gysbert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gysbert's solution will show all possible values of city. For instance if you make a selection in date field and for that particular date there are only 2 cities available, you will see the Sum(Sales) for all dates, but only those two cities. Where as the one provided above will only filter based on direct selection in city field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 May 2016 18:21:08 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-05-18T18:21:08Z</dc:date>
    <item>
      <title>Filtering expresions using $</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-expresions-using/m-p/1171724#M915380</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 I have a sales expressions and I define:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {$} sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then sales are filtered by current selection. My question is: Can&amp;nbsp; I filter only by the selections done in one field??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is, something like that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;city = city&amp;gt;}&amp;nbsp; sales) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ii doesn't work, because I want the expression filtered only by city, but If I make selecctions by other fileds , this selections affects the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me?&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>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-expresions-using/m-p/1171724#M915380</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering expresions using $</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-expresions-using/m-p/1171725#M915381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Yes, like this: sum( {1&amp;lt;city = P(city)&amp;gt;}&amp;nbsp; sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 18:05:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-expresions-using/m-p/1171725#M915381</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-18T18:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering expresions using $</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-expresions-using/m-p/1171726#M915382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find more information on set analysis here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4951"&gt;Set Analysis: syntaxes, examples&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 18:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-expresions-using/m-p/1171726#M915382</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-05-18T18:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering expresions using $</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-expresions-using/m-p/1171727#M915383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({1&amp;lt;city = $::city&amp;gt;} sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is slightly different then the syntax provided by Gysbert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gysbert's solution will show all possible values of city. For instance if you make a selection in date field and for that particular date there are only 2 cities available, you will see the Sum(Sales) for all dates, but only those two cities. Where as the one provided above will only filter based on direct selection in city field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 18:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-expresions-using/m-p/1171727#M915383</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-18T18:21:08Z</dc:date>
    </item>
  </channel>
</rss>

