<?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 Bar chart shows value different on data point in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Bar-chart-shows-value-different-on-data-point/m-p/1657612#M49215</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am showing a bar chart in qliksense where in one dimension and one measure is been used:&lt;/P&gt;&lt;P&gt;Dimension : System&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure : we need to display which all Operations have not started last 48 hours by System.&lt;/P&gt;&lt;P&gt;I am using below Measure expression :&lt;/P&gt;&lt;P&gt;Count( distinct if(Isnull(StartDate),Operation,System))&lt;BR /&gt;+&lt;BR /&gt;(&lt;BR /&gt;Count(distinct Operation)&lt;BR /&gt;-&lt;BR /&gt;Count(distinct IF ( NOT IsNull(&lt;BR /&gt;if&lt;BR /&gt;(&lt;/P&gt;&lt;P&gt;((Date(Date#(Timestamp(aggr(NODISTINCT Max(Date(StartDate)),Operation)),'MM/DD/YYYY hh:mm:ss TT'),'MM/DD/YYYY hh:mm:ss')) - (v48HoursAgo)) &amp;lt;'00',NULL(),&lt;/P&gt;&lt;P&gt;1&lt;BR /&gt;)&lt;BR /&gt;), Operation,System))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;Now issue is for some of the cases its shows correct count value on Bar chart if we select any System filter but it some cases it doesn't show correct count value on bar chart.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;for last 48hours i have created a variable as&amp;nbsp;v48HoursAgo :&amp;nbsp;Date(now()-2, 'MM/DD/YYYY hh:mm:ss') and used in expression&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Please check my expression measure where i am going wrong.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Dec 2021 16:08:25 GMT</pubDate>
    <dc:creator>anisha_nan</dc:creator>
    <dc:date>2021-12-22T16:08:25Z</dc:date>
    <item>
      <title>Bar chart shows value different on data point</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-chart-shows-value-different-on-data-point/m-p/1657612#M49215</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am showing a bar chart in qliksense where in one dimension and one measure is been used:&lt;/P&gt;&lt;P&gt;Dimension : System&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure : we need to display which all Operations have not started last 48 hours by System.&lt;/P&gt;&lt;P&gt;I am using below Measure expression :&lt;/P&gt;&lt;P&gt;Count( distinct if(Isnull(StartDate),Operation,System))&lt;BR /&gt;+&lt;BR /&gt;(&lt;BR /&gt;Count(distinct Operation)&lt;BR /&gt;-&lt;BR /&gt;Count(distinct IF ( NOT IsNull(&lt;BR /&gt;if&lt;BR /&gt;(&lt;/P&gt;&lt;P&gt;((Date(Date#(Timestamp(aggr(NODISTINCT Max(Date(StartDate)),Operation)),'MM/DD/YYYY hh:mm:ss TT'),'MM/DD/YYYY hh:mm:ss')) - (v48HoursAgo)) &amp;lt;'00',NULL(),&lt;/P&gt;&lt;P&gt;1&lt;BR /&gt;)&lt;BR /&gt;), Operation,System))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;Now issue is for some of the cases its shows correct count value on Bar chart if we select any System filter but it some cases it doesn't show correct count value on bar chart.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;for last 48hours i have created a variable as&amp;nbsp;v48HoursAgo :&amp;nbsp;Date(now()-2, 'MM/DD/YYYY hh:mm:ss') and used in expression&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Please check my expression measure where i am going wrong.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 16:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-chart-shows-value-different-on-data-point/m-p/1657612#M49215</guid>
      <dc:creator>anisha_nan</dc:creator>
      <dc:date>2021-12-22T16:08:25Z</dc:date>
    </item>
  </channel>
</rss>

