<?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 Plotting a calculation on a graph but limiting the calculation to the relevant week in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Plotting-a-calculation-on-a-graph-but-limiting-the-calculation/m-p/1802043#M65058</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have the below calculation that works fine for me. However I need to plot this on a graph that is broken down into 52 weeks. How do I apply this calculation to run for each individual week since each week has a different amount of faults raised and also size of network.&lt;/P&gt;&lt;P&gt;count({ $&amp;lt;&lt;BR /&gt;G_DATE ={"&amp;gt;=$(vFY_Year_Start)&amp;lt;$(vFY_Week_Start)"&lt;BR /&gt;}&lt;BR /&gt;&amp;gt;}FAULT_REF)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;(sum({ $&amp;lt;&lt;BR /&gt;G_DATE ={"&amp;gt;=$(vFY_Year_Start)&amp;lt;$(vFY_Week_Start)"}&lt;BR /&gt;&amp;gt;}PRODUCT_VOLUME)/&lt;BR /&gt;count(distinct{ $&amp;lt;&lt;BR /&gt;G_DATE ={"&amp;gt;=$(vFY_Year_Start)&amp;lt;$(vFY_Week_Start)"}&lt;BR /&gt;&amp;gt;}G_DATE) /1000)&lt;/P&gt;</description>
    <pubDate>Fri, 23 Apr 2021 08:07:31 GMT</pubDate>
    <dc:creator>alex-wb</dc:creator>
    <dc:date>2021-04-23T08:07:31Z</dc:date>
    <item>
      <title>Plotting a calculation on a graph but limiting the calculation to the relevant week</title>
      <link>https://community.qlik.com/t5/App-Development/Plotting-a-calculation-on-a-graph-but-limiting-the-calculation/m-p/1802043#M65058</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have the below calculation that works fine for me. However I need to plot this on a graph that is broken down into 52 weeks. How do I apply this calculation to run for each individual week since each week has a different amount of faults raised and also size of network.&lt;/P&gt;&lt;P&gt;count({ $&amp;lt;&lt;BR /&gt;G_DATE ={"&amp;gt;=$(vFY_Year_Start)&amp;lt;$(vFY_Week_Start)"&lt;BR /&gt;}&lt;BR /&gt;&amp;gt;}FAULT_REF)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;(sum({ $&amp;lt;&lt;BR /&gt;G_DATE ={"&amp;gt;=$(vFY_Year_Start)&amp;lt;$(vFY_Week_Start)"}&lt;BR /&gt;&amp;gt;}PRODUCT_VOLUME)/&lt;BR /&gt;count(distinct{ $&amp;lt;&lt;BR /&gt;G_DATE ={"&amp;gt;=$(vFY_Year_Start)&amp;lt;$(vFY_Week_Start)"}&lt;BR /&gt;&amp;gt;}G_DATE) /1000)&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 08:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Plotting-a-calculation-on-a-graph-but-limiting-the-calculation/m-p/1802043#M65058</guid>
      <dc:creator>alex-wb</dc:creator>
      <dc:date>2021-04-23T08:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting a calculation on a graph but limiting the calculation to the relevant week</title>
      <link>https://community.qlik.com/t5/App-Development/Plotting-a-calculation-on-a-graph-but-limiting-the-calculation/m-p/1802256#M65079</link>
      <description>&lt;P&gt;I would add a Week# field in your load script so that you can can use as a Dimension or Year-Week# or however you may need it for your rolling 52 weeks or just YTD.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That way you make the load script do the CPU work 1 time and your User Interface can fly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 16:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Plotting-a-calculation-on-a-graph-but-limiting-the-calculation/m-p/1802256#M65079</guid>
      <dc:creator>Dalton_Ruer</dc:creator>
      <dc:date>2021-04-23T16:00:40Z</dc:date>
    </item>
  </channel>
</rss>

