<?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 date dimension showing only today in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276234#M103053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hey John, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx for the extra explanation!&lt;/P&gt;&lt;P&gt;set analysis should work faster then?&lt;/P&gt;&lt;P&gt;and then i get to use the [voorziene_leveringsdatum] as a normal dimension then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i should look up the semantic for this set analysis, because with all the symbols its not very clear to me.&lt;/P&gt;&lt;P&gt;and with this set analysis i can also take multiple restrictions into consideration?&lt;/P&gt;&lt;P&gt;for example the dates between today and&amp;nbsp; + 10 and exclude for example values "saterday" and "sunday" in a "dayname"-field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grtz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jul 2011 23:58:19 GMT</pubDate>
    <dc:creator>chriscools</dc:creator>
    <dc:date>2011-07-12T23:58:19Z</dc:date>
    <item>
      <title>date dimension showing only today</title>
      <link>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276225#M103044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a pivot table where date is the dimension and several calculated fields behind it.&lt;/P&gt;&lt;P&gt;i want to show this pivot table completely on one page, but on another page, i want to&amp;nbsp; show the same pivot table, but allways only the values of today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think this means that i have to include a "calculated dimension" instead of my normal "date" dimension.&lt;/P&gt;&lt;P&gt;i tried with :&lt;/P&gt;&lt;P&gt;date = date() or date = today&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is my syntax wrong?&lt;/P&gt;&lt;P&gt;or is my whole approach wrong?&lt;/P&gt;&lt;P&gt;Can anyone help me with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chris &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 21:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276225#M103044</guid>
      <dc:creator>chriscools</dc:creator>
      <dc:date>2011-07-12T21:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: date dimension showing only today</title>
      <link>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276226#M103045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As You wrote You have to make Your calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my very simple example I've done it like this: =aggr(if(FieldA = today(), FieldA), ID)&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have only 2 columns ID and FieldA with the Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution can also depend on Your date format and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wojciechg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 22:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276226#M103045</guid>
      <dc:creator />
      <dc:date>2011-07-12T22:06:42Z</dc:date>
    </item>
    <item>
      <title>date dimension showing only today</title>
      <link>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276227#M103046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i can't make it work:&lt;/P&gt;&lt;P&gt;i have this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; ( &lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; ( &lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;[VOORZIENE_LEVERINGSDATUM]&lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; = &lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;Today&lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;() , &lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;[VOORZIENE_LEVERINGSDATUM]&lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;and it says that there is an error in the expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;i can't open your example, because i'm working with the free test version... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 22:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276227#M103046</guid>
      <dc:creator>chriscools</dc:creator>
      <dc:date>2011-07-12T22:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: date dimension showing only today</title>
      <link>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276228#M103047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=aggr(if([VOORZIENE_LEVERINGSDATUM]=today(),[VOORZIENE_LEVERINGSDATUM])&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG style="color: #ff0000;"&gt;,[VOORZIENE_LEVERINGSDATUM]&lt;/STRONG&gt;&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you don't need an aggregation function, I don't think you need the aggr().&amp;nbsp; So maybe this if I'm right:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=if([VOORZIENE_LEVERINGSDATUM]=today(),[VOORZIENE_LEVERINGSDATUM])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 22:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276228#M103047</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-07-12T22:25:50Z</dc:date>
    </item>
    <item>
      <title>date dimension showing only today</title>
      <link>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276229#M103048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically after this if function, after comma You have to point on which diemension You're agregating.&lt;/P&gt;&lt;P&gt;In my example from file I had data:&lt;/P&gt;&lt;P&gt;FieldA:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID:&lt;/P&gt;&lt;P&gt;2011-07-01&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;2011-07-02&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;2011-07-03&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;And I done the agregation like in my @ above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In You example the dimension is missing. Unfortunetaly I do not have You file, but please try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; ( &lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; ( &lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;[VOORZIENE_LEVERINGSDATUM]&lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; = &lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;Today&lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;() , &lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;[VOORZIENE_LEVERINGSDATUM]&lt;/SPAN&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;)&lt;STRONG&gt;, &lt;SPAN lang="NL-BE" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;[VOORZIENE_LEVERINGSDATUM]&lt;/SPAN&gt;&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="NL-BE" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;hope that helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wojciechg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 22:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276229#M103048</guid>
      <dc:creator />
      <dc:date>2011-07-12T22:32:44Z</dc:date>
    </item>
    <item>
      <title>date dimension showing only today</title>
      <link>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276230#M103049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you all very much!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for some reason the aggr function does not work, i allways get an error then.&lt;/P&gt;&lt;P&gt;but the&amp;nbsp; "&lt;SPAN style="font-family: courier new,courier;"&gt;=if([VOORZIENE_LEVERINGSDATUM]=today(),[VOORZIENE_LEVERINGSDATUM])" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;how should i proceed if i want to show not only today but every day between today and the next 10 days?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;grtz&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 22:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276230#M103049</guid>
      <dc:creator>chriscools</dc:creator>
      <dc:date>2011-07-12T22:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: date dimension showing only today</title>
      <link>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276231#M103050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dates are internally represented as the number of days since December 30 1899, so you add days by just adding an integer.&amp;nbsp; So then you can check a range something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;if( [VOORZIENE_LEVERINGSDATUM]&amp;gt;=today()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AND [VOORZIENE_LEVERINGSDATUM]&amp;lt;=today()+10 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; ,[VOORZIENE_LEVERINGSDATUM])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 23:28:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276231#M103050</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-07-12T23:28:57Z</dc:date>
    </item>
    <item>
      <title>date dimension showing only today</title>
      <link>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276232#M103051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grtz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 23:36:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276232#M103051</guid>
      <dc:creator>chriscools</dc:creator>
      <dc:date>2011-07-12T23:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: date dimension showing only today</title>
      <link>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276233#M103052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should probably mention that if you have a lot of data, I would expect this calculated dimension approach to perform poorly.&amp;nbsp; A better choice in that case might be to limit the values using set analysis and just use VOORZIENE_LEVERINGSDATUM as the dimension.&amp;nbsp; Set analysis is applied to expressions instead of dimensions.&amp;nbsp; So let's say your pivot table has these expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum(Revenue)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum(Cost)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set analysis is applied separately to each, so you'd need to use the same set analysis expression in each.&amp;nbsp; I think this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum({&amp;lt;[VOORZIENE_LEVERINGSDATUM]*={"&amp;gt;=$(=today())&amp;lt;=$(=date(today()+10))"}&amp;gt;} Revenue)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum({&amp;lt;[VOORZIENE_LEVERINGSDATUM]*={"&amp;gt;=$(=today())&amp;lt;=$(=date(today()+10))"}&amp;gt;} Cost)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;While you're not specifically restricting the &lt;EM&gt;dimension&lt;/EM&gt; this way, the set analysis makes certain that you calculate nulls for dates that you aren't interested in.&amp;nbsp; They are then suppressed automatically.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 23:49:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276233#M103052</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-07-12T23:49:10Z</dc:date>
    </item>
    <item>
      <title>date dimension showing only today</title>
      <link>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276234#M103053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hey John, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx for the extra explanation!&lt;/P&gt;&lt;P&gt;set analysis should work faster then?&lt;/P&gt;&lt;P&gt;and then i get to use the [voorziene_leveringsdatum] as a normal dimension then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i should look up the semantic for this set analysis, because with all the symbols its not very clear to me.&lt;/P&gt;&lt;P&gt;and with this set analysis i can also take multiple restrictions into consideration?&lt;/P&gt;&lt;P&gt;for example the dates between today and&amp;nbsp; + 10 and exclude for example values "saterday" and "sunday" in a "dayname"-field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grtz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 23:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276234#M103053</guid>
      <dc:creator>chriscools</dc:creator>
      <dc:date>2011-07-12T23:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: date dimension showing only today</title>
      <link>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276235#M103054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you would then get to use VOORZIENE_LEVERINGSDATUM as a normal dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a large data set, I would expect set analysis to work faster.&amp;nbsp; I MAY be wrong, and it is always worth testing if you see performance problems.&amp;nbsp; Basically, performance differs from version to version, and differs depending on your data model and chart, so it's difficult to say for certain that one approach is better than another for any specific case.&amp;nbsp; All that said, set analysis seems to win the majority of speed contests.&amp;nbsp; It's also very flexible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, as you've noticed, the syntax for set analysis is pretty dense.&amp;nbsp; But yes, you can take multiple restrictions into consideration.&amp;nbsp; So for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum({&amp;lt;[VOORZIENE_LEVERINGSDATUM]*={"&amp;gt;=$(=today())&amp;lt;=$(=date(today()+10))"}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,dayname-={'saterday','sunday'}&amp;gt;} Revenue)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 00:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276235#M103054</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-07-13T00:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: date dimension showing only today</title>
      <link>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276236#M103055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm, the FASTEST approach in a case like this would probably be to identify the days of interest during the load itself, specifically the load of a calendar table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,if([VOORZIENE_LEVERINGSDATUM]&amp;gt;=today()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AND [VOORZIENE_LEVERINGSDATUM]&amp;lt;=today()+10 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AND NOT match(dayname,'saterday','sunday')&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; ,[VOORZIENE_LEVERINGSDATUM]) as "Only Display These Dates"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use "Only Display These Dates" as the dimension in your chart (obviously change the name to something that makes more sense).&amp;nbsp; That's what I would probably personally do.&amp;nbsp; That might also be more clear than set analysis.&amp;nbsp; I tend to prefer script solutions like this to set analysis solutions as long as I am not doing any accumulations in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order of decreasing performance in my experience:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Script&lt;/LI&gt;&lt;LI&gt;Set analysis&lt;/LI&gt;&lt;LI&gt;Conditional aggregation like sum(if(...))&lt;/LI&gt;&lt;LI&gt;Calculated dimensions&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 00:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-dimension-showing-only-today/m-p/276236#M103055</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-07-13T00:19:39Z</dc:date>
    </item>
  </channel>
</rss>

