<?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 PixelPerfect - Set Analysis with concatenated expression in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/PixelPerfect-Set-Analysis-with-concatenated-expression/m-p/1674867#M27901</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I got stuck with my formulars in NP. The formular should calculate the amount per seller per month and with a static entyr it works, for i.e. November:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;=if(num(date#(vDatumTS)) &amp;gt;num(date#('01.11.'&amp;amp;year(vDatumTS))), sum({&amp;lt;Datum={'&amp;gt;=01.11.2019&amp;lt;=30.11.2019'}&amp;gt;}[$(vQuelle).VKWert]), 0)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;As you can see, my set analysis is fixed on the year 2019. To get it dynamic, I tried to put a concatenated expression between the braces, but it wasn´t taken:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;sum({&amp;lt;Datum={'$('&amp;gt;=01.11.'&amp;amp;year(vDatumTS)&amp;amp;'&amp;lt;=30.11.'&amp;amp;year(vDatumTS))'}&amp;gt;}[$(vQuelle).VKWert])&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I tried many variations (with '$(', '$(=$(', " ",... ) and counted all the qoutation marks, but nothing worked. Maybe anyone has an idea how to get it right, without creating 12 variables in QS.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2020 14:35:50 GMT</pubDate>
    <dc:creator>Gerdinho22</dc:creator>
    <dc:date>2020-02-12T14:35:50Z</dc:date>
    <item>
      <title>PixelPerfect - Set Analysis with concatenated expression</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/PixelPerfect-Set-Analysis-with-concatenated-expression/m-p/1674867#M27901</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I got stuck with my formulars in NP. The formular should calculate the amount per seller per month and with a static entyr it works, for i.e. November:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;=if(num(date#(vDatumTS)) &amp;gt;num(date#('01.11.'&amp;amp;year(vDatumTS))), sum({&amp;lt;Datum={'&amp;gt;=01.11.2019&amp;lt;=30.11.2019'}&amp;gt;}[$(vQuelle).VKWert]), 0)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;As you can see, my set analysis is fixed on the year 2019. To get it dynamic, I tried to put a concatenated expression between the braces, but it wasn´t taken:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;sum({&amp;lt;Datum={'$('&amp;gt;=01.11.'&amp;amp;year(vDatumTS)&amp;amp;'&amp;lt;=30.11.'&amp;amp;year(vDatumTS))'}&amp;gt;}[$(vQuelle).VKWert])&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I tried many variations (with '$(', '$(=$(', " ",... ) and counted all the qoutation marks, but nothing worked. Maybe anyone has an idea how to get it right, without creating 12 variables in QS.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 14:35:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/PixelPerfect-Set-Analysis-with-concatenated-expression/m-p/1674867#M27901</guid>
      <dc:creator>Gerdinho22</dc:creator>
      <dc:date>2020-02-12T14:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: PixelPerfect - Set Analysis with concatenated expression</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/PixelPerfect-Set-Analysis-with-concatenated-expression/m-p/1675132#M27912</link>
      <description>&lt;P&gt;If find your expression very odd.&lt;/P&gt;&lt;P&gt;1. for date ranges or value ranges i would normally use double quotes&lt;/P&gt;&lt;P&gt;2. why are you trying to concatenate variables? can't you just use $sign expansion? like&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum({&amp;lt;Datum={"&amp;gt;=$(=Date(Floor(MonthStart(Datum)),'DD.MM.YYYY'))&amp;lt;=$(=Date(Floor(MonthEnd(Datum)),'DD.MM.YYYY'))"}&amp;gt;}[$(vQuelle).VKWert])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, you are not telling us what is the value of&amp;nbsp;vDatumTS. Have you tried to use it directly in Qlik Sense or QlikView? How those variable evaluate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Make sure your expression firs work with Qlik Sense and then you can try it in NPrinting. &lt;/SPAN&gt;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 05:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/PixelPerfect-Set-Analysis-with-concatenated-expression/m-p/1675132#M27912</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2020-02-13T05:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: PixelPerfect - Set Analysis with concatenated expression</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/PixelPerfect-Set-Analysis-with-concatenated-expression/m-p/1675241#M27915</link>
      <description>&lt;P&gt;Hi Lech,&lt;/P&gt;&lt;P&gt;vDatumTS is just a fix date-entry like "12.08.2019", that is used while we are switching our ERP-systems. Later it will be replaced by "today()" &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I´m testing the formulars every time in QS, to avoid the long loadingtime of every PP-File&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your approach was the right one and I was able to transform it successfully:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Datum={"&amp;gt;=$(='01.11.'&amp;amp;year(vDatumTS)&amp;amp;'&amp;lt;=$(='30.11.'&amp;amp;year(vDatumTS)))"}&amp;gt;}[$(vQuelle).VKWert])&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 10:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/PixelPerfect-Set-Analysis-with-concatenated-expression/m-p/1675241#M27915</guid>
      <dc:creator>Gerdinho22</dc:creator>
      <dc:date>2020-02-13T10:49:36Z</dc:date>
    </item>
  </channel>
</rss>

