<?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: How to limit TOP X by a measure not used in a Chart in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-limit-TOP-X-by-a-measure-not-used-in-a-Chart/m-p/1900430#M35290</link>
    <description>&lt;P&gt;Hi Lech,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you for your answer, I will try to give you a better description of my problem:&lt;/P&gt;
&lt;P&gt;The report I am trying to create is an Excel Report containing project data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There will be a table with all active projects on the first sheet, a table with only the TOP 40 projects for one calculated Measure (biggest 40) in the second sheet. These both work fine, the TOP 40 I could get with the limitation - fixed number function in Qlik Sense.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then there will be 3 sheets with images that visualize certain measures as bar charts, but only the projects within the top and bottom 10 for the visualized measures out of these 40 biggest projects.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since the measure defining these 40 biggest projects is not included in the visualizations and also I need top 10 and bottom 10, I cannot use the limitation - fixed number option.&lt;/P&gt;
&lt;P&gt;So I decided to use a calculated dimension and the option to not include NULL-values in for the Projectnames in the visualization with the following formula:&lt;/P&gt;
&lt;P&gt;=aggr(if(rank([Measure for biggest 40])&amp;lt;=40,aggr(if((rank([Measure for TOP and bottom 10])&amp;lt;=10 or rank(-[Measure for TOP and bottom 10])&amp;lt;=10),[Projectname]), [Projectname])),[Projectname])&lt;/P&gt;
&lt;P&gt;This version works fine in Qlik Sense but gives me empty images in NPrinting (probably because of the calculated dimension) I have tried to use this formula as a filter, but that does not work aswell.&lt;/P&gt;
&lt;P&gt;I have also tried to calculate the measures in the loadscript already, to have a fixed ranking. This also did not work, since the data structure comes very complex from SAP. But even if this worked well, it would not be a good solution, since the report will be filtered user specific and only contain the values for e.g. a certain business unit and so I needed different ranking columns for each of them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Nils&lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2022 08:54:35 GMT</pubDate>
    <dc:creator>Nils_Schindler</dc:creator>
    <dc:date>2022-03-03T08:54:35Z</dc:date>
    <item>
      <title>How to limit TOP X by a measure not used in a Chart</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-limit-TOP-X-by-a-measure-not-used-in-a-Chart/m-p/1898814#M35254</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is there a way to limit a chart to the Top X (e.g. Top 10) values of a measure, that is not used in that chart?&lt;/P&gt;
&lt;P&gt;I have tried this solution, which works perfect in Qlik Sense:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/How-to-limit-top-10-by-a-measure-not-used-in-chart/td-p/33373" target="_blank"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/How-to-limit-top-10-by-a-measure-not-used-in-chart/td-p/33373&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But when I try to use that "filtered" chart in Nprinting, it is just empty.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the problem is the same as with if-clauses in tables, where the designer cannot find them anymore after "filtering" a table using an if-clause.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached you can find a screenshot showing, what the diagram looks like with the values missing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 16:15:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-limit-TOP-X-by-a-measure-not-used-in-a-Chart/m-p/1898814#M35254</guid>
      <dc:creator>Nils_Schindler</dc:creator>
      <dc:date>2022-03-01T16:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit TOP X by a measure not used in a Chart</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-limit-TOP-X-by-a-measure-not-used-in-a-Chart/m-p/1899377#M35273</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think the problem is that calculated dimensions are not supported&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/ReportsDevelopment/Qlik-objects-supported-NP.htm#anchor-3" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/ReportsDevelopment/Qlik-objects-supported-NP.htm#anchor-3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I haven't a similar example ready right now for Excel. Maybe you could try to export all data in a hidden Excel worksheet and use Excel features to extract the top10 for the viewer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 14:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-limit-TOP-X-by-a-measure-not-used-in-a-Chart/m-p/1899377#M35273</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2022-03-02T14:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit TOP X by a measure not used in a Chart</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-limit-TOP-X-by-a-measure-not-used-in-a-Chart/m-p/1899389#M35274</link>
      <description>&lt;P&gt;Hi Ruggero,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you for the hint. Probably you are right, I will just try to filter in Excel.&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Nils&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 14:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-limit-TOP-X-by-a-measure-not-used-in-a-Chart/m-p/1899389#M35274</guid>
      <dc:creator>Nils_Schindler</dc:creator>
      <dc:date>2022-03-02T14:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit TOP X by a measure not used in a Chart</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-limit-TOP-X-by-a-measure-not-used-in-a-Chart/m-p/1899393#M35275</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When you have a solution, please, evaluate to share it here. I will also try to find it.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 14:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-limit-TOP-X-by-a-measure-not-used-in-a-Chart/m-p/1899393#M35275</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2022-03-02T14:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit TOP X by a measure not used in a Chart</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-limit-TOP-X-by-a-measure-not-used-in-a-Chart/m-p/1900296#M35285</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this needs more description.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are certain ways we can approach this, but we need to know:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;where such object will be used (Level or Table or image or something else)&lt;/LI&gt;
