<?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 Cross Level Calculation in Pixel Perfect in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1876537#M34588</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a Pixel Perfect report, which is called from the On Demand Qlik Sense Button.&lt;BR /&gt;Users can select one or more document numbers before generating the report.&lt;/P&gt;
&lt;P&gt;In the report, I have a "document" level, so the result should be as in the following example&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Document 1&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE border="1" width="31.104299161564384%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="6.585365853658535%" height="25px"&gt;Row&lt;/TD&gt;
&lt;TD width="21.09335576114382%" height="25px"&gt;Type&lt;/TD&gt;
&lt;TD width="8.189655172413794%" height="25px"&gt;Qty&lt;/TD&gt;
&lt;TD width="23.572318191061562%" height="25px"&gt;&lt;FONT color="#3366FF"&gt;Type Qty&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="6.585365853658535%" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="21.09335576114382%" height="25px"&gt;A&lt;/TD&gt;
&lt;TD width="8.189655172413794%" height="25px"&gt;10&lt;/TD&gt;
&lt;TD width="23.572318191061562%" height="25px"&gt;&lt;FONT color="#3366FF"&gt;42&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="6.585365853658535%" height="25px"&gt;2&lt;/TD&gt;
&lt;TD width="21.09335576114382%" height="25px"&gt;A&lt;/TD&gt;
&lt;TD width="8.189655172413794%" height="25px"&gt;20&lt;/TD&gt;
&lt;TD width="23.572318191061562%" height="25px"&gt;&lt;FONT color="#3366FF"&gt;42&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="6.585365853658535%" height="25px"&gt;3&lt;/TD&gt;
&lt;TD width="21.09335576114382%" height="25px"&gt;B&lt;/TD&gt;
&lt;TD width="8.189655172413794%" height="25px"&gt;5&lt;/TD&gt;
&lt;TD width="23.572318191061562%" height="25px"&gt;&lt;FONT color="#3366FF"&gt;25&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Document 2&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE border="1" width="32.85141656288917%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="6.070983810709837%" height="25px"&gt;Row&lt;/TD&gt;
&lt;TD width="6.320049813200507%" height="25px"&gt;Type&lt;/TD&gt;
&lt;TD width="5.697384806973837%" height="25px"&gt;Qty&lt;/TD&gt;
&lt;TD width="14.718000107685963%" height="25px"&gt;&lt;FONT color="#3366FF"&gt;Type Qty&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="6.070983810709837%" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="6.320049813200507%" height="25px"&gt;A&lt;/TD&gt;
&lt;TD width="5.697384806973837%" height="25px"&gt;12&lt;/TD&gt;
&lt;TD width="14.718000107685963%" height="25px"&gt;&lt;FONT color="#3366FF"&gt;42&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="6.070983810709837%" height="25px"&gt;2&lt;/TD&gt;
&lt;TD width="6.320049813200507%" height="25px"&gt;B&lt;/TD&gt;
&lt;TD width="5.697384806973837%" height="25px"&gt;20&lt;/TD&gt;
&lt;TD width="14.718000107685963%" height="25px"&gt;&lt;FONT color="#3366FF"&gt;25&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Footer&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE border="1" width="25.61367670602619%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="7.430469074304696%"&gt;Type&lt;/TD&gt;
&lt;TD width="95.65431714404318%"&gt;Type Qty&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="7.430469074304696%"&gt;A&lt;/TD&gt;
&lt;TD width="95.65431714404318%"&gt;42 (10+20+12)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="7.430469074304696%"&gt;B&lt;/TD&gt;
&lt;TD width="95.65431714404318%"&gt;25 (20+5)&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is that the column "Type Qty" is calculated on the total (Document1+Document2) qty value of "Type" dimension. But when processing the levels, a single document is selected, so the total value is not known.&lt;/P&gt;
&lt;P&gt;I cannot use a Qlik formula here because the base (total) value depends on which documents are selected by the user before creating the report.&lt;/P&gt;
&lt;P&gt;I tried in several ways using calculated fields in Pixel Perfect template, trying to use the "Footer" values, but with no result (I always obtain a blank)&lt;/P&gt;
&lt;P&gt;Any suggestion?&lt;/P&gt;
&lt;P&gt;Thank You&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Paolo&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:23:32 GMT</pubDate>
    <dc:creator>paolo_cordini</dc:creator>
    <dc:date>2024-11-15T22:23:32Z</dc:date>
    <item>
      <title>Cross Level Calculation in Pixel Perfect</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1876537#M34588</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a Pixel Perfect report, which is called from the On Demand Qlik Sense Button.&lt;BR /&gt;Users can select one or more document numbers before generating the report.&lt;/P&gt;
