<?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: Selecting specific values in Measure-Columns for Reports in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2495690#M42333</link>
    <description>&lt;P&gt;Thank you for the detailed explanation! After a few tries it now does what it should &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2024 06:29:50 GMT</pubDate>
    <dc:creator>Sapphire</dc:creator>
    <dc:date>2024-12-03T06:29:50Z</dc:date>
    <item>
      <title>Selecting specific values in Measure-Columns for Reports</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494563#M42298</link>
      <description>&lt;P&gt;Hi there!&lt;BR /&gt;&lt;BR /&gt;I have an Issue regarding the use of Measures (and maybe a bit of a lack of understanding as to what the underlying reasons are for this Issue to arise).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My Task:&lt;/P&gt;
&lt;P&gt;I have a set of data, containing the IDs of Cars and different codes for service options that have to be done to this cars, as well as the status of these service options. One ID can either have one or more of the same service options at the same time. Now I want to create a table that lists all Car-IDs that have more than one service option open at the same time.&lt;/P&gt;
&lt;P&gt;To achieve this, I wanted to simply create a measure counting all service options per ID that are in a defined set of status. This works, but so far shows also the IDs that only have 1 service option per ID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My Problem:&lt;/P&gt;
&lt;P&gt;I don`t know how to filter measures, since I can`t just say "select all values bigger 1". When putting it in an expression, I get the error "invalid Dimension".&lt;/P&gt;
&lt;P&gt;My second try was to go via an expression like i.e. "=if(count(serviceOption)&amp;gt;1, serviceOption,null())" and then simply hide zero-values which, however, only works with dimensions, not measures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So now my Question sums up basically into: How can i select or filter specific values in measure columns in tables (Like either "show only value "x" or "show greater than x")?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I once again hope on your ability to help me! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Faithful regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 07:31:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494563#M42298</guid>
      <dc:creator>Sapphire</dc:creator>
      <dc:date>2024-11-26T07:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting specific values in Measure-Columns for Reports</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494574#M42299</link>
      <description>&lt;P&gt;I suggest you create a new field in the data model, that holds a counter for each ID.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 08:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494574#M42299</guid>
      <dc:creator>henrikalmen</dc:creator>
      <dc:date>2024-11-26T08:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting specific values in Measure-Columns for Reports</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494583#M42300</link>
      <description>&lt;P&gt;Hello Henrikalmen,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I agree this would be most likely the best solution. However, I have the problem that in our company I can`t just modify the loading script or data model due to different reasons and our policy, hence I have to rely on "front end solutions", sadly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 08:35:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494583#M42300</guid>
      <dc:creator>Sapphire</dc:creator>
      <dc:date>2024-11-26T08:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting specific values in Measure-Columns for Reports</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494600#M42303</link>
      <description>&lt;P&gt;You can enter an expression when doing a search in the ID dimension. That way it's possible to find the IDs that match a search criteria using other fields.&lt;/P&gt;
&lt;P&gt;This might be a start:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Member-Articles/Examples-of-Advanced-Search-Filters/ta-p/1594779" target="_blank"&gt;https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/Selections/SelectionsToolbar/expression-search-selections-visualizations.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Member-Articles/Examples-of-Advanced-Search-Filters/ta-p/1594779" target="_blank"&gt;https://community.qlik.com/t5/Member-Articles/Examples-of-Advanced-Search-Filters/ta-p/1594779&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://ometis.co.uk/blog-news/answer-ad-hoc-questions-with-advanced-search-expressions-in-qlik" target="_blank"&gt;https://ometis.co.uk/blog-news/answer-ad-hoc-questions-with-advanced-search-expressions-in-qlik&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 09:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494600#M42303</guid>
      <dc:creator>henrikalmen</dc:creator>
      <dc:date>2024-11-26T09:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting specific values in Measure-Columns for Reports</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494643#M42305</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/198180"&gt;@Sapphire&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why dont you use set analysis with advanced search?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;ID={"&lt;FONT color="#FF0000"&gt;=&lt;/FONT&gt;Count(ServiceID)&amp;gt;1"}&amp;gt;}WhateverYouWantToCount)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;ID={"&lt;FONT color="#FF0000"&gt;=&lt;/FONT&gt;Count(ServiceID)&amp;gt;1"}&amp;gt;}WhateverYouWantToSum)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;EDIT:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;I missed important "=" sign, added now&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 21:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494643#M42305</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2024-11-27T21:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting specific values in Measure-Columns for Reports</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494822#M42308</link>
      <description>&lt;P&gt;Heya,&lt;BR /&gt;Thanks for your suggestions, I will look into that, maybe it might help. And, even if not, at least I will have learned something new, then.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 06:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494822#M42308</guid>
      <dc:creator>Sapphire</dc:creator>
      <dc:date>2024-11-27T06:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting specific values in Measure-Columns for Reports</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494825#M42309</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;thank you for the suggestion, I'll try that and see if it works. Just for my understanding: This solution should work both in the App and as a filter-condition in nPrinting, is that correct? I mean, syntax-wise are both (advanced search in QlikSence and advanced search in nPrinting) the same, as far as I understand it?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 07:06:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494825#M42309</guid>
      <dc:creator>Sapphire</dc:creator>
      <dc:date>2024-11-27T07:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting specific values in Measure-Columns for Reports</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494836#M42310</link>
      <description>&lt;P&gt;I dont understand your question. Syntax is sligthly different as what I suggested is a set expression in set analysis which is not the same as "advanced search" search filter or advanced search NPrinting filter.&lt;/P&gt;
&lt;P&gt;The solution I suggested was to implement this in the Qlik Sense object as a measure. Object is prefiltered to only show values where there are more than 1 services. At this stage you just bring this object to NPrinting and you dont need to filter anything.&lt;/P&gt;
&lt;P&gt;Then if you wish to apply filter in NPrinting using Advanced search the question is which dimension you want to filter and if applying filter on such dimension is sufficient to meet criteria/granularity of the data. I have explained those concepts in my blog post here:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://nprintingadventures.com/2021/09/23/filters-in-nprinting-how-hard-can-it-be-part-2-or-mode/" target="_blank"&gt;https://nprintingadventures.com/2021/09/23/filters-in-nprinting-how-hard-can-it-be-part-2-or-mode/&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;and little bit&amp;nbsp; here:&amp;nbsp;&lt;A href="https://nprintingadventures.com/2019/06/26/nprinting-filters-part-3-advanced-search/" target="_blank"&gt;https://nprintingadventures.com/2019/06/26/nprinting-filters-part-3-advanced-search/&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;It would very much help if you had particular example we could work with to explain those concepts. Maybe create ctrl+0+0 app and lets talk using that example.&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 08:15:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494836#M42310</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2024-11-27T08:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting specific values in Measure-Columns for Reports</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494910#M42312</link>
      <description>&lt;P&gt;My question regarding the filter was a more general question to see wether or not I could apply this syntax in nPrinting as well. That thought came to mind because I read your reply just as I was setting up a filter. But indeed, my underlying issue was to find a solution directly in sense. Sorry for the confusion.&lt;/P&gt;
&lt;P&gt;As for making an example, let that be the raw Data:&lt;/P&gt;
&lt;TABLE border="1" width="35.999737466094345%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="20%" height="24px"&gt;VehicleID&lt;/TD&gt;
&lt;TD width="20%" height="24px"&gt;ServiceID&lt;/TD&gt;
&lt;TD width="20%" height="24px"&gt;ServiceDescription&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="20%" height="39px"&gt;
&lt;P&gt;123&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="20%" height="39px"&gt;CLE&lt;/TD&gt;
&lt;TD width="20%" height="39px"&gt;CleanWindows&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="20%" height="24px"&gt;234&lt;/TD&gt;
&lt;TD width="20%" height="24px"&gt;CLE&lt;/TD&gt;
&lt;TD width="20%" height="24px"&gt;CleanWindows&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="20%" height="24px"&gt;234&lt;/TD&gt;
&lt;TD width="20%" height="24px"&gt;CLE&lt;/TD&gt;
&lt;TD width="20%" height="24px"&gt;CleanDoor&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="20%" height="24px"&gt;456&lt;/TD&gt;
&lt;TD width="20%" height="24px"&gt;CLE&lt;/TD&gt;
&lt;TD width="20%" height="24px"&gt;CleanDoor&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="20%" height="24px"&gt;567&lt;/TD&gt;
&lt;TD width="20%" height="24px"&gt;CLE&lt;/TD&gt;
&lt;TD width="20%" height="24px"&gt;CleanWindows&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;Now, my first step was to just get a second table but without the ServiceDescription and instead the expression "count(ServiceID)". Hence I get for the Vehicle ID "234" the value "2" and for the rest the value "1".&lt;BR /&gt;&lt;BR /&gt;What I do want and need however, is that only the rows with at least a "2" i the "count(ServiceID)" are shown.&lt;BR /&gt;If I understand your syntax right, to achieve that, I need to replace "count(ServiceID)" with&lt;BR /&gt;"Count({&amp;lt;ID={"Count(ServiceID)&amp;gt;1"}&amp;gt;}ServiceDescription)". &lt;BR /&gt;This I tried, and although I get no error, it basically still shows me everything. Most likely I am overlooking something simple, here, but so far I don't see it, yet.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 14:20:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494910#M42312</guid>
      <dc:creator>Sapphire</dc:creator>
      <dc:date>2024-11-27T14:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting specific values in Measure-Columns for Reports</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494985#M42313</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/198180"&gt;@Sapphire&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My bad - I missed "=" sign in my previous post hence it didnt work for you there - I have updated it in my previous post.&lt;/P&gt;
&lt;P&gt;Here you have your example. Important thing is to understand the context here. In your exxample You can only filter&amp;nbsp;&lt;SPAN&gt;"count(ServiceID)&amp;gt;1" against the VehicleId dimension. Think about using advanced search with measure like about creating virtual table in memory with the dimension you filter, measure and condition. In your case it is:&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Dimension: VehicleID&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Measure: Count(ServiceID)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Condition &amp;gt; 1&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_2-1732745798105.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174936iB31BFD4AFDB55A2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_2-1732745798105.png" alt="Lech_Miszkiewicz_2-1732745798105.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This can be validated also as a filter on VehicleID field - as you can see it returns 234 as the only result meeting the criteria:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_3-1732745928941.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174937i597AF8CB7EAE4291/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_3-1732745928941.png" alt="Lech_Miszkiewicz_3-1732745928941.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And below whole example:&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="Lech_Miszkiewicz_0-1732745414197.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174934i6F2F6F2A8B106C59/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_0-1732745414197.png" alt="Lech_Miszkiewicz_0-1732745414197.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And In NPrinitng filter would be just:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_1-1732745483677.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174935iB7DE42DD9C8D2814/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_1-1732745483677.png" alt="Lech_Miszkiewicz_1-1732745483677.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This example is very easy and does not create data granularity challenges which i described in my blog post. Those have to be considered when using more advanced searches.&lt;/P&gt;
&lt;P&gt;Attaching sample app so you can have full picture. Hope this is now super clear.&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 22:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2494985#M42313</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2024-11-27T22:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting specific values in Measure-Columns for Reports</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2495690#M42333</link>
      <description>&lt;P&gt;Thank you for the detailed explanation! After a few tries it now does what it should &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 06:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Selecting-specific-values-in-Measure-Columns-for-Reports/m-p/2495690#M42333</guid>
      <dc:creator>Sapphire</dc:creator>
      <dc:date>2024-12-03T06:29:50Z</dc:date>
    </item>
  </channel>
</rss>

