<?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 Qlik Sense set analysis with date variable less than or equal to in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-with-date-variable-less-than-or-equal-to/m-p/813263#M11241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a set analysis calculates for a given period, it works fine when dates are hard coded but when I try to use variables I mess things up. I have tried many different things and read many threads here but I simply cannot not solve this. This is the set analysis &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;SaleDate={'2015-03-01'},RegDate={'&amp;lt;=2015-03-26'}&amp;gt;}SalesAmount) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variables look like this&lt;/P&gt;&lt;P&gt;LET v_YesterDay = Date(Today()-1,'YYYY-MM-DD');&lt;/P&gt;&lt;P&gt;LET v_MonthStart = monthstart(Today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am trying to use the variables in the set analysis instead of the hard coded dates. I just cant understand why I cant make it work. &lt;/P&gt;&lt;P&gt;All hints are greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Birkir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Mar 2015 14:58:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-28T14:58:51Z</dc:date>
    <item>
      <title>Qlik Sense set analysis with date variable less than or equal to</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-with-date-variable-less-than-or-equal-to/m-p/813263#M11241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a set analysis calculates for a given period, it works fine when dates are hard coded but when I try to use variables I mess things up. I have tried many different things and read many threads here but I simply cannot not solve this. This is the set analysis &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;SaleDate={'2015-03-01'},RegDate={'&amp;lt;=2015-03-26'}&amp;gt;}SalesAmount) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variables look like this&lt;/P&gt;&lt;P&gt;LET v_YesterDay = Date(Today()-1,'YYYY-MM-DD');&lt;/P&gt;&lt;P&gt;LET v_MonthStart = monthstart(Today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am trying to use the variables in the set analysis instead of the hard coded dates. I just cant understand why I cant make it work. &lt;/P&gt;&lt;P&gt;All hints are greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Birkir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 14:58:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-with-date-variable-less-than-or-equal-to/m-p/813263#M11241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-28T14:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense set analysis with date variable less than or equal to</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-with-date-variable-less-than-or-equal-to/m-p/813264#M11242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like the hardcoded expression, the set analysis is expecting a string representation of the date in the same format as the field. Create a straight table with the expression, but leave out any label The heading should display how the variables are evaluated. My guess is that the monthstart is not in the correct format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 15:10:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-with-date-variable-less-than-or-equal-to/m-p/813264#M11242</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-03-28T15:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense set analysis with date variable less than or equal to</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-with-date-variable-less-than-or-equal-to/m-p/813265#M11243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Piet, thank you for your comment. I am also a bit pulsed on how to insert&amp;nbsp; the variable into the expression. Specially with the &amp;lt;= signs.&amp;nbsp; I am working in Qlik Sense, I cannot see the header you speak of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Birkir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 15:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-with-date-variable-less-than-or-equal-to/m-p/813265#M11243</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-28T15:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense set analysis with date variable less than or equal to</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-with-date-variable-less-than-or-equal-to/m-p/813266#M11244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be honest, I don't have experience in QlikSense, the set analysis should be the same though. With variables the expression should look like&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({$&amp;lt;SaleDate={'$(=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;v_MonthStart)&lt;/SPAN&gt;'},RegDate={'&amp;lt;=$(=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;v_YesterDay)&lt;/SPAN&gt;'}&amp;gt;}SalesAmount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regarding the header, is there no pivot and/or straight table chart with headers that display the label of the expression, and if not present display the expression instead in Qlik Sense?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 15:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-with-date-variable-less-than-or-equal-to/m-p/813266#M11244</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-03-28T15:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense set analysis with date variable less than or equal to</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-with-date-variable-less-than-or-equal-to/m-p/813267#M11245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Piet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much this worked like I was planning. Thanks again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a table and newly added pivot table, but I could not get this header thing going. Maybe it is different from Qlikview. My next step was to test this in Qlikview:D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Birkir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 19:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-with-date-variable-less-than-or-equal-to/m-p/813267#M11245</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-28T19:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense set analysis with date variable less than or equal to</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-with-date-variable-less-than-or-equal-to/m-p/813268#M11246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 20:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-with-date-variable-less-than-or-equal-to/m-p/813268#M11246</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-03-28T20:09:37Z</dc:date>
    </item>
  </channel>
</rss>

