<?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 - Value Mismatches in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Bar-Chart-Value-Mismatches/m-p/1316960#M28290</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 one bar chart and pivot table for the same data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to prepare generic bar chart and pivot table, for that I have created a list view to select a particular dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once user select the dimension from the list then the bar chart and pivot table should display data accordingly. For me everything is working fine other than one default case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List view is consisting of 'Year', 'Quarter', 'Month'&lt;/P&gt;&lt;P&gt;Bar Chart and Pivot table created with 2 dimensions and one measure.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1st Dim:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(FieldValue) = 0, Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(GetFieldSelections(FieldValue) = 'Year', RHFisYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(GetFieldSelections(FieldValue) = 'Quarter', RHQuarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(GetFieldSelections(FieldValue) = 'Month', Month)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2nd Dim:&lt;/STRONG&gt; if(Team = 'Global Serv Mktg', 'GSM', if(Team = 'Mkt-Ops', 'MO', Team))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Measure:&lt;/STRONG&gt; $(vUtilizationHrs)/($(vAvailableHrs))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vAvailableHrs:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sum(TOTAL &amp;lt;[Date Entered],Resource, Team, Month, Quarter, RHQuarter&amp;gt; &lt;/P&gt;&lt;P&gt;Aggr(NetWorkDays (Date#(Min(date([Date Entered],'M/D/YYYY'))),Date#(max(date([Date Entered],'M/D/YYYY')))),&lt;/P&gt;&lt;P&gt;Resource, Team, RHQuarter, Month, Quarter)*8) -&lt;/P&gt;&lt;P&gt;sum(TOTAL &amp;lt;[Date Entered],Resource, Team, Month, Quarter, RHQuarter&amp;gt;aggr(sum(if(IsHoliday = 'Y', '1', 0))*8,Resource, Team, RHQuarter, Month, Quarter))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vUtilizationHrs:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sum([Utilization (In Hrs)])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If nothing has selected from list view, by default it should consider 1st dim as Month (Ref above expression) and if something has selected, reports should display accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;By default my bar chart is displaying values (5 times to expected value) but pivot is displaying accurate.&lt;/P&gt;&lt;P&gt;If i select month or any other list value, then the values are displaying correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why default value (month) showing 5 times than when I select month from list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;By Default:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="168885" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168885_pastedImage_19.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When I select Month:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="168886" alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/168886_pastedImage_23.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Ignore the label name Year, label should be Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in understanding the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Prashanth Reddy D.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jul 2017 13:16:37 GMT</pubDate>
    <dc:creator>d_prashanthredd</dc:creator>
    <dc:date>2017-07-03T13:16:37Z</dc:date>
    <item>
      <title>Bar Chart - Value Mismatches</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-Value-Mismatches/m-p/1316960#M28290</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 one bar chart and pivot table for the same data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to prepare generic bar chart and pivot table, for that I have created a list view to select a particular dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once user select the dimension from the list then the bar chart and pivot table should display data accordingly. For me everything is working fine other than one default case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List view is consisting of 'Year', 'Quarter', 'Month'&lt;/P&gt;&lt;P&gt;Bar Chart and Pivot table created with 2 dimensions and one measure.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1st Dim:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(FieldValue) = 0, Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(GetFieldSelections(FieldValue) = 'Year', RHFisYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(GetFieldSelections(FieldValue) = 'Quarter', RHQuarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(GetFieldSelections(FieldValue) = 'Month', Month)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2nd Dim:&lt;/STRONG&gt; if(Team = 'Global Serv Mktg', 'GSM', if(Team = 'Mkt-Ops', 'MO', Team))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Measure:&lt;/STRONG&gt; $(vUtilizationHrs)/($(vAvailableHrs))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vAvailableHrs:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sum(TOTAL &amp;lt;[Date Entered],Resource, Team, Month, Quarter, RHQuarter&amp;gt; &lt;/P&gt;&lt;P&gt;Aggr(NetWorkDays (Date#(Min(date([Date Entered],'M/D/YYYY'))),Date#(max(date([Date Entered],'M/D/YYYY')))),&lt;/P&gt;&lt;P&gt;Resource, Team, RHQuarter, Month, Quarter)*8) -&lt;/P&gt;&lt;P&gt;sum(TOTAL &amp;lt;[Date Entered],Resource, Team, Month, Quarter, RHQuarter&amp;gt;aggr(sum(if(IsHoliday = 'Y', '1', 0))*8,Resource, Team, RHQuarter, Month, Quarter))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vUtilizationHrs:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sum([Utilization (In Hrs)])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If nothing has selected from list view, by default it should consider 1st dim as Month (Ref above expression) and if something has selected, reports should display accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;By default my bar chart is displaying values (5 times to expected value) but pivot is displaying accurate.&lt;/P&gt;&lt;P&gt;If i select month or any other list value, then the values are displaying correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why default value (month) showing 5 times than when I select month from list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;By Default:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="168885" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168885_pastedImage_19.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When I select Month:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="168886" alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/168886_pastedImage_23.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Ignore the label name Year, label should be Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in understanding the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Prashanth Reddy D.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 13:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-Value-Mismatches/m-p/1316960#M28290</guid>
      <dc:creator>d_prashanthredd</dc:creator>
      <dc:date>2017-07-03T13:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart - Value Mismatches</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-Value-Mismatches/m-p/1316961#M28291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to look at this? I know you have laid out all possible description, but looking at the issue might help us understand better&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 12:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-Value-Mismatches/m-p/1316961#M28291</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-05T12:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart - Value Mismatches</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-Value-Mismatches/m-p/1316962#M28292</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;&lt;/P&gt;&lt;P&gt;Have a look at the bar and other charts. I can see the difference only if&lt;/P&gt;&lt;P&gt;nothing has selected from list view. i.e. By default, I'm building charts&lt;/P&gt;&lt;P&gt;by Quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Wed, Jul 5, 2017 at 5:47 PM, Sunny Talwar &amp;lt;qcwebmaster@qlikview.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 13:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-Value-Mismatches/m-p/1316962#M28292</guid>
      <dc:creator>d_prashanthredd</dc:creator>
      <dc:date>2017-07-05T13:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart - Value Mismatches</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-Value-Mismatches/m-p/1316963#M28293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My app is huge, just for the sake of issue, I built new one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 13:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-Value-Mismatches/m-p/1316963#M28293</guid>
      <dc:creator>d_prashanthredd</dc:creator>
      <dc:date>2017-07-05T13:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart - Value Mismatches</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-Value-Mismatches/m-p/1316964#M28294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure why this is happening, but this is a work around&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr($(vUtilizationHrs), Team,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$(=if(GetSelectedCount(MesValue) = 0, 'Quarter', if(GetFieldSelections(MesValue) = 'Year', 'RHFisYear', if(GetFieldSelections(MesValue) = 'Quarter', 'Quarter', if(GetFieldSelections(MesValue) = 'Month', 'Month', 'Quarter')))))))/($(vAvailableHrs))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 16:41:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-Value-Mismatches/m-p/1316964#M28294</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-05T16:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart - Value Mismatches</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-Value-Mismatches/m-p/1316965#M28295</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;&lt;/P&gt;&lt;P&gt;Thanks a lot.. It is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I bring that issue to QlikDev Team?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 06:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-Value-Mismatches/m-p/1316965#M28295</guid>
      <dc:creator>d_prashanthredd</dc:creator>
      <dc:date>2017-07-06T06:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart - Value Mismatches</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-Value-Mismatches/m-p/1316966#M28296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure, but may be &lt;A href="https://community.qlik.com/qlik-users/77808"&gt;mto&lt;/A&gt;‌ can help here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 11:30:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-Value-Mismatches/m-p/1316966#M28296</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-06T11:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart - Value Mismatches</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-Value-Mismatches/m-p/1316967#M28297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi Prashanth - you can send an email to &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:support@qlik.com"&gt;support@qlik.com&lt;/A&gt;&lt;SPAN&gt; - please make sure to reference this thread as well as provide any repro steps to reproduce the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 16:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-Value-Mismatches/m-p/1316967#M28297</guid>
      <dc:creator>Michael_Tarallo</dc:creator>
      <dc:date>2017-07-06T16:08:50Z</dc:date>
    </item>
  </channel>
</rss>