&lt;LI&gt;are there any other objects on that report&lt;/LI&gt;
&lt;LI&gt;what is the template you are trying to use that object in - it seems to be excel, so you could use object filter and "Advanced Search" to filter data in that object using whatever measure you need
&lt;UL&gt;
&lt;LI&gt;that again requires thinking about dimensions used in that object.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also it is hard to say if you need to use it in Level or in Table.&lt;/P&gt;
&lt;P&gt;Another thing is that having calculated dimension in the Qlik Sense table which is used as a table in NPrinting is still supported and works so I am not sure what you were trying to say by: &lt;EM&gt;"I think the problem is the same as with if-clauses in tables, where the designer cannot find them anymore after "filtering" a table using an if-clause."&amp;nbsp;&amp;nbsp;&lt;/EM&gt;I am guessing you were trying to hide a column which will not be supported.&lt;/P&gt;
&lt;P&gt;Lastly - what is stopping you from adding the required measure to the chart? That particular chart does not need to be exposed to users in Qlik Sense app. It can be in hidden sheet and can simply be used as NPrinting only object.&lt;/P&gt;
&lt;P&gt;As always - i suggest to step back, think about what you want to achieve, try thinking outside the box and implement the most appropriate solution.&lt;/P&gt;
&lt;P&gt;So yeah - there are at least 3 solutions i can see working easily depending on scenario you are in.&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;
&lt;P&gt;Lech&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 04:08:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-limit-TOP-X-by-a-measure-not-used-in-a-Chart/m-p/1900296#M35285</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-03-03T04:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit TOP X by a measure not used in a Chart</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-limit-TOP-X-by-a-measure-not-used-in-a-Chart/m-p/1900430#M35290</link>
      <description>&lt;P&gt;Hi Lech,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you for your answer, I will try to give you a better description of my problem:&lt;/P&gt;
&lt;P&gt;The report I am trying to create is an Excel Report containing project data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There will be a table with all active projects on the first sheet, a table with only the TOP 40 projects for one calculated Measure (biggest 40) in the second sheet. These both work fine, the TOP 40 I could get with the limitation - fixed number function in Qlik Sense.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then there will be 3 sheets with images that visualize certain measures as bar charts, but only the projects within the top and bottom 10 for the visualized measures out of these 40 biggest projects.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since the measure defining these 40 biggest projects is not included in the visualizations and also I need top 10 and bottom 10, I cannot use the limitation - fixed number option.&lt;/P&gt;
&lt;P&gt;So I decided to use a calculated dimension and the option to not include NULL-values in for the Projectnames in the visualization with the following formula:&lt;/P&gt;
&lt;P&gt;=aggr(if(rank([Measure for biggest 40])&amp;lt;=40,aggr(if((rank([Measure for TOP and bottom 10])&amp;lt;=10 or rank(-[Measure for TOP and bottom 10])&amp;lt;=10),[Projectname]), [Projectname])),[Projectname])&lt;/P&gt;
&lt;P&gt;This version works fine in Qlik Sense but gives me empty images in NPrinting (probably because of the calculated dimension) I have tried to use this formula as a filter, but that does not work aswell.&lt;/P&gt;
&lt;P&gt;I have also tried to calculate the measures in the loadscript already, to have a fixed ranking. This also did not work, since the data structure comes very complex from SAP. But even if this worked well, it would not be a good solution, since the report will be filtered user specific and only contain the values for e.g. a certain business unit and so I needed different ranking columns for each of them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Nils&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 08:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-limit-TOP-X-by-a-measure-not-used-in-a-Chart/m-p/1900430#M35290</guid>
      <dc:creator>Nils_Schindler</dc:creator>
      <dc:date>2022-03-03T08:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit TOP X by a measure not used in a Chart</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-limit-TOP-X-by-a-measure-not-used-in-a-Chart/m-p/1900439#M35291</link>
      <description>&lt;P&gt;Ok it is all clear now.&lt;/P&gt;
&lt;P&gt;You are facing issue describe in this topic as instead of writing calculated dimension using fully expanded expressions you used measure names which is causing issues:&lt;/P&gt;
&lt;P&gt;This is a topic:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Discussions/Gauge-from-Qlik-sense-into-Nprinting/td-p/1839212" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Discussions/Gauge-from-Qlik-sense-into-Nprinting/td-p/1839212&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and this is suggested Qlik solution:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/Qlik-Sense-charts-with-master-measures-used-in-Qlik-NPrinting/ta-p/1882332" target="_blank"&gt;https://community.qlik.com/t5/Knowledge/Qlik-Sense-charts-with-master-measures-used-in-Qlik-NPrinting/ta-p/1882332&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;
&lt;P&gt;Lech&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;by the way - as you can see providing detailed info straight away gives us indication what is wrong and allows us to provide you with constructive answer !!!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 09:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-limit-TOP-X-by-a-measure-not-used-in-a-Chart/m-p/1900439#M35291</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-03-03T09:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit TOP X by a measure not used in a Chart</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-limit-TOP-X-by-a-measure-not-used-in-a-Chart/m-p/1900507#M35294</link>
      <description>&lt;P&gt;Thank you Lech!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now it works as expected!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 10:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-limit-TOP-X-by-a-measure-not-used-in-a-Chart/m-p/1900507#M35294</guid>
      <dc:creator>Nils_Schindler</dc:creator>
      <dc:date>2022-03-03T10:49:48Z</dc:date>
    </item>
  </channel>
</rss>

