<?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: working with dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/working-with-dates/m-p/986321#M336374</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Something like this may be - &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count(DISTINCT{&amp;lt;[SALESID]={'PV0***'},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;FirstOrder_month={'$(=Date(MonthStart(Date#(purgechar(CalendarMonthandYear,'t'),'MMM-YYYY')),'DD/MM/YYYY))'},&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Order_Number={'1'},ESTADO_PEDIDO=&amp;gt;} CUSTACCOUNT)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2015 14:30:44 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2015-10-15T14:30:44Z</dc:date>
    <item>
      <title>working with dates</title>
      <link>https://community.qlik.com/t5/QlikView/working-with-dates/m-p/986318#M336371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do a calculation and with a date condition, but as usual i have a format date problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(DISTINCT{&amp;lt;[SALESID]={'PV0***'},&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;FirstOrder_month=CalendarMonthandYear,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Order_Number={'1'},ESTADO_PEDIDO=&amp;gt;} CUSTACCOUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FirstOrder_month is formated DD/MM/YYY for example: 30/09/2015&lt;/P&gt;&lt;P&gt;CalendarMonthandYear is sept-2015 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help to me to equalize the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thank's guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduard&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 14:18:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/working-with-dates/m-p/986318#M336371</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2015-10-15T14:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: working with dates</title>
      <link>https://community.qlik.com/t5/QlikView/working-with-dates/m-p/986319#M336372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eduard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first of all, if your CalendarMonthandYear is a string field, you should transform it into a proper Date field, even if you want it to be formatted as "Sep-2015". I'm not sure you can make it look like "Sept-2015", because date format MMM returns a 3-character name, and MMMM returns the full month name, e.g. September.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you formatted the field as a date field, you can use the Advance Search syntax to overcome the difference in formatting. Something like this should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FirstOrder_month={"=MonthStart(&lt;SPAN style="color: #ff0000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FirstOrder_month)=MonthStart(CalendarMonthandYear)&lt;/SPAN&gt;"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out my new book QlikView Your Business - in it, I describe in detail how to work with Dates in Set Analysis, and how to use Advance Search for various purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=HEF4KYLLE22XIQH2"&gt;QlikView Your Business: An expert guide to Business Discovery with QlikView and Qlik Sense&lt;/A&gt;&lt;IMG alt="" border="0" height="1" src="http://ir-na.amazon-adsystem.com/e/ir?t=natursyner0f-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=1118949552" style="border: none !important; margin: 0px !important;" width="1" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 14:25:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/working-with-dates/m-p/986319#M336372</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-10-15T14:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: working with dates</title>
      <link>https://community.qlik.com/t5/QlikView/working-with-dates/m-p/986320#M336373</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 think this post may help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4002"&gt;The Date Function&lt;/A&gt;&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;João Duarte&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 14:25:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/working-with-dates/m-p/986320#M336373</guid>
      <dc:creator>jduarte12</dc:creator>
      <dc:date>2015-10-15T14:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: working with dates</title>
      <link>https://community.qlik.com/t5/QlikView/working-with-dates/m-p/986321#M336374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Something like this may be - &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count(DISTINCT{&amp;lt;[SALESID]={'PV0***'},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;FirstOrder_month={'$(=Date(MonthStart(Date#(purgechar(CalendarMonthandYear,'t'),'MMM-YYYY')),'DD/MM/YYYY))'},&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Order_Number={'1'},ESTADO_PEDIDO=&amp;gt;} CUSTACCOUNT)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 14:30:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/working-with-dates/m-p/986321#M336374</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2015-10-15T14:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: working with dates</title>
      <link>https://community.qlik.com/t5/QlikView/working-with-dates/m-p/986322#M336375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I explained wrong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count(DISTINCT{&amp;lt;[SALESID]={'PV0***'},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;FirstOrder_month=Monthend,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Order_Number={'1'},ESTADO_PEDIDO=&amp;gt;} CUSTACCOUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FirstOrder_month is formated DD/MM/YYY and monthend &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CalendarMonthandYear is YYY/MM/DD &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 16:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/working-with-dates/m-p/986322#M336375</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2015-10-15T16:08:46Z</dc:date>
    </item>
  </channel>
</rss>

