<?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: Stopping an expression from filtering on an unrelated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stopping-an-expression-from-filtering-on-an-unrelated-dimension/m-p/719747#M258514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=SUM(&lt;STRONG&gt;{1}&lt;/STRONG&gt;CallsFact.callCount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{1} &lt;/STRONG&gt;means ignore filters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should work for you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2015 09:10:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-04T09:10:09Z</dc:date>
    <item>
      <title>Stopping an expression from filtering on an unrelated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Stopping-an-expression-from-filtering-on-an-unrelated-dimension/m-p/719741#M258508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having some trouble displaying the numbers I want to see in my application, and I believe that my solution will lie either in modified data design/linkages, or in expressions to limit the metrics that I'm pulling from my tables.&amp;nbsp; Let me try to explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached my table diagram for clarity and reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a pretty simple application where I have pulled in two cubes that were built for other purposes, and am trying to recreate some reports for those cubes in Qlikview.&amp;nbsp; There is an "Rx" cube, and a "Calls" cube.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rx is basically uniquePrescriberID, weekID, formID (product), and some metrics.&lt;/P&gt;&lt;P&gt;Calls is uniquePrescriberID, weekID, callTypeID, and some different metrics. There is no product (formID) in this cube.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set up a straight table with one dimension and two expressions.&lt;/P&gt;&lt;P&gt;Dimension = DimPrescriber.PValue&lt;/P&gt;&lt;P&gt;Expression 1 =SUM(CallsFact.callCount)&lt;/P&gt;&lt;P&gt;Expression 2 =sum(RxFact.T_DOLVolume)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do not select anything from my listboxes, my numbers all seem to look pretty good.&lt;/P&gt;&lt;P&gt;However, the problem I'm having is when I select a product (formID) from my Product Listbox. In this case, my Rx numbers filter correctly - but the Calls numbers also are filtering/changing somehow, which I do not want because CallsFact does not have formID in the table.&amp;nbsp; It seems the app is inferring a relationship to formID through the link to RxFact (due to them both having weekID and uniquePrescriberID as keys) even though formID has absolutely no relevance to the Calls data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how can I best stop this from happening and keep my "=SUM(CallsFact.callCount)" expression static when I change items in the Product ListBox?&amp;nbsp; Is it a question of smarter table design, or is there a kind of expression I can use to solve it?&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, 20 Jun 2014 12:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stopping-an-expression-from-filtering-on-an-unrelated-dimension/m-p/719741#M258508</guid>
      <dc:creator />
      <dc:date>2014-06-20T12:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping an expression from filtering on an unrelated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Stopping-an-expression-from-filtering-on-an-unrelated-dimension/m-p/719742#M258509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a solution, though not sure if it's a better choice than any potential table design/linkage solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the {$&amp;lt;field=&amp;gt;} set syntax in the documention, which I hadn't seen before. This expression seems to be getting me what I want to see:&lt;/P&gt;&lt;P&gt;=SUM({$&amp;lt;productGroupName=&amp;gt;} CallsFact.callCount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 13:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stopping-an-expression-from-filtering-on-an-unrelated-dimension/m-p/719742#M258509</guid>
      <dc:creator />
      <dc:date>2014-06-20T13:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping an expression from filtering on an unrelated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Stopping-an-expression-from-filtering-on-an-unrelated-dimension/m-p/719743#M258510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can also consider concatenating your two fact tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;edit: &lt;/SPAN&gt;&lt;A class="jive-link-external-small unlinked"&gt;http://qlikviewnotes.blogspot.de/2009/11/understanding-join-and-concatenate.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 13:36:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stopping-an-expression-from-filtering-on-an-unrelated-dimension/m-p/719743#M258510</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-06-20T13:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping an expression from filtering on an unrelated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Stopping-an-expression-from-filtering-on-an-unrelated-dimension/m-p/719744#M258511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I will look into this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was just thinking that the expression solution is not a good one, because if I add more listboxes for other fields that are not common between the 2 fact tables, I would need to add more and more field exceptions into the expressions for every single metric I put on every chart.&amp;nbsp; That is not efficient at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 13:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stopping-an-expression-from-filtering-on-an-unrelated-dimension/m-p/719744#M258511</guid>
      <dc:creator />
      <dc:date>2014-06-20T13:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping an expression from filtering on an unrelated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Stopping-an-expression-from-filtering-on-an-unrelated-dimension/m-p/719745#M258512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I implemented the concatenation, and it does make my table diagram look a little simpler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's giving me a different (and quite logical) behavior for my =SUM(CallsFact.callCount) expression now, which is that it just displays zeros for every record when I choose an individual product from my listbox. While I suppose this is technically correct, it's not ideal - I would still like it to display as though no product was selected, regardless of what is chosen.&amp;nbsp; While the SET logic I found does accomplish this, it doesn't seem ideal to me, since I would need to make more and more exceptions in every expression as I add more cubes and dimensions to the app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 14:22:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stopping-an-expression-from-filtering-on-an-unrelated-dimension/m-p/719745#M258512</guid>
      <dc:creator />
      <dc:date>2014-06-20T14:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping an expression from filtering on an unrelated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Stopping-an-expression-from-filtering-on-an-unrelated-dimension/m-p/719746#M258513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still have not found a solution for what I am looking to do - does anyone have any recommendations for a good reference on data design/table linkage strategies in Qlikview that I might be able to read through some examples to devise a better approach?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 11:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stopping-an-expression-from-filtering-on-an-unrelated-dimension/m-p/719746#M258513</guid>
      <dc:creator />
      <dc:date>2014-06-30T11:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping an expression from filtering on an unrelated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Stopping-an-expression-from-filtering-on-an-unrelated-dimension/m-p/719747#M258514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=SUM(&lt;STRONG&gt;{1}&lt;/STRONG&gt;CallsFact.callCount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{1} &lt;/STRONG&gt;means ignore filters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should work for you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 09:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stopping-an-expression-from-filtering-on-an-unrelated-dimension/m-p/719747#M258514</guid>
      <dc:creator />
      <dc:date>2015-08-04T09:10:09Z</dc:date>
    </item>
  </channel>
</rss>