&lt;P&gt;In the report, I have a "document" level, so the result should be as in the following example&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Document 1&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE border="1" width="31.104299161564384%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="6.585365853658535%" height="25px"&gt;Row&lt;/TD&gt;
&lt;TD width="21.09335576114382%" height="25px"&gt;Type&lt;/TD&gt;
&lt;TD width="8.189655172413794%" height="25px"&gt;Qty&lt;/TD&gt;
&lt;TD width="23.572318191061562%" height="25px"&gt;&lt;FONT color="#3366FF"&gt;Type Qty&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="6.585365853658535%" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="21.09335576114382%" height="25px"&gt;A&lt;/TD&gt;
&lt;TD width="8.189655172413794%" height="25px"&gt;10&lt;/TD&gt;
&lt;TD width="23.572318191061562%" height="25px"&gt;&lt;FONT color="#3366FF"&gt;42&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="6.585365853658535%" height="25px"&gt;2&lt;/TD&gt;
&lt;TD width="21.09335576114382%" height="25px"&gt;A&lt;/TD&gt;
&lt;TD width="8.189655172413794%" height="25px"&gt;20&lt;/TD&gt;
&lt;TD width="23.572318191061562%" height="25px"&gt;&lt;FONT color="#3366FF"&gt;42&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="6.585365853658535%" height="25px"&gt;3&lt;/TD&gt;
&lt;TD width="21.09335576114382%" height="25px"&gt;B&lt;/TD&gt;
&lt;TD width="8.189655172413794%" height="25px"&gt;5&lt;/TD&gt;
&lt;TD width="23.572318191061562%" height="25px"&gt;&lt;FONT color="#3366FF"&gt;25&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Document 2&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE border="1" width="32.85141656288917%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="6.070983810709837%" height="25px"&gt;Row&lt;/TD&gt;
&lt;TD width="6.320049813200507%" height="25px"&gt;Type&lt;/TD&gt;
&lt;TD width="5.697384806973837%" height="25px"&gt;Qty&lt;/TD&gt;
&lt;TD width="14.718000107685963%" height="25px"&gt;&lt;FONT color="#3366FF"&gt;Type Qty&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="6.070983810709837%" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="6.320049813200507%" height="25px"&gt;A&lt;/TD&gt;
&lt;TD width="5.697384806973837%" height="25px"&gt;12&lt;/TD&gt;
&lt;TD width="14.718000107685963%" height="25px"&gt;&lt;FONT color="#3366FF"&gt;42&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="6.070983810709837%" height="25px"&gt;2&lt;/TD&gt;
&lt;TD width="6.320049813200507%" height="25px"&gt;B&lt;/TD&gt;
&lt;TD width="5.697384806973837%" height="25px"&gt;20&lt;/TD&gt;
&lt;TD width="14.718000107685963%" height="25px"&gt;&lt;FONT color="#3366FF"&gt;25&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Footer&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE border="1" width="25.61367670602619%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="7.430469074304696%"&gt;Type&lt;/TD&gt;
&lt;TD width="95.65431714404318%"&gt;Type Qty&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="7.430469074304696%"&gt;A&lt;/TD&gt;
&lt;TD width="95.65431714404318%"&gt;42 (10+20+12)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="7.430469074304696%"&gt;B&lt;/TD&gt;
&lt;TD width="95.65431714404318%"&gt;25 (20+5)&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is that the column "Type Qty" is calculated on the total (Document1+Document2) qty value of "Type" dimension. But when processing the levels, a single document is selected, so the total value is not known.&lt;/P&gt;
&lt;P&gt;I cannot use a Qlik formula here because the base (total) value depends on which documents are selected by the user before creating the report.&lt;/P&gt;
&lt;P&gt;I tried in several ways using calculated fields in Pixel Perfect template, trying to use the "Footer" values, but with no result (I always obtain a blank)&lt;/P&gt;
&lt;P&gt;Any suggestion?&lt;/P&gt;
&lt;P&gt;Thank You&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Paolo&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1876537#M34588</guid>
      <dc:creator>paolo_cordini</dc:creator>
      <dc:date>2024-11-15T22:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Level Calculation in Pixel Perfect</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1876865#M34602</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how the report needs to look like. What confuses me is the bit which you put in the "Footer" section.&amp;nbsp; To me it is just another detail report outside of the level which loops through documents. So you have your Document Level and Summary Level.&lt;/P&gt;
