<?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: Calculate downtime with incident data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417058#M155042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not? Did you change your hardcoded truth to reflect the days in november? Or do you want the uptime percentage calculated per month?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Oct 2012 19:18:20 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2012-10-15T19:18:20Z</dc:date>
    <item>
      <title>Calculate downtime with incident data</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417053#M155037</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'm loading incidents and want to calculate procentage. &lt;/P&gt;&lt;P&gt;Now I load a fact table with date, department, channel and downtime and a calendar as usual plus uptime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With no selections it's correct but as soon as I select a department uptime gets wrong due to the fact that incidents don't appear every day and only assosiative uptime get's calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to solve this the best way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 17:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417053#M155037</guid>
      <dc:creator />
      <dc:date>2012-10-15T17:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate downtime with incident data</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417054#M155038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you need to associate your departments with both the uptime and the downtime. Maybe by concatenation or a composite key. Can you post a screenshot of your current data model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 17:38:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417054#M155038</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-10-15T17:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate downtime with incident data</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417055#M155039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Original post now containing a qvw.&lt;/P&gt;&lt;P&gt;Downsized example, in reality I have 150 departments and data over three years.&lt;/P&gt;&lt;P&gt;I think the solution (or at least one solution) is to create dummies in the fact table with uptime (instead of having it in time table), but how loop through all departments and channel combos?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For channel Internet Uptime is 24 hours * 60=1440 minutes á day so that's easy, for channel Office it's more complicated as we have to concider holiday's and weekends. I'll get back to that...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 18:39:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417055#M155039</guid>
      <dc:creator />
      <dc:date>2012-10-15T18:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate downtime with incident data</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417056#M155040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(1-(sum(Downtime)/sum({1} I_Uptime)))*100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 18:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417056#M155040</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-15T18:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate downtime with incident data</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417057#M155041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well Gysbert, it works with this sampel data but just add these lines to the inline load and choose december and Internet and then that don't work any more...&lt;/P&gt;&lt;P&gt;2011-11-06, ASPA, Internet, 56&lt;/P&gt;&lt;P&gt;2011-11-10, BASP, Office, 20&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 19:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417057#M155041</guid>
      <dc:creator />
      <dc:date>2012-10-15T19:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate downtime with incident data</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417058#M155042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not? Did you change your hardcoded truth to reflect the days in november? Or do you want the uptime percentage calculated per month?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 19:18:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417058#M155042</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-15T19:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate downtime with incident data</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417059#M155043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I can choose any year and month and the calculations should match that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 19:23:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417059#M155043</guid>
      <dc:creator />
      <dc:date>2012-10-15T19:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate downtime with incident data</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417060#M155044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, how about this one then? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(1-(sum(Downtime)/sum( {1&amp;lt; Month={'=only(Month)'}, Year={'=only(Year)'} &amp;gt;} I_Uptime) ))*100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 19:42:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417060#M155044</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-15T19:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate downtime with incident data</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417061#M155045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Close, but I would like to add Channel={'=only(Channel)'} and the same for Dept so that I can put it in a pivot.&lt;/P&gt;&lt;P&gt;Tried, didn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 20:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-downtime-with-incident-data/m-p/417061#M155045</guid>
      <dc:creator />
      <dc:date>2012-10-15T20:32:44Z</dc:date>
    </item>
  </channel>
</rss>

