<?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: Npriting- Variable in TO/CC in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2144131#M40595</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/209018"&gt;@Rado&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I understand correctly you only want to send eamil when there is todays snapshot, right?&lt;/P&gt;
&lt;P&gt;If that is true, then why do you need to use variable email at all? it is not required - you can have static email and the only thing you need is a task condition checking if todays snapshot is in the app. You can achieve that by using Qlik variable or UI object which would have values or would be empty in case there is no data.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/May2023/Content/NPrinting/ReportsDevelopment/Conditions.htm" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2023/Content/NPrinting/ReportsDevelopment/Conditions.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;</description>
    <pubDate>Tue, 05 Dec 2023 02:58:32 GMT</pubDate>
    <dc:creator>Lech_Miszkiewicz</dc:creator>
    <dc:date>2023-12-05T02:58:32Z</dc:date>
    <item>
      <title>Npriting- Variable in TO/CC</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2142930#M40575</link>
      <description>&lt;P&gt;Hello folks,&lt;BR /&gt;I set up variable in the Codata app:&lt;/P&gt;
&lt;P style="margin-top: 0pt; margin-bottom: 8pt; font-family: Calibri; font-size: 11.0pt;"&gt;=If( [Snapshot date]= Floor(Today()), 'mail1@mail.com', 'mail2@mail2.com')&lt;BR /&gt;&lt;BR /&gt;Then I put the variable &lt;STRONG&gt;into&lt;/STRONG&gt; &lt;STRONG&gt;CC&lt;/STRONG&gt; in the Nprinting task publisher in email message section.&lt;BR /&gt;&lt;BR /&gt;1. trigger is set up on time when current day snapshot is not ready.&lt;BR /&gt;2.&amp;nbsp;trigger is set up on time when current day snapshot is ready.&lt;BR /&gt;&lt;BR /&gt;Email sending is working, however not right.&lt;BR /&gt;During the 1. trigger (snapshot not ready) it should send email only to&amp;nbsp;&amp;nbsp;'mail2@mail2.com'&lt;BR /&gt;It sending it on both emails during the both triggers.&lt;BR /&gt;&lt;BR /&gt;How to solve it?&lt;BR /&gt;&lt;BR /&gt;I assume that there could be some problem for Nprinting with&amp;nbsp;[Snapshot date]= Floor(Today()) ?&lt;BR /&gt;Or when there is in the condition two emails with comma " 'mail1@mail.com', 'mail2@mail2.com' " maybe it cant take it like condition?&lt;BR /&gt;&lt;BR /&gt;thank you in advance for your advise.&lt;BR /&gt;&lt;BR /&gt;Rado&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:14:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2142930#M40575</guid>
      <dc:creator>Rado</dc:creator>
      <dc:date>2024-11-15T21:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Npriting- Variable in TO/CC</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2143129#M40579</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/209018"&gt;@Rado&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hard to say where you are going wrong without seeing it all - this normally involves quite of few moving parts so I usually start by removing any moving ones:&lt;/P&gt;
&lt;P&gt;1. Golden rule is - your variable needs to be expanded - there is whole section in help about it so make sure you check that:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/May2023/Content/NPrinting/Troubleshooting/Variables-dont-expand-before-calculating.htm" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2023/Content/NPrinting/Troubleshooting/Variables-dont-expand-before-calculating.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2. You can set this variable directly in load script, right? that way there will be no issue and it will not try to calculate anything when NPrinting is running but at the time when Qlik app reload is going it will be calculated and set. Then it would be much easier to troubleshoot.&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 05:15:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2143129#M40579</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2023-12-01T05:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Npriting- Variable in TO/CC</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2143136#M40580</link>
      <description>&lt;P&gt;First you check in Qlik.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If( [Snapshot date]= Floor(Today()), 'mail1@mail.com', 'mail2@mail2.com')&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;the output of this formula is must be any one of this mail in Qlik like&amp;nbsp;&lt;A href="mailto:mail1@mail.com" target="_blank"&gt;mail1@mail.com&lt;/A&gt;&amp;nbsp; or&amp;nbsp; &lt;A href="mailto:mail2@mail2.com" target="_blank"&gt;mail2@mail2.com&lt;/A&gt;&amp;nbsp;. You achieve in Qlik means NPrinting automatically send the mail to that particular mail user.&lt;/P&gt;
