<?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: Stacked chart with calculated cycle in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stacked-chart-with-calculated-cycle/m-p/825321#M473009</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;0,5 for each! But some sites might have even more than two status..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Nov 2014 15:50:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-26T15:50:15Z</dc:date>
    <item>
      <title>Stacked chart with calculated cycle</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-chart-with-calculated-cycle/m-p/825319#M473007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72201_Capture.PNG.png" style="width: 620px; height: 216px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a chart that shows the number of sites divided by their status. The thing is that one site has multiple machines and the status comes from the machines so one site might have multiple statuses. The problem is shown in the picture. There is only one site in the picture but because it has to statuses the chart shows that their is two sites. Is there an expression I could use or some other way to create this kind of view so that the total amount of sites wouldn't be duplicated but all the statuses would show? I would like it still to be like this horizontally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment the expression of the chart is just COUNT(DISTINCT([Site Code])).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Heidi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 15:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-chart-with-calculated-cycle/m-p/825319#M473007</guid>
      <dc:creator />
      <dc:date>2014-11-26T15:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked chart with calculated cycle</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-chart-with-calculated-cycle/m-p/825320#M473008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Heidi, if one site has two machines, one operating and one shutdown, wich status should count? or it is 0,5 for each status?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 15:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-chart-with-calculated-cycle/m-p/825320#M473008</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-11-26T15:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked chart with calculated cycle</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-chart-with-calculated-cycle/m-p/825321#M473009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;0,5 for each! But some sites might have even more than two status..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 15:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-chart-with-calculated-cycle/m-p/825321#M473009</guid>
      <dc:creator />
      <dc:date>2014-11-26T15:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked chart with calculated cycle</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-chart-with-calculated-cycle/m-p/825322#M473010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if i understand your question correctly, you need the expression below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(DISTINCT [Site Code])/Count(TOTAL &amp;lt;[Site Code]&amp;gt; DISTINCT Status)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace your current expression with above expression and see if that is what you need. of course, modify as you see fit for your field names.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 15:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-chart-with-calculated-cycle/m-p/825322#M473010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-26T15:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked chart with calculated cycle</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-chart-with-calculated-cycle/m-p/825323#M473011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't help. The site is still shown as two. I want the x-axes to show one if there is only one site selected (as is selected in the picture), and the bar to be divided between the statuses.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 16:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-chart-with-calculated-cycle/m-p/825323#M473011</guid>
      <dc:creator />
      <dc:date>2014-11-26T16:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked chart with calculated cycle</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-chart-with-calculated-cycle/m-p/825324#M473012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be a sample data set will help as i have a couple of questions - what is your dimension - Area? How is Area related to Site Code? that's why i said you may have to modify the expression to match your fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 16:06:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-chart-with-calculated-cycle/m-p/825324#M473012</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-26T16:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked chart with calculated cycle</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-chart-with-calculated-cycle/m-p/825325#M473013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;Sum(Aggr(Count(DISTINCT Site)/count(TOTAL &amp;lt;Area, Site&amp;gt; Machine) ,Area, Site, State))&lt;/P&gt;&lt;P&gt;In a simple sample works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to change "Site", "Area" and "State" for your name fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 16:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-chart-with-calculated-cycle/m-p/825325#M473013</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-11-26T16:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked chart with calculated cycle</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-chart-with-calculated-cycle/m-p/825326#M473014</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 doubt that , i didn't clearly get your requirement. But i think below will solve your problem. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 04:57:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-chart-with-calculated-cycle/m-p/825326#M473014</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2014-11-27T04:57:12Z</dc:date>
    </item>
  </channel>
</rss>

