<?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: Weird Display in Chart with Multiple Dimensions &amp; Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Weird-Display-in-Chart-with-Multiple-Dimensions-Expression/m-p/132252#M760200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felip, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set analysis works fine with Revenue by Products. However, the Average for each year should be a constant. In the Excel chart, the formula would be sum(total planned) by year divided by 12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you suggest expression to replace avg function in this case? Big thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2018 08:47:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-30T08:47:27Z</dc:date>
    <item>
      <title>Weird Display in Chart with Multiple Dimensions &amp; Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Weird-Display-in-Chart-with-Multiple-Dimensions-Expression/m-p/132250#M760198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to create a chart to show Revenue by Product, in comparison with Total/Average Plan through the year. Excel manages to present this decently. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Excel Chart.PNG" class="jive-image image-3" src="/legacyfs/online/212111_Excel Chart.PNG" style="height: 254px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I cannot do it with Qlik View. The data looks terrible and doesn't carry much business value. The Revenue breakdown cannot be shown with different Color. Total &amp;amp; Average Planned was not aligned to the time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qlik Chart.PNG" class="jive-image image-2" src="/legacyfs/online/212107_Qlik Chart.PNG" style="height: 200px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Guru has experience in managing dimension and expression in this case? I believe Qlik should be smarter than Excel. Appreciate any help.&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/Weird-Display-in-Chart-with-Multiple-Dimensions-Expression/m-p/132250#M760198</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Weird Display in Chart with Multiple Dimensions &amp; Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Weird-Display-in-Chart-with-Multiple-Dimensions-Expression/m-p/132251#M760199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angie,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've made the adjustments so it's possible to plot the same information.&lt;/P&gt;&lt;P&gt;You need to use set analysis to get the individual values for each type of product to create the stacked bar chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final result is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="212152" alt="sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/212152_sample.png" style="height: 496px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or this, if you put the avg(Planned) to the secondary axis:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sample.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/212153_sample.png" style="height: 496px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 16:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weird-Display-in-Chart-with-Multiple-Dimensions-Expression/m-p/132251#M760199</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2018-08-29T16:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Weird Display in Chart with Multiple Dimensions &amp; Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Weird-Display-in-Chart-with-Multiple-Dimensions-Expression/m-p/132252#M760200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felip, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set analysis works fine with Revenue by Products. However, the Average for each year should be a constant. In the Excel chart, the formula would be sum(total planned) by year divided by 12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you suggest expression to replace avg function in this case? Big thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 08:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weird-Display-in-Chart-with-Multiple-Dimensions-Expression/m-p/132252#M760200</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-30T08:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Weird Display in Chart with Multiple Dimensions &amp; Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Weird-Display-in-Chart-with-Multiple-Dimensions-Expression/m-p/132253#M760201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;With the data you have, the avg of the planned wont be constant, due to the fact that you have multiple lines for each dimension, like so:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Year&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Year_month&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Rev&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Planned&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Feb&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2016_Feb&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Smartphone&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;454&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;524&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Feb&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2016_Feb&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Accessories&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;557&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;642&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Feb&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2016_Feb&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Smartphone&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;586&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;676&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Feb&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2016_Feb&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Laptop&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;595&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;686&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Feb&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2016_Feb&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Laptop&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;618&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;713&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's the data you have on the app for 2016_Feb and the avg will be 648.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to define your data on a different way to get a constant value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 18:14:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weird-Display-in-Chart-with-Multiple-Dimensions-Expression/m-p/132253#M760201</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2018-08-30T18:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Weird Display in Chart with Multiple Dimensions &amp; Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Weird-Display-in-Chart-with-Multiple-Dimensions-Expression/m-p/132254#M760202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Felip. Is there a work around to keep the dimension the same? As the purpose of chart is to show the breakdown by month and average by Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to set up the formula in Excel as attached. Is it possible to have a similar expression in Qlik?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 03:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weird-Display-in-Chart-with-Multiple-Dimensions-Expression/m-p/132254#M760202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-31T03:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Weird Display in Chart with Multiple Dimensions &amp; Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Weird-Display-in-Chart-with-Multiple-Dimensions-Expression/m-p/132255#M760203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thing is, you cant show a Year value when your opening it by Year_Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My solution would be to create new fields to get the result by doing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x:&lt;/P&gt;&lt;P&gt;LOAD Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date#(Year &amp;amp;'_'&amp;amp;Month,'YYYY_MMM') as Year_month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rev,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Planned&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Company Revenue.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [Rev report]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// sum of planned by year&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Year,&lt;/P&gt;&lt;P&gt;sum(Planned) as [New Planned]&lt;/P&gt;&lt;P&gt;Resident x&lt;/P&gt;&lt;P&gt;group by Year;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// count of year_months by year, being possible to not have full years on dataz&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Year,&lt;/P&gt;&lt;P&gt;count(Distinct Year_month) as [Count Planned]&lt;/P&gt;&lt;P&gt;Resident x&lt;/P&gt;&lt;P&gt;Group by Year;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That gets me:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/212386_sample.png" style="height: 496px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 16:43:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weird-Display-in-Chart-with-Multiple-Dimensions-Expression/m-p/132255#M760203</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2018-08-31T16:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Weird Display in Chart with Multiple Dimensions &amp; Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Weird-Display-in-Chart-with-Multiple-Dimensions-Expression/m-p/132256#M760204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Felip for detailed explanation. I can get the correct chart now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 06:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weird-Display-in-Chart-with-Multiple-Dimensions-Expression/m-p/132256#M760204</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-03T06:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Weird Display in Chart with Multiple Dimensions &amp; Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Weird-Display-in-Chart-with-Multiple-Dimensions-Expression/m-p/132257#M760205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad it helped &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 16:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weird-Display-in-Chart-with-Multiple-Dimensions-Expression/m-p/132257#M760205</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2018-09-03T16:25:36Z</dc:date>
    </item>
  </channel>
</rss>