&lt;P&gt;NPrinting consider only output of the variable in Qlik. I&lt;SPAN&gt;t will not try to calculate in NPrinting side.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 05:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2143136#M40580</guid>
      <dc:creator>Parthiban</dc:creator>
      <dc:date>2023-12-01T05:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Npriting- Variable in TO/CC</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2143389#M40584</link>
      <description>&lt;P&gt;Hello Guys,&lt;BR /&gt;I checked it in the QS however it seems quite good.&lt;BR /&gt;&lt;BR /&gt;But when I apply the variable what is defined in the app its doesnt work right.&lt;BR /&gt;&lt;BR /&gt;Well so lets think like this.&amp;nbsp;&lt;BR /&gt;I want to send email only in case when&amp;nbsp;&amp;nbsp;[Snapshot date]= today.&lt;BR /&gt;Do you have some suggestions how to define the Variable?&lt;BR /&gt;&lt;BR /&gt;I assume that I have to define this variable with condition in the app.&lt;BR /&gt;Then in the Nprinting I can use it like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rado_0-1701444130004.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/120909iFA180CFB59136AB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rado_0-1701444130004.png" alt="Rado_0-1701444130004.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 15:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2143389#M40584</guid>
      <dc:creator>Rado</dc:creator>
      <dc:date>2023-12-01T15:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Npriting- Variable in TO/CC</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2143528#M40585</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/209018"&gt;@Rado&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think we are lacking some fundamental understanding of how this works.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;For you for this to work variable needs to return a correct email
&lt;UL&gt;
&lt;LI&gt;your condition is:&amp;nbsp;&lt;SPAN&gt;when&amp;nbsp;&amp;nbsp;[Snapshot date]= today&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;question: is it possible that in your data set when you are trying to send report you will have multiple snapshot dates?&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;If yes - then it is obvious that it will not work as first you would have to apply filter for that particular snapshot date.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;If no and there is always only 1 snapshot date in data set then you are doing something wrong&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Variablem email delivery does not mean that it will filter data automatically - it means it can provide variable based email based on selections (filters) applied in NPrinting. So the option is to have 2 user filtes created with filters Snapshot = today and snapshot &amp;lt;&amp;gt; today - but then you dont really need variable email as you can just use regular email.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For us to understand the whole scenario you would have to explain little bit more on what you do with the data, what data you are loading to Qlik app (one or more snapshots), if it is more then one what is your expectation? Whether you want to filter it and then send to one or another email or if there is todays snapshot present you would send report with all snapshots data to one or another email.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Obviously I am guessing here a lot, but my feeling is that you thought variable filter will somehow automatically filter your data too which is not a case as that is not what it is designed for. Correct me if I am worng.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;cheers&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Lech&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 22:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2143528#M40585</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2023-12-01T22:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Npriting- Variable in TO/CC</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2144022#M40594</link>
      <description>&lt;P&gt;Hello Lech,&amp;nbsp;&lt;BR /&gt;first of all thank you for your willingness. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Currently I have set up trigger on specific time with filter on Snapshot = Today.&lt;BR /&gt;It is exporting views each day, on the time. &lt;BR /&gt;When app is updated and contains "today" it exports right views and sends email.&lt;BR /&gt;When app is not refreshed yet (delay), it sends "blank" view, because it doesnt contains data from "today".&lt;BR /&gt;&lt;BR /&gt;What I want:&lt;BR /&gt;I want to send email only when it contains today snapshot.&lt;BR /&gt;And yes the field Snapshot date contains more dates, also for previous days.&lt;BR /&gt;&lt;BR /&gt;I expected that when I will set up the variable in the app, and then I will place the variable into the TO (receiver) it will works.&lt;BR /&gt;&lt;BR /&gt;I hope, that now its describe better to give me some insights/query &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 17:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2144022#M40594</guid>
      <dc:creator>Rado</dc:creator>
      <dc:date>2023-12-04T17:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Npriting- Variable in TO/CC</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2144131#M40595</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/209018"&gt;@Rado&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I understand correctly you only want to send eamil when there is todays snapshot, right?&lt;/P&gt;
