<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074905#M928620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the issue is related to the distinct count. In your bar chart it is showing the distinct count by DRGRSLT which after selection is just for one value. Whereas the block chart still has multiple dimensions and the count is distinct for each value within your dimension. The problem is that two dimensions can count a distinct value once for each of value. So if you sum up all the count, you will end up having more than the actual distinct count.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Mar 2016 10:56:19 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-03-15T10:56:19Z</dc:date>
    <item>
      <title>Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074903#M928618</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;In the attachment i have 2 charts One is bar graph and the other is Block chart.&lt;/P&gt;&lt;P&gt;I have derived.&lt;/P&gt;&lt;P&gt;If u look at the bar chart the dimesnions (Sensitivity, resistant,Internediate ect) are derived from Drugresult .&lt;/P&gt;&lt;P&gt;Required :&lt;/P&gt;&lt;P&gt;If i clik any one content say Sensitivity whose output count is =790,&lt;/P&gt;&lt;P&gt;And accordingly the Block charts show only for sensitvity , but the numbers dont match.&lt;/P&gt;&lt;P&gt;Can any one suggest me that what Expression do in need to add under block char so that the count of both the charts remain same.&lt;/P&gt;&lt;P&gt;Thanks&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/Expression/m-p/1074903#M928618</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074904#M928619</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;The reason is one output has multiple DRUGRESULT and thus they are getting counted more then 1 where as your Bar chart shows a distinct against the DRGRSLT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 10:54:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074904#M928619</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-03-15T10:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074905#M928620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the issue is related to the distinct count. In your bar chart it is showing the distinct count by DRGRSLT which after selection is just for one value. Whereas the block chart still has multiple dimensions and the count is distinct for each value within your dimension. The problem is that two dimensions can count a distinct value once for each of value. So if you sum up all the count, you will end up having more than the actual distinct count.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 10:56:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074905#M928620</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-15T10:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074906#M928621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change expressions as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM(Aggr(Count(Distinct output),DRUGRESULT))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 10:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074906#M928621</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-03-15T10:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074907#M928622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish Thanks for your reply &lt;/P&gt;&lt;P&gt;It shoult be count only , i tried with sum it works perfectly , whatever the dimension i select accordindly the values are same in the both charts .&lt;/P&gt;&lt;P&gt;But when i replace sum with&amp;nbsp; count the values are very less .&lt;/P&gt;&lt;P&gt;Can you please look into this &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 11:08:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074907#M928622</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2016-03-15T11:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074908#M928623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny &lt;/P&gt;&lt;P&gt;If you look the sript i have merged in that way , wherever ther is "SN " it should be Sensitivty&amp;nbsp; and so on ,&lt;/P&gt;&lt;P&gt;I think you understood what i mean to say . for both the charts the value should match for count , It cannot be sum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 11:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074908#M928623</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2016-03-15T11:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074909#M928624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you simply use COUNT(Distinct &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;output).. it will not work because you have more than one DRUGRESULT for single output.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider 8/1/2015|BSGA|1595953... For this output you have 6 Different DRUGRESULT.&lt;/P&gt;&lt;P&gt;So if you select this output, you will get 6 different blocks in block chart which will give you count 6 but&lt;/P&gt;&lt;P&gt;your bar chart would give you 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 11:22:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074909#M928624</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-03-15T11:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074910#M928625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes&amp;nbsp; i do agree &lt;/P&gt;&lt;P&gt;And you formula works other way that is &lt;/P&gt;&lt;P&gt;Under block chart i used this formula = 'Sum(Aggr(Count(Distinct output),DRGRSLT))' which gives the me the exact count&amp;nbsp; of each individual as that in the bar charts but the problem is ,it is not showing all the blocks for sensitivity .&lt;/P&gt;&lt;P&gt;If i get that then iam good to go .&lt;/P&gt;&lt;P&gt;I hope u can provide me with some solution &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 11:31:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074910#M928625</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2016-03-15T11:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074911#M928626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean by now showing &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;all the blocks for sensitivity? Please clarify by an example.&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: 13px;"&gt;You don't have to change the expression for Block Chart.. Only use the expression suggested for Bar Chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 11:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074911#M928626</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-03-15T11:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074912#M928627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok&amp;nbsp; i understand , But iam trying to match the values of block chart with bar chart .&lt;/P&gt;&lt;P&gt;In bar chart if i select Sensitivty , then it shows only one block , rather it should show multiple blocks for sensitivyt and so on . &lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 11:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074912#M928627</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2016-03-15T11:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074913#M928628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then Replace dimension&lt;/P&gt;&lt;P&gt;Use DRGRSLT Instead of&amp;nbsp; DRUGRESULT in Block Chart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 11:45:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074913#M928628</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-03-15T11:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074914#M928629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you can use something like this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 11:48:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074914#M928629</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-03-15T11:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074915#M928630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Manish&lt;/P&gt;&lt;P&gt;Actaully&lt;/P&gt;&lt;P&gt;In the Block chart i am using this exprssion "Sum(Aggr(Count( distinct %IncidentKey),DRGRSLT))"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when i select only Sensitivty in bar chart in the block chart i see only one block that is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Insighta 1.PNG" class="jive-image image-1" src="/legacyfs/online/118055_Insighta 1.PNG" style="height: auto;" /&gt; Which is matching the bar values &lt;/P&gt;&lt;P&gt;2. When i select Sensitvity i should get like this with tha same value on bar Sensitvity &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Insights 2.PNG" class="jive-image image-2" src="/legacyfs/online/118056_Insights 2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 12:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074915#M928630</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2016-03-15T12:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074916#M928631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use below expression in Bar Chart&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum(Aggr(Count( distinct %IncidentKey),DRGRSLT))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and below expression in Block Chart&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count( distinct %IncidentKey)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 12:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074916#M928631</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-03-15T12:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074917#M928632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish ,&lt;/P&gt;&lt;P&gt;If i go with above expression then yes&amp;nbsp; i get the desired result in bloack chart but the couts in block chart differs compared to Barchart .I think we are very near to achieve &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 13:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074917#M928632</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2016-03-15T13:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074918#M928633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload the latest file please... Also include a text box showing what result you are looking for if you select &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sensitivty &lt;/SPAN&gt;..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 13:09:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074918#M928633</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-03-15T13:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074919#M928634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish &lt;/P&gt;&lt;P&gt;If i select Sensitivity in bar chart&amp;nbsp; the block chart should show me the break of sensitvity with exact value that of bar chart selected Sensitvity . below is the napshot how it should appear &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Insights 2.PNG" class="jive-image image-1" src="/legacyfs/online/118058_Insights 2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 13:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074919#M928634</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2016-03-15T13:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074920#M928635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PLz find the attachment .&lt;/P&gt;&lt;P&gt;Now if you look at&amp;nbsp; both the charts the values are matching this is what i want .&lt;/P&gt;&lt;P&gt;And when i select Sensitivty in Bar chart then only one block is seen in the Block chart with accurate value , where as it has to show multiple blocks as whon in the snapshot (provided&amp;nbsp; when i sum up each block the value has to match with the sensitvity bar) &lt;IMG alt="Insights 2.PNG" class="jive-image image-1" src="/legacyfs/online/118059_Insights 2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 13:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074920#M928635</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2016-03-15T13:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074921#M928636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you select Sensitivity, what value are are looking for in Bar Chart?&lt;/P&gt;&lt;P&gt;If it is 790, then it is wrong..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 13:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074921#M928636</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-03-15T13:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1074922#M928637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish &lt;/P&gt;&lt;P&gt;That is correct , that is how we count the distinct .And accordingly it needs to be displayed in the Block chart which is also displying , the only problem in the block chart is it is showing only one block with count of 790&amp;nbsp; , wher as it needs to be displayed in many blocks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 13:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1074922#M928637</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2016-03-15T13:37:49Z</dc:date>
    </item>
  </channel>
</rss>

