<?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: Show date not count with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-date-not-count-with-set-analysis/m-p/787022#M660657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure what you mean as this will not display the date will it?.&amp;nbsp; I have provided a view of what I want it to look like....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="image2.jpg" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81845_image2.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2015 10:23:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-25T10:23:57Z</dc:date>
    <item>
      <title>Show date not count with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-not-count-with-set-analysis/m-p/787020#M660655</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;I have created a table which shows a column how many DNA appointments there were in the last 7 days and a column which shows how many DNA appintments in the last 12 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG __jive_id="81838" alt="image1.jpg" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81838_image1.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way I can show the date instead of the count of appointments for the last 7 days column.&amp;nbsp; See script below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[attendance description]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'DNA'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[appointment_date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=date(today()-7)) &amp;lt;=$(=date(today()-1))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;appointment_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&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: 8pt;"&gt;Any thoughts?&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: 8pt;"&gt;Phil&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 09:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-not-count-with-set-analysis/m-p/787020#M660655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-25T09:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Show date not count with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-not-count-with-set-analysis/m-p/787021#M660656</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;you could try replacing that COUNT(DISTINCT) with the ONLY function - that is another aggregation fct., since you need one of those to be able to use set_analysis, of course - but that will only work if there is only one value to display. Otherwise it will return NULL.&lt;/P&gt;&lt;P&gt;Look it up in the help_file.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 10:16:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-not-count-with-set-analysis/m-p/787021#M660656</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-03-25T10:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Show date not count with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-not-count-with-set-analysis/m-p/787022#M660657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure what you mean as this will not display the date will it?.&amp;nbsp; I have provided a view of what I want it to look like....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="image2.jpg" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81845_image2.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 10:23:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-not-count-with-set-analysis/m-p/787022#M660657</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-25T10:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Show date not count with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-not-count-with-set-analysis/m-p/787023#M660658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Concat({&amp;lt;appointment_date = {"&amp;gt;=$(=Date(Today()-7))&amp;lt;=$(=Date(Today()-1))"}&amp;gt;}appointment_date,', ')&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;=CONCAT(Date(ValueLoop(Today()-7,Today(),1)),', ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to show values for last 7 appointment_date, you can use as below as calculated dimension&lt;/P&gt;&lt;P&gt;=IF(appointment_date &amp;lt;= Date(Today()-1) and appointment_date &amp;gt;= Date(Today()-7), appointment_date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to tick Suppress When Value is Null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 10:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-not-count-with-set-analysis/m-p/787023#M660658</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-03-25T10:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Show date not count with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-not-count-with-set-analysis/m-p/787024#M660659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So close to the correct solution, but this shows the date of all appointments within the last 7 days, not just the DNA appt's.&amp;nbsp; I have tried this, but it's still shows all appointments (not just DNAs).&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;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DNA Appts (in last 7 Days)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;Concat({&amp;lt;appointment_date = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=Date(Today()-7))&amp;lt;=$(=Date(Today()-1))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}appointment_date,', ')&lt;BR /&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;Any other thoughts?&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: 8pt;"&gt;Phil&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 10:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-not-count-with-set-analysis/m-p/787024#M660659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-25T10:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Show date not count with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-not-count-with-set-analysis/m-p/787025#M660660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any flag in your script for DNA appointment?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 11:01:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-not-count-with-set-analysis/m-p/787025#M660660</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-03-25T11:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Show date not count with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-not-count-with-set-analysis/m-p/787026#M660661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sooo nearly cracked it.&amp;nbsp; I have used the below, but there is one row which has 2 dates on it and I can't understand why as there is only 1 DNA appt in the last 7 days for all?&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;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DNA Appts (in last 7 Days)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Concat({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[attendance description]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'DNA'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[appointment_date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=date(today()-7)) &amp;lt;=$(=date(today()-1))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} appointment_date,', '))&lt;BR /&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="image4.jpg" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81847_image4.jpg" style="width: 620px; height: 192px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 11:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-not-count-with-set-analysis/m-p/787026#M660661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-25T11:07:16Z</dc:date>
    </item>
  </channel>
</rss>

