<?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 Previous Transaction Date Data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344389#M576783</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;Can u attach any sample data file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shivaram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2012 14:19:04 GMT</pubDate>
    <dc:creator>spsrk_84</dc:creator>
    <dc:date>2012-05-09T14:19:04Z</dc:date>
    <item>
      <title>Previous Transaction Date Data</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344388#M576782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a bar chart which would show a variance of target vs last day, in it i am facing a problem to get balance of previous transactional date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scenario is if i am standing on 3 january 2012, showing me some balance and 2 and 1 januray were holidays so they did not have any balance, so i should be having the balance of 31 december 2011 as it has the balance data, but i dont know the experssion for how to get the balance of 31 december 2011. The expression should get the previous date data and previous date could be any previous date having balance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need urgent help on this matter.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 13:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344388#M576782</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-09T13:54:23Z</dc:date>
    </item>
    <item>
      <title>Previous Transaction Date Data</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344389#M576783</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;Can u attach any sample data file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shivaram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 14:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344389#M576783</guid>
      <dc:creator>spsrk_84</dc:creator>
      <dc:date>2012-05-09T14:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Transaction Date Data</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344390#M576784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;attached please find a sample file I have created for previous date selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could see 2 text objects, 1 at center is for calculating max dates and the second below is calculating the previous date. so if I choose 3 Jan 2011, than this text object would show me the previous date which is 31 DEC 2010. if I choose 1 Feb 2011, the text object would show me 3 Jan 2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Urgent help would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 05:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344390#M576784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-10T05:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Transaction Date Data</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344391#M576785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hi Ahmed,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;There are various methods to get this working. However, this is the most straight forward logic to get this working. Here is what you need :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;=MaxString({&amp;lt;WODate = {"&amp;lt;$(&lt;SPAN style="color: #800080;"&gt;=Date(MaxString(WODate), 'MM/DD/YYYY'))&lt;/SPAN&gt;"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;Explanation : &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Step 1 : &lt;SPAN style="color: #800080;"&gt;&lt;STRONG&gt;Date(MaxString(WODate), 'MM/DD/YYYY')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;This expression calculates Max Date from WoDate field and formats it by using Date() function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Step 2 : &lt;SPAN style="color: #000080;"&gt;&lt;STRONG&gt;MaxString({&amp;lt;WODate = {"&amp;lt;$(&lt;SPAN style="color: #800080;"&gt;=Date(MaxString(WODate), 'MM/DD/YYYY'))&lt;/SPAN&gt;"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;This expression calculates Max Date less than the Date from Step 1. Which means previous Date in your example. And then we are extracting the Max sales value as final output.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I hope this makes sense!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Good luck!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers - DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;A href="http://QlikShare.Com"&gt;http://QlikShare.Com&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 09:42:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344391#M576785</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-05-10T09:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Transaction Date Data</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344392#M576786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hi Ahmed,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I thought I'll simplify this expression and I have used FirstSortedValue() to simply. This is much simplier and reliable approach compared to first method. Here is the expression and I'm also attaching the QV document for your reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;FirstSortedValue({&amp;lt;&lt;SPAN style="color: #800080;"&gt;WODate = {"&amp;lt;$(=Date(MaxString(WODate), 'MM/DD/YYYY'))"&lt;/SPAN&gt;}&amp;gt;} Sales, -WODate)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;If you need more explanation about FirstSortedValue() then please look at my blog post for a video tutorial. Here is the link :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;A href="http://qlikshare.com/392"&gt;FirstSortedValue()&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I hope this helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers - DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;A href="http://QlikShare.Com"&gt;www.QlikShare.com&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 10:18:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344392#M576786</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-05-10T10:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Transaction Date Data</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344393#M576787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot D V &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; your expression of maxstring works like a charm and also firstsortedvalue was another option for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am having another issue now to find the monthly Transactional period end Balance;&lt;/P&gt;&lt;P&gt;I need to show balance on month Transactional period end, so how to showit, because I tried to show monthly balance with every month’s end datebalance. Now the scenario is I want to show a line chart, which would berunning on month dimension and it shows the balance of each months end date.Like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month: MAX(Date)of that month: Balance&lt;/P&gt;&lt;P&gt;Jan 31 2000&lt;/P&gt;&lt;P&gt;Feb 28 1500&lt;/P&gt;&lt;P&gt;Mar 30 1400&lt;/P&gt;&lt;P&gt;April 21 1800&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help me in this issue would be highly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 10:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344393#M576787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-10T10:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Transaction Date Data</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344394#M576788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hi Ahmed,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;You are welcome. I would recommend you to use the &lt;STRONG&gt;FirstSortedValue &lt;/STRONG&gt;solution instead of the first workaround.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I'll look into above request and I'll get back to you sometime today.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers - DV&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 11:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344394#M576788</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-05-10T11:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Transaction Date Data</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344395#M576789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Ahmed - Is it okay if I get back to you tomorrow? I have few things to finish tonight. Sorry!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV (Deepak Vadithala)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;A href="http://QlikShare.Com"&gt;www.QlikShare.com&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 16:31:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344395#M576789</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-05-10T16:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Transaction Date Data</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344396#M576790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Ahmed - Good morning. Not sure if I have understood your previous question. Do you want to show monthly closing balance for each month? I mean your dimension would be Month and your expression would be MaxString(Sales). If you want something else then please can you explain in detail? Probably with some example like your original question.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;Thanks - DV&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 08:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344396#M576790</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-05-11T08:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Transaction Date Data</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344397#M576791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, i think you didnt get what i mean. What i mean is if i have a data like this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Date1, Sales&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12/31/2010 12:00:00 AM, 43&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/03/2011 12:00:00 AM, 101&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/28/2011 12:00:00 AM, 98&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02/01/2011 12:00:00 AM, 102&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02/26/2011 12:00:00 AM, 76&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03/01/2011 12:00:00 AM, 103&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04/01/2011 12:00:00 AM, 104&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 05/01/2011 12:00:00 AM, 105&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 06/01/2011 12:00:00 AM, 126&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/21/2011 12:00:00 AM, 111&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02/23/2011 12:00:00 AM, 112&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03/22/2011 12:00:00 AM, 113&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04/25/2011 12:00:00 AM, 114&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 05/26/2011 12:00:00 AM, 115&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 06/27/2011 12:00:00 AM, 116&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i need to know the monthly period end balance of this data. monthly period end means, the last working date balance of every month.&lt;/P&gt;&lt;P&gt;which is, if i set month in deminsion than&lt;/P&gt;&lt;P&gt;jan 98&lt;/P&gt;&lt;P&gt;feb 76&lt;/P&gt;&lt;P&gt;mar 113&lt;/P&gt;&lt;P&gt;apr 114&lt;/P&gt;&lt;P&gt;may 115&lt;/P&gt;&lt;P&gt;jun 116&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attached please find a sample qvw on this data. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 10:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Transaction-Date-Data/m-p/344397#M576791</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-11T10:32:04Z</dc:date>
    </item>
  </channel>
</rss>