&lt;P&gt;Having more detail regarding how the page needs to look like, whether summary must be on each page or at the end of the report only would also help.&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;
&lt;P&gt;Lech&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 07:01:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1876865#M34602</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-01-04T07:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Level Calculation in Pixel Perfect</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1876872#M34603</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are right, maybe I oversimplified my example.&lt;/P&gt;
&lt;P&gt;Actually, the "Footer" (summary is the right term, sorry) section is not an issue. I have put it in my example just to&amp;nbsp; show that, at summmary level, the values I have to put in the detail section are correctly displayed, because they are out of the document loop.&lt;/P&gt;
&lt;P&gt;My issue is that I have to put these values in the detail section as well (the blue numbers)&lt;/P&gt;
&lt;P&gt;Thank you again&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Paolo&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 07:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1876872#M34603</guid>
      <dc:creator>paolo_cordini</dc:creator>
      <dc:date>2022-01-04T07:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Level Calculation in Pixel Perfect</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1876894#M34604</link>
      <description>&lt;P&gt;Ok - understand. Indeed tough one. I will let you know if I come up with something, but so far - no luck.&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 08:27:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1876894#M34604</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-01-04T08:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Level Calculation in Pixel Perfect</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1877671#M34619</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41229"&gt;@paolo_cordini&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;I believe this is what you are looking for and have attached sample output, an exported copy of the report and the source QVF file.&lt;/P&gt;
