<?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 Dynamic referencing Excel report in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-referencing-Excel-report/m-p/1780932#M31160</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am currently building an NPrinting report in Excel. My current problem is to access different totals.&lt;/P&gt;&lt;P&gt;In my example, I am trying to access a value (Total A) from the top section and offset it in the bottom section, which works. However, the whole thing doesn't work on Total B and C anymore, since NPrinting doesn't access the Totals, but only moves the number of rows down.&lt;/P&gt;&lt;P&gt;Is there any way to reference this dynamically? Meaning that I always access the respective total row in the formula?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Designer" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/48671iCF46A11DE48751B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NPrinting Designer.png" alt="Designer" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Designer&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Result" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/48672iC336718332792FBA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sample.png" alt="Result" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Result&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Feb 2021 15:55:55 GMT</pubDate>
    <dc:creator>Danijel</dc:creator>
    <dc:date>2021-02-08T15:55:55Z</dc:date>
    <item>
      <title>Dynamic referencing Excel report</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-referencing-Excel-report/m-p/1780932#M31160</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am currently building an NPrinting report in Excel. My current problem is to access different totals.&lt;/P&gt;&lt;P&gt;In my example, I am trying to access a value (Total A) from the top section and offset it in the bottom section, which works. However, the whole thing doesn't work on Total B and C anymore, since NPrinting doesn't access the Totals, but only moves the number of rows down.&lt;/P&gt;&lt;P&gt;Is there any way to reference this dynamically? Meaning that I always access the respective total row in the formula?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Designer" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/48671iCF46A11DE48751B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NPrinting Designer.png" alt="Designer" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Designer&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Result" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/48672iC336718332792FBA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sample.png" alt="Result" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Result&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 15:55:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-referencing-Excel-report/m-p/1780932#M31160</guid>
      <dc:creator>Danijel</dc:creator>
      <dc:date>2021-02-08T15:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic referencing Excel report</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-referencing-Excel-report/m-p/1781017#M31162</link>
      <description>&lt;P&gt;Hi - sorry I dont understand your question well so I will just try to guess it...&lt;/P&gt;&lt;P&gt;If your goal is to be able to reference the same formula for total in bottom table and then somehow dynamically pick for that formula values from row in the top table i would suggest to use some sort of reference functions which would be able to reference Total A or Total B... you may need to consider VLOOKUP to search for correct total line and not reference in your formulas single cell but range. That way from range only VLOOK'ed-UP value could be used...or you may use SUMIF() or similar functions..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 21:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-referencing-Excel-report/m-p/1781017#M31162</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2021-02-08T21:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic referencing Excel report</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-referencing-Excel-report/m-p/1781029#M31164</link>
      <description>&lt;P&gt;so.. based on your template screenshot I would do something like below (assuming that Totals in column B have the same labels between top and bottom section):&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF((E18+F18+L18)&amp;gt;0;S&lt;STRONG&gt;UMIF(B6:B10,B18,G6:G10)/&lt;/STRONG&gt;((E18+F18+L18)/C18);"N/A")&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 22:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-referencing-Excel-report/m-p/1781029#M31164</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2021-02-08T22:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic referencing Excel report</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-referencing-Excel-report/m-p/1781149#M31166</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/88092"&gt;@le&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;thank you for your answer. Sorry, unfortunately I do not really know how to describe the problem.&lt;/P&gt;&lt;P&gt;However, your idea and interpretation with the sumif was not bad.&lt;/P&gt;&lt;P&gt;And yes the areas A B and C are identical above and below.&lt;/P&gt;&lt;P&gt;I tried to implement that, however NPrinting shifts the areas (see screenshot) awkwardly. Here I worry that the range times values will not catch or use the values from below, which it should not do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Picture.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/48722i9B03DEA3D67A9A7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Picture.png" alt="Picture.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 10:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-referencing-Excel-report/m-p/1781149#M31166</guid>
      <dc:creator>Danijel</dc:creator>
      <dc:date>2021-02-09T10:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic referencing Excel report</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-referencing-Excel-report/m-p/1781168#M31168</link>
      <description>&lt;P&gt;I understand that NPrinitng may shift records - this is dependent on how you wrap your tags and levels together. You need to remember that rows where level tags are placed may cause that shift as they will disappear during generation process. I suggest you practice this first... Place where you have levels, places where you have &amp;lt;deleterow&amp;gt; tags... all that needs to be taken into account for your range to remain in place. I understand that this app has some real data in it hence you cannot use it, but if you build a dummy with Qlik Sense Ctrl +0+0 script and some NPrinitng report of that then we can have working sample which I would be able to guide you through. Without the actual example it will be hard to explain it&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 11:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-referencing-Excel-report/m-p/1781168#M31168</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2021-02-09T11:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic referencing Excel report</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-referencing-Excel-report/m-p/1781208#M31169</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have built a small example for you, which reflects the problem quite well.&lt;/P&gt;&lt;P&gt;Hope it helps you.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 13:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-referencing-Excel-report/m-p/1781208#M31169</guid>
      <dc:creator>Danijel</dc:creator>
      <dc:date>2021-02-09T13:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic referencing Excel report</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-referencing-Excel-report/m-p/1781432#M31184</link>
      <description>&lt;P&gt;That was simpler than i thought.... I did not even think that you missed &lt;FONT color="#FF0000"&gt;$ sign&lt;/FONT&gt; in your excel formulas which is needed to keep the range and not allow to drag it down with the row references....&lt;/P&gt;&lt;P&gt;If you were unaware of it here is simple explanation:&amp;nbsp;&lt;A href="https://support.microsoft.com/en-us/office/switch-between-relative-absolute-and-mixed-references-dfec08cd-ae65-4f56-839e-5f0d8d0baca9" target="_blank"&gt;https://support.microsoft.com/en-us/office/switch-between-relative-absolute-and-mixed-references-dfec08cd-ae65-4f56-839e-5f0d8d0baca9&lt;/A&gt;&lt;/P&gt;&lt;P&gt;you can see on template that i am creating sum (based on SumIf() concept) for cell marked in yellow and on another picture is a result. I also attached the nprinting template export.&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/48798iD4218727DD92EC58/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 870px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/48797iFF378D6F643D3020/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 21:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-referencing-Excel-report/m-p/1781432#M31184</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2021-02-09T21:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic referencing Excel report</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-referencing-Excel-report/m-p/1781517#M31190</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes it was, but easier than I thought, but you have to get the idea first &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 06:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-referencing-Excel-report/m-p/1781517#M31190</guid>
      <dc:creator>Danijel</dc:creator>
      <dc:date>2021-02-10T06:25:10Z</dc:date>
    </item>
  </channel>
</rss>

