<?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 Translate Cumulative Line Yield with ABOVE function into Line Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Translate-Cumulative-Line-Yield-with-ABOVE-function-into-Line/m-p/1943611#M1219470</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have data for testing devices in which 1 unique row is : 1 Group, 1 Station, 1 Serial Number, 1 Operation,&amp;nbsp; 1 fail/pass message. I have computed measures in a table: yield, fail rate, predicted yield, predicted fail rate for each Group.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kore13_1-1655228408842.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81763i51FCD9C61C7C5D35/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kore13_1-1655228408842.png" alt="Kore13_1-1655228408842.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Main0 is a dummy value in column 6 which holds the 'product of yield' in it. F3=B9&lt;/P&gt;
&lt;P&gt;F4 = D4*F3/B4&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;F5 = D5*F4/B5&lt;/P&gt;
&lt;P&gt;In Qlik, I have these values calculated and they sit in the table. I want to plot column F on a line chart.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ColumnF: If (Main0, calculate F3), else : Predicted Yield*rangesum(above(column(F),1))/Yield)&lt;/P&gt;
&lt;P&gt;Line chart cannot understand above function and also, column F references itself and has only one value at the start.&lt;/P&gt;
&lt;P&gt;How do I plot a line chart for Column F?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2022 17:53:00 GMT</pubDate>
    <dc:creator>Kore13</dc:creator>
    <dc:date>2022-06-14T17:53:00Z</dc:date>
    <item>
      <title>Translate Cumulative Line Yield with ABOVE function into Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-Cumulative-Line-Yield-with-ABOVE-function-into-Line/m-p/1943611#M1219470</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have data for testing devices in which 1 unique row is : 1 Group, 1 Station, 1 Serial Number, 1 Operation,&amp;nbsp; 1 fail/pass message. I have computed measures in a table: yield, fail rate, predicted yield, predicted fail rate for each Group.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kore13_1-1655228408842.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81763i51FCD9C61C7C5D35/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kore13_1-1655228408842.png" alt="Kore13_1-1655228408842.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Main0 is a dummy value in column 6 which holds the 'product of yield' in it. F3=B9&lt;/P&gt;
&lt;P&gt;F4 = D4*F3/B4&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;F5 = D5*F4/B5&lt;/P&gt;
&lt;P&gt;In Qlik, I have these values calculated and they sit in the table. I want to plot column F on a line chart.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ColumnF: If (Main0, calculate F3), else : Predicted Yield*rangesum(above(column(F),1))/Yield)&lt;/P&gt;
&lt;P&gt;Line chart cannot understand above function and also, column F references itself and has only one value at the start.&lt;/P&gt;
&lt;P&gt;How do I plot a line chart for Column F?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 17:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-Cumulative-Line-Yield-with-ABOVE-function-into-Line/m-p/1943611#M1219470</guid>
      <dc:creator>Kore13</dc:creator>
      <dc:date>2022-06-14T17:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Translate Cumulative Line Yield with ABOVE function into Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-Cumulative-Line-Yield-with-ABOVE-function-into-Line/m-p/1944754#M1219528</link>
      <description>&lt;P&gt;you can use rowno() to determine if you are in the 1st, 2nd, or any other row&lt;/P&gt;
&lt;P&gt;those are your 3 cases.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for row 1 - you need to calculate your total yield.&amp;nbsp; for example if the calculation is AVG(YIELD), you can use the following:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;aggr(avg(total {&amp;lt;Group-={'Main0'}&amp;gt;}Yield), Group)&lt;/P&gt;
&lt;P&gt;for row 2 use your expression for&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;D4*aggr(avg(total {&amp;lt;Group-={'Main0'}&amp;gt;}Yield), Group)/B4 - D4 and B4 - replace with how you calculate these&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;for other rows:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;use your normal above function calculating for cumulative yield.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;the idea really is replacing F* with what is applicable based on row 1, 2, and others&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 18:17:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-Cumulative-Line-Yield-with-ABOVE-function-into-Line/m-p/1944754#M1219528</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2022-06-16T18:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Translate Cumulative Line Yield with ABOVE function into Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-Cumulative-Line-Yield-with-ABOVE-function-into-Line/m-p/1944757#M1219529</link>
      <description>&lt;P&gt;note that depending on your calculation, you would want to exclude your dummy data as it could skew your calculation.&amp;nbsp; if it were a sum it wouldnt matter, but average will matter - again it really depends so you would want to test it out&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 18:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-Cumulative-Line-Yield-with-ABOVE-function-into-Line/m-p/1944757#M1219529</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2022-06-16T18:20:06Z</dc:date>
    </item>
  </channel>
</rss>

