<?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 misbehaved once in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Variable-misbehaved-once/m-p/2460843#M41676</link>
    <description>&lt;P&gt;Thank you for your ideas. The timer_mode is good to know about. I don't provide a value for that parameter, so I assume the default (1 - the date of the function call) will return the date of the day NPrinting runs the report. Even if it somehow returned the date the app reloaded, then I should see the problem every week, because the app never reloads on Sunday (which is the start of the week in our environment).&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2024 14:49:48 GMT</pubDate>
    <dc:creator>Lauri</dc:creator>
    <dc:date>2024-06-10T14:49:48Z</dc:date>
    <item>
      <title>Variable misbehaved once</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Variable-misbehaved-once/m-p/2458837#M41634</link>
      <description>&lt;P&gt;I have an NPrinting report that runs every Sunday morning. It's been working perfectly for a few months - until yesterday. The report name includes a variable from Sense that evaluates this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;=date(WeekStart(Today()), 'YYYY.MM.DD')&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The report setup:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lauri_0-1717429591087.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167312i879908518D94A0AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lauri_0-1717429591087.png" alt="Lauri_0-1717429591087.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Every week, the report has gotten the correct name. Yesterday, the report ran as usual BUT the file name contained 2024.05.26 instead of 2024.06.02 (yesterday's date).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas why?&lt;/P&gt;
&lt;P&gt;I could change the variable to =&lt;FONT face="courier new,courier"&gt;date(Today(), 'YYYY.MM.DD') &lt;/FONT&gt;but it's not ideal because sometimes the report needs to run on other days.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 16:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Variable-misbehaved-once/m-p/2458837#M41634</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2024-06-03T16:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Variable misbehaved once</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Variable-misbehaved-once/m-p/2458873#M41636</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16128"&gt;@Lauri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is not possible to tell why it shown different date without investigating. First you would need to check your Qlik Sense app as well as the variable value returned for that variable (preferably at the time when you generated report).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 19:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Variable-misbehaved-once/m-p/2458873#M41636</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2024-06-03T19:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Variable misbehaved once</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Variable-misbehaved-once/m-p/2459081#M41646</link>
      <description>&lt;P&gt;It might be related to the timer_mode of today() and the time of the last reload:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTimeFunctions/today.htm" target="_blank"&gt;today - script and chart function | Qlik Cloud Help&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 10:56:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Variable-misbehaved-once/m-p/2459081#M41646</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-06-04T10:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Variable misbehaved once</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Variable-misbehaved-once/m-p/2460843#M41676</link>
      <description>&lt;P&gt;Thank you for your ideas. The timer_mode is good to know about. I don't provide a value for that parameter, so I assume the default (1 - the date of the function call) will return the date of the day NPrinting runs the report. Even if it somehow returned the date the app reloaded, then I should see the problem every week, because the app never reloads on Sunday (which is the start of the week in our environment).&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 14:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Variable-misbehaved-once/m-p/2460843#M41676</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2024-06-10T14:49:48Z</dc:date>
    </item>
  </channel>
</rss>

