<?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: Variable value does not work in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Variable-value-does-not-work/m-p/1984495#M37201</link>
    <description>&lt;P&gt;On completely different subject. Is there any reason why you had to do set analysis for user selection instead of just regular section access or filters?&lt;/P&gt;</description>
    <pubDate>Thu, 22 Sep 2022 23:51:50 GMT</pubDate>
    <dc:creator>Lech_Miszkiewicz</dc:creator>
    <dc:date>2022-09-22T23:51:50Z</dc:date>
    <item>
      <title>Variable value does not work</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Variable-value-does-not-work/m-p/1984433#M37197</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have created dasboard in Qlik Sense. I created variables for my measures like example below. I want to use Nprinting based on user values, so I set an employee ID number value in variable&amp;nbsp; part of filter, then I added this filter for user but it does not work.&amp;nbsp; &lt;SPAN&gt;Any help will be really appreciated?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;SET v_RESPONSIBLE = 'SEC_ACC_ADMA';&lt;BR /&gt;SET v_RESPONSIBLE_PS = 'SEC_ACC_PS';&lt;/P&gt;
&lt;P&gt;SET v_OsUser = (upper(SubField(OSUser(),'=',-1);&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Measure:&lt;/STRONG&gt;&amp;nbsp;count({&amp;lt;SEC_ACC_PS={$(v_OsUser)},TASK_ENTITY={"Proje Ziyareti"}&amp;gt;} [Task_Subject])&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Nprinting :&lt;/STRONG&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="ElifGuler_0-1663871814037.png" style="width: 628px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89715i1764E5D085EC7FCF/image-dimensions/628x248?v=v2" width="628" height="248" role="button" title="ElifGuler_0-1663871814037.png" alt="ElifGuler_0-1663871814037.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 18:42:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Variable-value-does-not-work/m-p/1984433#M37197</guid>
      <dc:creator>ElifGuler</dc:creator>
      <dc:date>2022-09-22T18:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Variable value does not work</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Variable-value-does-not-work/m-p/1984484#M37199</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/199360"&gt;@ElifGuler&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I’m not very sure where you are having the problem, if it’s &amp;nbsp;in nprinting or sense app,&amp;nbsp;but you are missing some single quotes in the formula because you are evaluating text and not number&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;count({&amp;lt;SEC_ACC_PS={'$(v_OsUser)'},TASK_ENTITY={"Proje Ziyareti"}&amp;gt;} [Task_Subject])&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 21:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Variable-value-does-not-work/m-p/1984484#M37199</guid>
      <dc:creator>RafaelBarrios</dc:creator>
      <dc:date>2022-09-22T21:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Variable value does not work</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Variable-value-does-not-work/m-p/1984493#M37200</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The logical error is that your variable does not have expression in it so you cannot use "EVALUATE"&amp;nbsp; checkbox. You just want variable v_OsUser to be set to HTR0410 therefore there is nothing to evaluate! Untick the "evaluate" box and try again.&lt;/P&gt;
&lt;P&gt;I also agree that having single quotes is more elegant and should be applied in your set analysis.&lt;/P&gt;
&lt;P&gt;I suggest studying how to use particular functions to be sure that correct methods are used - here is a link&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-10" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-10&lt;/A&gt;&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;</description>
      <pubDate>Thu, 22 Sep 2022 23:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Variable-value-does-not-work/m-p/1984493#M37200</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-09-22T23:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Variable value does not work</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Variable-value-does-not-work/m-p/1984495#M37201</link>
      <description>&lt;P&gt;On completely different subject. Is there any reason why you had to do set analysis for user selection instead of just regular section access or filters?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 23:51:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Variable-value-does-not-work/m-p/1984495#M37201</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-09-22T23:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Variable value does not work</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Variable-value-does-not-work/m-p/1987976#M37284</link>
      <description>&lt;P&gt;Since some users are managers and they should see also their team employee's data , we could not apply section access or user filter.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 07:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Variable-value-does-not-work/m-p/1987976#M37284</guid>
      <dc:creator>ElifGuler</dc:creator>
      <dc:date>2022-10-03T07:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Variable value does not work</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Variable-value-does-not-work/m-p/1987991#M37286</link>
      <description>&lt;P&gt;That Section access souldnt be a problem if done propperly.&lt;/P&gt;
&lt;P&gt;Using section access you can set the managers to see others user data, just add more lines for manager to link with other users data.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 07:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Variable-value-does-not-work/m-p/1987991#M37286</guid>
      <dc:creator>RafaelBarrios</dc:creator>
      <dc:date>2022-10-03T07:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Variable value does not work</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Variable-value-does-not-work/m-p/1987993#M37287</link>
      <description>&lt;P&gt;Correct - just like&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80977"&gt;@RafaelBarrios&lt;/a&gt;&amp;nbsp;said - section access shouldn't be a problem if planned and done properly&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 07:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Variable-value-does-not-work/m-p/1987993#M37287</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-10-03T07:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Variable value does not work</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Variable-value-does-not-work/m-p/1987995#M37288</link>
      <description>&lt;P&gt;ohh - same would apply for user filters - at the end you are using a filter anyway, right?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 07:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Variable-value-does-not-work/m-p/1987995#M37288</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-10-03T07:28:12Z</dc:date>
    </item>
  </channel>
</rss>