&lt;P&gt;(NOTE: Keep in mind that this report was created with &lt;STRONG&gt;NP May 2021 SR 2&lt;/STRONG&gt;. You can use import it and use it as a guide to create your own report but may not work fully with your version of NPrinting.)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;First&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You'll need to embed at least 1 sublevel. This example embeds 2 sub-levels off the 'Year' dimension level&lt;/LI&gt;
&lt;LI&gt;Right click and 'Insert detailed reports' for each corresponding level&lt;/LI&gt;
&lt;LI&gt;Manually type your column headers in 'Group Header 1' using the label box tool on the right side of the template editor. Use Text boxes to describe the data where needed.&lt;/LI&gt;
&lt;LI&gt;Drag your data fields in as needed
&lt;UL&gt;
&lt;LI&gt;Notice the '&lt;STRONG&gt;repeat every page&lt;/STRONG&gt;' group header option to ensure column headers repeat on each page where tables expand over multiple sheets.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;IMG style="height: 325px; width: 512px;" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/b9a00a00-049e-46d6-8603-610cd17ef88e.default.PNG" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Next&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create two &lt;STRONG&gt;group footers&lt;/STRONG&gt; and one&lt;STRONG&gt; report footer&lt;/STRONG&gt; exactly as shown above then drag in your data fields into the corresponding footers&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Finally, Summing&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Click on the data cell you wish to format (this must be done one cell at a time)&lt;/LI&gt;
&lt;LI&gt;Using the 'right arrow' properties tool for the data cell, you will need to select your &lt;STRONG&gt;format type&lt;/STRONG&gt; using 'format' string and use '&lt;STRONG&gt;summarize data&lt;/STRONG&gt;' using '&lt;STRONG&gt;group&lt;/STRONG&gt;' option for group footers and '&lt;STRONG&gt;report&lt;/STRONG&gt;' opton for the report footer&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;IMG style="height: 276px; width: 512px;" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/42e855f9-d45e-4083-a6b2-fb8ca699d6b4.default.PNG" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG style="height: 297px; width: 512px;" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/63e3aa86-f2fc-42a7-bc5f-a5eeda852f88.default.PNG" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Save and Preview the report&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The final page of this multi page report output appears as shown below&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;IMG style="height: 512px; width: 360px;" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/c606c9e2-dfc7-4744-bca0-220265213e7e.default.PNG" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;Kind regards...&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 19:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1877671#M34619</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2022-01-05T19:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Level Calculation in Pixel Perfect</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1877735#M34623</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48712"&gt;@Frank_S&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think we both fall under the same trap with this topic. I thought the problem was to calculate totals in the footer which is not a case.&lt;/P&gt;
&lt;P&gt;The problem is to calculate values framed below in green frames. Since those values come as dimension "[Type]" total and are placed in each row of the report they will not calculate properly when table sits in Level for document, because for Document 1 it will calculate as 30 (10+20 from blue frame on screenshot below) and for Document 2 it will calculate as 12.&lt;/P&gt;
&lt;P&gt;If it was all in single table in Qlik Sense there is no problem as you can use Qlik Set analysis to calculate that, but having it split in sections for Document 1 and Document 2 in the report makes it practically impossible...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_0-1641421926946.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69652iCC3069ADB50C0E97/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_0-1641421926946.png" alt="Lech_Miszkiewicz_0-1641421926946.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;but...&lt;/P&gt;
&lt;P&gt;practically impossible does not mean impossible.&lt;/P&gt;
&lt;P&gt;i think I just have a solution and will post it in separate comment as I just came up with it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 22:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1877735#M34623</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-01-05T22:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Level Calculation in Pixel Perfect</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1877747#M34624</link>
      <description>&lt;P&gt;Ok&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41229"&gt;@paolo_cordini&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So here is my solution.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create another field in your data model which will be simply Document field loaded as a column with different name, let's call it [Document_Level]&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Create a measure [Type Qty] with the expression:&amp;nbsp;
&lt;UL&gt;
&lt;LI&gt;If(Sum(Qty)&amp;gt;0 ,Sum(Total &amp;lt;Type&amp;gt; {&amp;lt;Document_Level=&amp;gt;}Qty))&lt;/LI&gt;
&lt;LI&gt;as you can see this measures ignores [Document_Level] field in set analysis and calculates Total of Qty for [Type]&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;In Pixel Perfect report use [Document_Level field] in your Level&lt;/LI&gt;
&lt;LI&gt;in Qlik Sense app though allow users apply selection only on [Document] Field&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;That's it.&lt;/P&gt;
&lt;P&gt;Attached are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Sample Qlik Sense app&lt;/LI&gt;
&lt;LI&gt;NPrinting Template&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;.gif with results&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_1-1641424996178.gif" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69660i9177D1E501678814/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_1-1641424996178.gif" alt="Lech_Miszkiewicz_1-1641424996178.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 23:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1877747#M34624</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-01-05T23:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Level Calculation in Pixel Perfect</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1878128#M34638</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;You are right, your solution should work!&lt;/P&gt;
&lt;P&gt;Unfortunately, so far, I couldn't get it working. I'm struggling with the real case, which is of course more complex. The main difference is that I have one more nested level, so I disregarded both dimension levels in the formula.&lt;/P&gt;
&lt;P&gt;Everything is working in the Sense app, but in the Nprinting report it is not. The formula does not disregard the dimensions.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-01-06_19h35_22.png" style="width: 612px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69705i5C09598A9127B50F/image-dimensions/612x535?v=v2" width="612" height="535" role="button" title="2022-01-06_19h35_22.png" alt="2022-01-06_19h35_22.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I keep trying&lt;/P&gt;
&lt;P&gt;Thank you again&lt;/P&gt;
&lt;P&gt;Paolo&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 18:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1878128#M34638</guid>
      <dc:creator>paolo_cordini</dc:creator>
      <dc:date>2022-01-06T18:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Level Calculation in Pixel Perfect</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1878200#M34639</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41229"&gt;@paolo_cordini&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It works for me - I have just added another level and it still behaves ok.&lt;/P&gt;
