<?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 fix a dimension while following the current location in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-fix-a-dimension-while-following-the-current-location/m-p/399258#M559717</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can modify the expression to disregard selections in the Period field:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Sum ({$&amp;lt;&lt;STRONG&gt;Period=&lt;/STRONG&gt;&amp;gt;} [Rev.Amount rev])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Replace Period with the actual name of your period field.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Apr 2013 09:06:59 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-04-25T09:06:59Z</dc:date>
    <item>
      <title>How to fix a dimension while following the current location</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-a-dimension-while-following-the-current-location/m-p/399257#M559713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First post so I'm sorry if I'm not in the right part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart in which I compare the revenues from the total products with a specific product or group of prroduct that I select with the current selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that the "all products" line is working fine and displaying 2010 to 2012 revenues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the expression:&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;[Prd.Solution Line Id]={'96100'}&amp;gt;} [Rev.Amount rev])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I have my comparison graph expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum ({$} [Rev.Amount rev])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that by default, the "all products" grah will be for all period (2010-2012) while my comparison graph will be only related the period I select...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone knows how I can have also the specific product display on the same range as the main one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I would like to know where I can find some material and examples to be able to train myself on such formulas....any ideas except in the manual?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 08:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-a-dimension-while-following-the-current-location/m-p/399257#M559713</guid>
      <dc:creator />
      <dc:date>2013-04-25T08:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix a dimension while following the current location</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-a-dimension-while-following-the-current-location/m-p/399258#M559717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can modify the expression to disregard selections in the Period field:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Sum ({$&amp;lt;&lt;STRONG&gt;Period=&lt;/STRONG&gt;&amp;gt;} [Rev.Amount rev])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Replace Period with the actual name of your period field.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 09:06:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-a-dimension-while-following-the-current-location/m-p/399258#M559717</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-25T09:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix a dimension while following the current location</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-a-dimension-while-following-the-current-location/m-p/399259#M559718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works and I don't feel lonely anymore in front of QV &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 09:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-a-dimension-while-following-the-current-location/m-p/399259#M559718</guid>
      <dc:creator />
      <dc:date>2013-04-25T09:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix a dimension while following the current location</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-a-dimension-while-following-the-current-location/m-p/399260#M559719</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;I have an add related question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the below formulas if I want it to follow the selected period which name is Dte.year?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;[Prd.Solution Line Id]={'96100'}&amp;gt;} [Rev.Amount rev])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 10:30:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-a-dimension-while-following-the-current-location/m-p/399260#M559719</guid>
      <dc:creator />
      <dc:date>2013-04-25T10:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix a dimension while following the current location</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-a-dimension-while-following-the-current-location/m-p/399261#M559720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&amp;nbsp; sum({1&amp;lt;[Prd.Solution Line Id]={96100}, &lt;STRONG&gt;[Dte.year]=p([Dte.year])&lt;/STRONG&gt; &amp;gt;} [Rev.Amount rev])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means disregard all selections and filter Prd.Solution Line Id on value 96100 and use all possible values of Dte.Year (that's what the p() function does, select the possible values). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can leave out the single quotes around 96100 since it's a number. Matching numbers is faster than matching strings so not using the quotes here would make it a bit faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At some point you may want to remove the 1 and exclude individual fields instead from the selections&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Prd.Solution Line Id]={96100}, &lt;STRONG&gt;Field1=, Field2=&lt;/STRONG&gt; &amp;gt;} [Rev.Amount rev])&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 11:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-a-dimension-while-following-the-current-location/m-p/399261#M559720</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-25T11:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix a dimension while following the current location</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fix-a-dimension-while-following-the-current-location/m-p/399262#M559721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's perfect!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 11:31:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fix-a-dimension-while-following-the-current-location/m-p/399262#M559721</guid>
      <dc:creator />
      <dc:date>2013-04-25T11:31:37Z</dc:date>
    </item>
  </channel>
</rss>

