<?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: timerange in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/timerange-in-set-analysis/m-p/868695#M469323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would avoid the single-quotes and use double-quotes for the search-expression and would make sure that the formatting is identically like this from &lt;EM&gt;Timerange&lt;/EM&gt; then max() will return a numeric-format and date() will apply the default date-format which might not match like suggested from &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;sunindia&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;{1&amp;lt;Timerange&lt;/EM&gt; ={&lt;STRONG&gt;"&lt;/STRONG&gt;&amp;gt;=$(=Date(WeekStart(Max(&lt;EM&gt;Timerange&lt;/EM&gt;)), &lt;STRONG&gt;'YourFormat'&lt;/STRONG&gt;))&amp;lt;=$(=Date(Max(&lt;EM&gt;Timerange&lt;/EM&gt;)), &lt;STRONG&gt;'YourFormat'&lt;/STRONG&gt;)&lt;STRONG&gt;"&lt;/STRONG&gt;}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jul 2015 15:39:18 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-07-14T15:39:18Z</dc:date>
    <item>
      <title>timerange in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/timerange-in-set-analysis/m-p/868693#M469321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a Problem with a Set Analysis Term. I am trying to set at dynamic Timerange and its not properly working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;{1&amp;lt;Timerange&lt;/EM&gt; ={'&amp;gt;=$(=Date(WeekStart(Max(&lt;EM&gt;Timerange&lt;/EM&gt;))))&amp;lt;=$(=Date(Max(&lt;EM&gt;Timerange&lt;/EM&gt;)))'}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its working if I do a selection, but it doesn't any other way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anybody an idea where the problem is?&lt;/P&gt;&lt;P&gt;Thanks for your Help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 08:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/timerange-in-set-analysis/m-p/868693#M469321</guid>
      <dc:creator />
      <dc:date>2015-07-14T08:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: timerange in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/timerange-in-set-analysis/m-p/868694#M469322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure why the above is not working, can you try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;{1&amp;lt;Timerange&lt;/STRONG&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; ={"$(='&amp;gt;=' &amp;amp; Date(WeekStart(Max(&lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Timerange&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;))) &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(&lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Timerange&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;)))"}&amp;gt;}&lt;/STRONG&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;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I would make sure that I get the same format for this expression: &lt;STRONG style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;='&amp;gt;=' &amp;amp; Date(WeekStart(Max(&lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Timerange&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;))) &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(&lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Timerange&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;))&lt;/STRONG&gt; in a text box as Timerange.&lt;/SPAN&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;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;HTH&lt;/SPAN&gt;&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;Best,&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;Sunny&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 15:23:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/timerange-in-set-analysis/m-p/868694#M469322</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-14T15:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: timerange in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/timerange-in-set-analysis/m-p/868695#M469323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would avoid the single-quotes and use double-quotes for the search-expression and would make sure that the formatting is identically like this from &lt;EM&gt;Timerange&lt;/EM&gt; then max() will return a numeric-format and date() will apply the default date-format which might not match like suggested from &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;sunindia&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;{1&amp;lt;Timerange&lt;/EM&gt; ={&lt;STRONG&gt;"&lt;/STRONG&gt;&amp;gt;=$(=Date(WeekStart(Max(&lt;EM&gt;Timerange&lt;/EM&gt;)), &lt;STRONG&gt;'YourFormat'&lt;/STRONG&gt;))&amp;lt;=$(=Date(Max(&lt;EM&gt;Timerange&lt;/EM&gt;)), &lt;STRONG&gt;'YourFormat'&lt;/STRONG&gt;)&lt;STRONG&gt;"&lt;/STRONG&gt;}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 15:39:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/timerange-in-set-analysis/m-p/868695#M469323</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-07-14T15:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: timerange in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/timerange-in-set-analysis/m-p/868696#M469324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried both options (yours and sunnys) with the same result I've got.&lt;/P&gt;&lt;P&gt;The results of the single parts work very well in the textboxes. It's the combination that drives me crazy &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;Perhaps it helps if I give you the whole function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({1&amp;lt;&lt;EM&gt;[Parameter1]&lt;/EM&gt;={'A'},[&lt;EM&gt;Parameter2]&lt;/EM&gt;={'B'},&lt;EM&gt;Timerang&lt;/EM&gt;e={"&amp;gt;=$(=Date(WeekStart(Max(&lt;EM&gt;Timerange&lt;/EM&gt;)),'DD.MM.YYYY'))&amp;lt;=$(=Date(Max(&lt;EM&gt;Timerange&lt;/EM&gt;)),'DD.MM.YYYY')"}&amp;gt;} &lt;EM&gt;[Value]&lt;/EM&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select at least &lt;EM&gt;Parameter1&lt;/EM&gt; or &lt;EM&gt;Timerange&lt;/EM&gt; I receive the correct Sum of &lt;EM&gt;Value. &lt;/EM&gt;(even if I select the wrong Parameter1).&lt;/P&gt;&lt;P&gt;Sometimes I'm going Nuts with Set Analysis...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Roman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 16:07:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/timerange-in-set-analysis/m-p/868696#M469324</guid>
      <dc:creator />
      <dc:date>2015-07-14T16:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: timerange in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/timerange-in-set-analysis/m-p/868697#M469325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share your application or a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 16:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/timerange-in-set-analysis/m-p/868697#M469325</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-14T16:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: timerange in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/timerange-in-set-analysis/m-p/868698#M469326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds that the associations between those data within the datamodel isn't suitable - probably you have some kind of snowflake-sheme maybe with linktables which could cause these problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 07:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/timerange-in-set-analysis/m-p/868698#M469326</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-07-15T07:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: timerange in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/timerange-in-set-analysis/m-p/868699#M469327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The app is kind of big and complex. I'll try to extract a sample from it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 07:59:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/timerange-in-set-analysis/m-p/868699#M469327</guid>
      <dc:creator />
      <dc:date>2015-07-15T07:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: timerange in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/timerange-in-set-analysis/m-p/868700#M469328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That may be the case. That would at least mean, that I have not been tricked by Set Analysis this time.&lt;/P&gt;&lt;P&gt;I will dive into my datamodel. Thanks for the suggestions. I'll keep you in touch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Roman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 08:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/timerange-in-set-analysis/m-p/868700#M469328</guid>
      <dc:creator />
      <dc:date>2015-07-15T08:03:13Z</dc:date>
    </item>
  </channel>
</rss>