&lt;P&gt;Obviously that another extra level again needs to be based on field you are not applying selections on as user in UI which are also the dimensions used in levels must be the one you are disregarding in set analysis.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I dont know what else I can do - concept is identical to the one I have presented in my previous post.&lt;/P&gt;
&lt;P&gt;I work of simplistic concept here but principles are the same - so there is something you are doing differently. Level 1 is in red, level 2 in blue and purple is the measure we discussed.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_0-1641509505642.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69725i0B4EB178B5EB1028/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_0-1641509505642.png" alt="Lech_Miszkiewicz_0-1641509505642.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is Qlik app with selections applied and OnDemand report generated with results next to it. Everything works as expected.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_1-1641509708747.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69726iAA5280313D18CE45/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_1-1641509708747.png" alt="Lech_Miszkiewicz_1-1641509708747.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I dont need to remind about regenerating metadata and re-adding all nodes to levels and sublevels after each change - I am sure you know that.&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 22:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1878200#M34639</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-01-06T22:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Level Calculation in Pixel Perfect</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1878395#M34649</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;This is my case. The formula is identical to your one.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-01-07_11h30_54.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69783iBCB1585F535668AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-01-07_11h30_54.png" alt="2022-01-07_11h30_54.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Simulating levels loop... still OK in Qlik Sense&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-01-07_11h46_34.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69788i7E7E5BB1E7F71E53/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-01-07_11h46_34.png" alt="2022-01-07_11h46_34.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is the template. I did it from scratch, identical to yours .&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-01-07_11h34_53.png" style="width: 665px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69784i77FD8F1104F180E8/image-dimensions/665x290?v=v2" width="665" height="290" role="button" title="2022-01-07_11h34_53.png" alt="2022-01-07_11h34_53.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And this is the result. As you can see, the level is not disregarded.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-01-07_11h34_39.png" style="width: 397px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69785iB7A8FDD6380EF69F/image-dimensions/397x390?v=v2" width="397" height="390" role="button" title="2022-01-07_11h34_39.png" alt="2022-01-07_11h34_39.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Other differences are:&lt;/P&gt;
&lt;P&gt;- the "Row" field is in my case unique across the dimensions&lt;/P&gt;
&lt;P&gt;- In this particular example, for one value of Dimension there is only one possible value of Dimension_2&lt;/P&gt;
&lt;P&gt;- Some values of "Type" could exist only for one value of "Dimension" and "Dimension_2"&lt;/P&gt;
&lt;P&gt;- User selects values only from "Dimension_2"&lt;/P&gt;
&lt;P&gt;But I&amp;nbsp; modified your sample to reflect these differences and it keeps working....&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-01-07_11h41_45.png" style="width: 272px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69786i7E212038AA97ED5D/image-dimensions/272x226?v=v2" width="272" height="226" role="button" title="2022-01-07_11h41_45.png" alt="2022-01-07_11h41_45.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I know, there must be a difference somewhere, but I didn't catch it yet...&lt;/P&gt;
&lt;P&gt;Thank You&lt;/P&gt;
&lt;P&gt;Paolo&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 10:58:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1878395#M34649</guid>
      <dc:creator>paolo_cordini</dc:creator>
      <dc:date>2022-01-07T10:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Level Calculation in Pixel Perfect</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1878410#M34650</link>
      <description>&lt;P&gt;Got it! I had another field in the dimension_level tables, for sorting purposes. I have to disregard this field too in the formula.&lt;/P&gt;
&lt;P&gt;Now it works!&lt;BR /&gt;Thank you a lot.&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;
&lt;P&gt;Paolo&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 11:34:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1878410#M34650</guid>
      <dc:creator>paolo_cordini</dc:creator>
      <dc:date>2022-01-07T11:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Level Calculation in Pixel Perfect</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1878430#M34652</link>
      <description>&lt;P&gt;excellent!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 12:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Cross-Level-Calculation-in-Pixel-Perfect/m-p/1878430#M34652</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-01-07T12:30:06Z</dc:date>
    </item>
  </channel>
</rss>