&lt;P&gt;If that is true, then why do you need to use variable email at all? it is not required - you can have static email and the only thing you need is a task condition checking if todays snapshot is in the app. You can achieve that by using Qlik variable or UI object which would have values or would be empty in case there is no data.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/May2023/Content/NPrinting/ReportsDevelopment/Conditions.htm" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2023/Content/NPrinting/ReportsDevelopment/Conditions.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 02:58:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2144131#M40595</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2023-12-05T02:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Npriting- Variable in TO/CC</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2144848#M40612</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Lech,&lt;BR /&gt;yes I have set it up like this right now.&lt;BR /&gt;&lt;BR /&gt;However there is requirement to send it only when it contains right view.&lt;BR /&gt;Do not send it when views are empty.&lt;BR /&gt;&lt;BR /&gt;Due to this I want to set up some condition what will send it only when it contains snapshot date from today &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 14:01:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2144848#M40612</guid>
      <dc:creator>Rado</dc:creator>
      <dc:date>2023-12-06T14:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Npriting- Variable in TO/CC</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2145044#M40616</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/209018"&gt;@Rado&lt;/a&gt;&amp;nbsp; - that is exactly what tasks conditions are for.&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;You can create Qlik Sense table object with:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;"include 0 values" disabled,&lt;/LI&gt;
&lt;LI&gt;Snapshot Date as dimension&lt;/LI&gt;
&lt;LI&gt;Only({&amp;lt;SnapshotDate={'$(=Date(Today()))'}&amp;gt;}SnapshotDate) as a measure
&lt;UL&gt;
&lt;LI&gt;you can see that chart is empty (1) when there is no snapshot date = today&lt;/LI&gt;
&lt;LI&gt;and there is data if there is snapshot date = today&lt;/LI&gt;
&lt;/UL&gt;
&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_0-1701904836163.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121156i0F35AAD1D32BD146/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_0-1701904836163.png" alt="Lech_Miszkiewicz_0-1701904836163.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then in NPrinting you create a condition when you relate to this object and say: Chart - find the chart with your condition and choose option "Contains values"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_1-1701904989217.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121157i5075A236F26C0E8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_1-1701904989217.png" alt="Lech_Miszkiewicz_1-1701904989217.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then in Task you add the condition and decide when task needs to run (on True or False of your condition):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_2-1701905151756.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121158i5C4CC0EFAE97A8B3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_2-1701905151756.png" alt="Lech_Miszkiewicz_2-1701905151756.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thats it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With this setup you will only generate report when there is todays snapshot in the data and as mentioned before you dont need any variable emails for it as variable email purpose is completely different by design.&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, 06 Dec 2023 23:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2145044#M40616</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2023-12-06T23:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Npriting- Variable in TO/CC</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2145293#M40624</link>
      <description>&lt;P&gt;Hello Lech,&lt;BR /&gt;thank you very much for this solution and detailed explanation.&lt;BR /&gt;Really appreciate your willngness.&lt;BR /&gt;&lt;BR /&gt;Seems this should work.&lt;BR /&gt;I implemented it, and will see in next update, how it is working.&lt;BR /&gt;Then will let you know.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Rado&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 13:43:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Npriting-Variable-in-TO-CC/m-p/2145293#M40624</guid>
      <dc:creator>Rado</dc:creator>
      <dc:date>2023-12-07T13:43:24Z</dc:date>
    </item>
  </channel>
</rss>

