<?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: Expression not matching with dimension in bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72353#M11982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is possible to share the file you are working on to have a quick look?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2018 16:03:26 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2018-05-22T16:03:26Z</dc:date>
    <item>
      <title>Expression not matching with dimension in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72348#M11977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am experiencing something very strange with a bar chart.&amp;nbsp; I have one expression value that isn't joining up with a dimension but is still part of it.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="image 1.png" class="jive-image image-1" src="/legacyfs/online/203056_image 1.png" style="height: 235px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;The bar on the right hand side is the value for the 'Planned Care' dimension but is showing as not part of anything.&amp;nbsp; If I select planned care I still get the same but the value is the only one showing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="image 2.png" class="jive-image image-2" src="/legacyfs/online/203066_image 2.png" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't get this issue with any of the other values I have within my data, just this one.&amp;nbsp; The expression and value are joined by a primary/foreign key relationship which is populated direct from teh table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any idea what might be causing this or where I may have gone wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jarrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 12:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72348#M11977</guid>
      <dc:creator>jarrad_murray</dc:creator>
      <dc:date>2018-05-22T12:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not matching with dimension in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72349#M11978</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;verify your link between the two tables,&lt;/P&gt;&lt;P&gt;it seems that your table with amounts is not populated with the right value of 'Planned Care'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 15:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72349#M11978</guid>
      <dc:creator>ogautier62</dc:creator>
      <dc:date>2018-05-22T15:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not matching with dimension in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72350#M11979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think its showing total of your dimension. Can you screenshot your Dimensionlimits tab in the chart properties and see if you have checked Show others?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203090_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 15:11:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72350#M11979</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-05-22T15:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not matching with dimension in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72351#M11980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olivier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The link between my two tables appears fine (see snapshots below).&amp;nbsp; The value in the project table gets populated from a drop down off of the department table.&amp;nbsp; All of the other departments match up fine just this one.&amp;nbsp; I have checked even overwritten the value from one table to the other but still get this error.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Departments.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203092_Departments.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Project.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/203093_Project.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 15:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72351#M11980</guid>
      <dc:creator>jarrad_murray</dc:creator>
      <dc:date>2018-05-22T15:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not matching with dimension in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72352#M11981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishwarath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have the 'Show Others' option checked but deselecting it doesn't make any difference.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Options.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203094_Options.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 15:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72352#M11981</guid>
      <dc:creator>jarrad_murray</dc:creator>
      <dc:date>2018-05-22T15:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not matching with dimension in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72353#M11982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is possible to share the file you are working on to have a quick look?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 16:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72353#M11982</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-05-22T16:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not matching with dimension in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72354#M11983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Example File Attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 08:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72354#M11983</guid>
      <dc:creator>jarrad_murray</dc:creator>
      <dc:date>2018-05-24T08:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not matching with dimension in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72355#M11984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishwarath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added an example file to the discussion thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 08:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72355#M11984</guid>
      <dc:creator>jarrad_murray</dc:creator>
      <dc:date>2018-05-24T08:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not matching with dimension in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72356#M11985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;based on your expr: = Count({$-&amp;lt;Project_Approved = {'-1'}&amp;gt;} Project_Name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does '$-' is doing here in your expr is removing those depts whose projects approved is -1? Right correct me? &lt;/P&gt;&lt;P&gt;So the projects which do not have -1 for projects approved we want to count them, means in the below screenshot the deptKeys 7,4,10 we have 2 depts with null Project approved and two (of which one is -1 and another is -) project approved. So when you use your expr to take away projects whose projects approved is -1 we are losing deptkey - 7, hence you are getting Null for that Department. Correct me here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/203431_Capture.PNG" style="height: 132px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203430_Capture.PNG" style="height: 185px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 16:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72356#M11985</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-05-24T16:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not matching with dimension in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72357#M11986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishwarath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct, the '$-' is to exclude all projects with an approved of '-1'.&amp;nbsp; I have tried changing the expression to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;= Count({&amp;lt;Project_Approved -= {'-1'}&amp;gt;} Project_Name) but this doesn't work.&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: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I don't quite follow your response, are you saying that because I have a -1 for an existing deptkey 7 that I will lose all other instances of this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversley, If I change the department to departmentKey the expression aligns as expected.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Key_Graph.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203467_Key_Graph.png" style="height: 352px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 07:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72357#M11986</guid>
      <dc:creator>jarrad_murray</dc:creator>
      <dc:date>2018-05-25T07:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not matching with dimension in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72358#M11987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will have to look into it again. Will get back later. ok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72358#M11987</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-05-25T14:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not matching with dimension in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72359#M11988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am still looking into why $- is removing all the instances of the departmentkeys. Quiet not sure. However, for now we have a work around to use this expr in your charts. So rather than removing projects approved using $- i used condition inside the set removing -1 for those project names. Do the testing and see if that works for you. Attaching the app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expr used: = Count({$&amp;lt; Project_Name = {"= Project_Approved &amp;lt;&amp;gt; '-1'"} &amp;gt;} Project_Name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will have to further look into why that does not work. I believe we have Nulls for those department keys for whom the projects were not assigned. As the department and projects are linked based on key department key, you are finding the key 7 when you count projects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72359#M11988</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-05-25T14:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not matching with dimension in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72360#M11989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishwarath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for this solution, I have applied it and it works as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jarrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 11:59:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-matching-with-dimension-in-bar-chart/m-p/72360#M11989</guid>
      <dc:creator>jarrad_murray</dc:creator>
      <dc:date>2018-06-04T11:59:03Z</dc:date>
    </item>
  </channel>
</rss>

