<?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: dt in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/dt/m-p/1377620#M806911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please share some sample file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or try like this in your back end &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;date(floor(timestamp#(date,'DD/MM/YYYY hh:mm:ss'))) as Date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier;"&gt;Year(date(floor(timestamp#(date,'DD/MM/YYYY hh:mm:ss')))) as Year&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Oct 2017 13:44:44 GMT</pubDate>
    <dc:creator>prma7799</dc:creator>
    <dc:date>2017-10-30T13:44:44Z</dc:date>
    <item>
      <title>dt</title>
      <link>https://community.qlik.com/t5/QlikView/dt/m-p/1377614#M806901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a date filed as Date which has data from 2001 to till date ..&lt;/P&gt;&lt;P&gt;this field iam using it in the Dimesnion .&lt;/P&gt;&lt;P&gt;I want to show only 2 years data like ( from jan-2015 , Feb-2015.....till date )&lt;/P&gt;&lt;P&gt;How should i achieve this . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dt/m-p/1377614#M806901</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: dt</title>
      <link>https://community.qlik.com/t5/QlikView/dt/m-p/1377615#M806902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is data format in this field and you need this in load script or UI let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 13:23:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dt/m-p/1377615#M806902</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-30T13:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: dt</title>
      <link>https://community.qlik.com/t5/QlikView/dt/m-p/1377616#M806903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(Match(Year(Date),2015,2016),Year,Null())&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and tick suppress when value null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 13:30:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dt/m-p/1377616#M806903</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2017-10-30T13:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: dt</title>
      <link>https://community.qlik.com/t5/QlikView/dt/m-p/1377617#M806904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand &lt;/P&gt;&lt;P&gt;The date format is &lt;/P&gt;&lt;P&gt;01-01-2017 00:12:22&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 13:30:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dt/m-p/1377617#M806904</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2017-10-30T13:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: dt</title>
      <link>https://community.qlik.com/t5/QlikView/dt/m-p/1377618#M806905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For which two year data you need last 2 years or it is hardcoded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 13:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dt/m-p/1377618#M806905</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-30T13:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: dt</title>
      <link>https://community.qlik.com/t5/QlikView/dt/m-p/1377619#M806906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my date format is &lt;IMG alt="date.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181485_date.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 13:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dt/m-p/1377619#M806906</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2017-10-30T13:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: dt</title>
      <link>https://community.qlik.com/t5/QlikView/dt/m-p/1377620#M806911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please share some sample file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or try like this in your back end &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;date(floor(timestamp#(date,'DD/MM/YYYY hh:mm:ss'))) as Date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier;"&gt;Year(date(floor(timestamp#(date,'DD/MM/YYYY hh:mm:ss')))) as Year&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 13:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dt/m-p/1377620#M806911</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2017-10-30T13:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: dt</title>
      <link>https://community.qlik.com/t5/QlikView/dt/m-p/1377621#M806914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to show this like this &lt;IMG alt="dt1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181486_dt1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 13:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dt/m-p/1377621#M806914</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2017-10-30T13:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: dt</title>
      <link>https://community.qlik.com/t5/QlikView/dt/m-p/1377622#M806916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi john,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want to start by Creating a master calendar. this will allow you then create a month year field to display as you have requested. look at the link below.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/48693"&gt;Creating A Master Calendar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Dimension would be MonthYear and then in your set analysis would contain {&amp;lt;Year={'&amp;gt;2014'}&amp;gt;}.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 13:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dt/m-p/1377622#M806916</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2017-10-30T13:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: dt</title>
      <link>https://community.qlik.com/t5/QlikView/dt/m-p/1377623#M806918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For this use this Dimension and Metrics expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim :- =MonthName(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expre:- =sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date&lt;/SPAN&gt;={"&amp;gt;=$(=Date(AddMonths(Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date&lt;/SPAN&gt;)-24)))"} &amp;gt;}&amp;nbsp;&amp;nbsp; MetricsField)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:- &lt;SPAN style="font-size: 13.3333px;"&gt;=Sum( {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;={"&amp;gt;=$(=Date(AddMonths(Max(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)-24)))"} &amp;gt;}&amp;nbsp;&amp;nbsp; Sales )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 13:51:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dt/m-p/1377623#M806918</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-30T13:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: dt</title>
      <link>https://community.qlik.com/t5/QlikView/dt/m-p/1377624#M806920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ANand please find the attachment of the QVW file ..&lt;/P&gt;&lt;P&gt;In dmesions i want to show from today till 2 years back data in the bar chart ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 13:53:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dt/m-p/1377624#M806920</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2017-10-30T13:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: dt</title>
      <link>https://community.qlik.com/t5/QlikView/dt/m-p/1377625#M806921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this then, also wait for SET analysis solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 14:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dt/m-p/1377625#M806921</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-30T14:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: dt</title>
      <link>https://community.qlik.com/t5/QlikView/dt/m-p/1377626#M806922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Anand &lt;/P&gt;&lt;P&gt;If i go in 2018 then again manaully i have change this ..&lt;/P&gt;&lt;P&gt;Is there no default solution for this ..&lt;/P&gt;&lt;P&gt;Where from current year it should shwo me last two year range &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 14:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dt/m-p/1377626#M806922</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2017-10-30T14:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: dt</title>
      <link>https://community.qlik.com/t5/QlikView/dt/m-p/1377627#M806923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For dynamically though you have to create variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vCurrYr =Year(Max(Created))&lt;/P&gt;&lt;P&gt;vPrevYr=Year(AddMonths( Max(Created),-12))&lt;/P&gt;&lt;P&gt;vPrevPrevYr=Year(AddMonths( Max(Created),-24))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then &lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dim :- =If(match(Right(monthname(Created),4),$(vPrevYr),$(vPrePrevYr)),MonthName(Created))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Expre:- Sum(1)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 14:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dt/m-p/1377627#M806923</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-30T14:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: dt</title>
      <link>https://community.qlik.com/t5/QlikView/dt/m-p/1377628#M806924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or another way is you can use the Year field but you have to add this field on your data model&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Created,&lt;/P&gt;&lt;P&gt;Year(Created) as CreatedYear&lt;/P&gt;&lt;P&gt;From ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim:-&amp;nbsp; Year&lt;/P&gt;&lt;P&gt;Expre&amp;nbsp; =Sum({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;CreatedYear&lt;/SPAN&gt;={"&amp;gt;=$(=Max(&lt;SPAN style="font-size: 13.3333px;"&gt;CreatedYear&lt;/SPAN&gt;)-2)"}&amp;gt;}1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 14:33:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dt/m-p/1377628#M806924</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-30T14:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: dt</title>
      <link>https://community.qlik.com/t5/QlikView/dt/m-p/1377629#M806925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anand &lt;/P&gt;&lt;P&gt;I have created the variables,&lt;/P&gt;&lt;P&gt;And when i add this expression ( logic ) in the dimesnion its showing error in the dimension &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(match(Right(monthname(Created),4),$(vPrevYr),$(vPrePrevYr)),MonthName(Created))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam doing something wrong ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 02:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dt/m-p/1377629#M806925</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2017-10-31T02:51:41Z</dc:date>
    </item>
  </channel>
</rss>

