<?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: Date functions in set expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-functions-in-set-expression/m-p/1123475#M19474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&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;STRONG&gt;Sum({&amp;lt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;date = {"$(='&amp;gt;' &amp;amp; Date(WeekStart(Today(), -1), 'YYYY-MM-DD'))"}&amp;gt;} sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also read here about &lt;A href="https://community.qlik.com/qlik-blogpost/4394"&gt;Dates in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Aug 2016 12:12:41 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-08-17T12:12:41Z</dc:date>
    <item>
      <title>Date functions in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-functions-in-set-expression/m-p/1123473#M19472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I want to have a table which constantly shows recent sales, regardless of current selection. Currently I'm a bit lost at why these two below don't yield same results?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(If(&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;date &amp;gt; '2016-08-08', sales))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; works fine&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt; date = {"&amp;gt; '2016-08-08'"}&amp;gt;} sales)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gives zero as the result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And next question would be how to use functions in set expression. Ideally I'd want to have something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum({1&amp;lt; date = {"&amp;gt; Date(Interval(Today() - 7, 'D'))"}&amp;gt;} sales)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;but that gives zero as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-functions-in-set-expression/m-p/1123473#M19472</guid>
      <dc:creator />
      <dc:date>2024-11-16T10:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Date functions in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-functions-in-set-expression/m-p/1123474#M19473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MIkko,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your date format is not right, Please check your date format with which you are matching as mine is working fine:&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; date = {"&amp;gt; '2016-08-08'"}&amp;gt;} sales)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If your question is now answered, Please flag the Correct Answer (via the big "Correct Answer" button near every post).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 12:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-functions-in-set-expression/m-p/1123474#M19473</guid>
      <dc:creator />
      <dc:date>2016-08-17T12:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Date functions in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-functions-in-set-expression/m-p/1123475#M19474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&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;STRONG&gt;Sum({&amp;lt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;date = {"$(='&amp;gt;' &amp;amp; Date(WeekStart(Today(), -1), 'YYYY-MM-DD'))"}&amp;gt;} sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also read here about &lt;A href="https://community.qlik.com/qlik-blogpost/4394"&gt;Dates in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 12:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-functions-in-set-expression/m-p/1123475#M19474</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-17T12:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Date functions in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-functions-in-set-expression/m-p/1123476#M19475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;date = {"$(='&amp;gt;' &amp;amp; Date(WeekStart(Today(), -1), 'YYYY-MM-DD'))"}&amp;gt;} sales)&lt;/SPAN&gt;&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="font-size: 13.3333px;"&gt;That worked, thanks Sunny!&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Rohit: Thanks for checking that out. I have these in Data load editor&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;SET TimeFormat='h:mm:ss TT';&lt;/P&gt;&lt;P&gt;SET DateFormat='YYYY-MM-DD';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='YYYY-MM-DD h:mm:ss[.fff] TT';&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;so I would assume it should compare those dates correctly?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;An arbitraty date with &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sum({$&amp;lt; date = {"$(='&amp;gt;' &amp;amp; Date('2016-08-08', YYYY-MM-DD))"}&amp;gt;} sales)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;works though, so the problem definitely is somewhere within the date formating.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 13:16:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-functions-in-set-expression/m-p/1123476#M19475</guid>
      <dc:creator />
      <dc:date>2016-08-17T13:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date functions in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-functions-in-set-expression/m-p/1123477#M19476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you got what you wanted, I would request you to close this thread by marking the correct responses and any helpful responses.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 20:17:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-functions-in-set-expression/m-p/1123477#M19476</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-17T20:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Date functions in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-functions-in-set-expression/m-p/1123478#M19477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134815_Capture.PNG" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Actually I have only Qlik View Server License not &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Publisher license&lt;/SPAN&gt;, Can I do this activity with this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;I was looking at Qlik View sample application and there is a chart layout (Object Container )like there are three buttons(Cycle, Drill, Details by Year), Every Button linked with a different chart(Can be line or bar chart). you just need to click on any of the buttons,linked chart will appear on the basis of linking,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Same type of layout works with Variable Extension in Qlik Sense but Problem here is you can link field with the variable button not any chart, Can you please help me , How to create Qlik View Object Container in Qlik Sense&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;There is one more requirement, I have a field where URLs are coming with every record , When I view that column in Qlik view , I can click on that URL and it will open in default browser, Expression behind that column is&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt; &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;'&amp;lt;url&amp;gt;www.qlikview.com'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Same I want to achieve in Qlik Sense but &amp;lt;URL&amp;gt; key word is not working. Can you help me to know how to display URL in any column ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 04:27:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-functions-in-set-expression/m-p/1123478#M19477</guid>
      <dc:creator />
      <dc:date>2016-08-18T04:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Date functions in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-functions-in-set-expression/m-p/1123479#M19478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many Thanks Sunny T...this post of yours came in handy/helped solve a date related issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 23:12:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-functions-in-set-expression/m-p/1123479#M19478</guid>
      <dc:creator>Rkota</dc:creator>
      <dc:date>2016-12-01T23:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Date functions in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-functions-in-set-expression/m-p/1123480#M19479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome!! I am glad it did &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 10:17:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-functions-in-set-expression/m-p/1123480#M19479</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-02T10:17:14Z</dc:date>
    </item>
  </channel>
</rss>

