<?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: Urgent help required in solving this problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Urgent-help-required-in-solving-this-problem/m-p/611778#M225768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First you have to filter data like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD kVPS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [DOC NO],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SENT DATE],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SENT TIME],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SMS TYPE],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;Where Match([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SMS TYPE&lt;/SPAN&gt;],2,4);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and what is the date format of the DATA field because it contains other data also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Apr 2014 18:41:29 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2014-04-07T18:41:29Z</dc:date>
    <item>
      <title>Urgent help required in solving this problem</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-help-required-in-solving-this-problem/m-p/611777#M225767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement in which i have been given an excel file with some columns&lt;/P&gt;&lt;P&gt;I have been told to create a table in which apart from the columns mentioned in the excel there should be column with the name&lt;/P&gt;&lt;P&gt;(no of days)&lt;/P&gt;&lt;P&gt;.I am having problem with calculating this field .&lt;/P&gt;&lt;P&gt;the no of days&amp;nbsp; field is calculated as a difference between the date mentioned in the data field and the sent date field, also the no of days field for sms type = 4 should be calculated on the basis of sent date for sms type= 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg for doc no :-D02 no of days field should be&amp;nbsp; 04/04/2014 - 01/04/2014&amp;nbsp;&amp;nbsp; where sms type =2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D02 no of days field should be&amp;nbsp; 02/04/2014 - 01/04/2014&amp;nbsp;&amp;nbsp;&amp;nbsp; where sms type = 4&lt;/P&gt;&lt;P&gt;also these calculation should occur only where sms type is 2 and 4 for each doc no , i.e if a particular doc no doesnt have either of these sms types then i should ignore that doc no&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am newbie to qlikview and i think this is a very complex requirement for me . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching the excel file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plzzz help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 18:28:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-help-required-in-solving-this-problem/m-p/611777#M225767</guid>
      <dc:creator>fashid</dc:creator>
      <dc:date>2014-04-07T18:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help required in solving this problem</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-help-required-in-solving-this-problem/m-p/611778#M225768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First you have to filter data like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD kVPS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [DOC NO],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SENT DATE],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SENT TIME],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SMS TYPE],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;Where Match([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SMS TYPE&lt;/SPAN&gt;],2,4);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and what is the date format of the DATA field because it contains other data also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 18:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-help-required-in-solving-this-problem/m-p/611778#M225768</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-07T18:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help required in solving this problem</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-help-required-in-solving-this-problem/m-p/611779#M225769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use below in script...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=============&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(Date#(Mid(DATA,27,10),'DD/MM/YYYY')) as DataDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [DOC NO]&amp;amp;[SMS TYPE] as Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF([SMS TYPE] = 2,'Yes','No') as Flag&lt;/P&gt;&lt;P&gt;Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; kVPS, DOC NO, SENT DATE, SENT TIME, SMS TYPE, DATA&lt;/P&gt;&lt;P&gt;&amp;nbsp; 13042, d01, 01/04/2014, 10:00, 1, Amount: Rs 15.00&amp;nbsp; # Date: 03/04/2014&amp;nbsp; 10:00:00&lt;/P&gt;&lt;P&gt;&amp;nbsp; 13045, d02, 01/04/2014, 12:00, 2, Amount: Rs 18.00&amp;nbsp; # Date: 04/04/2014&amp;nbsp; 17:00:00&lt;/P&gt;&lt;P&gt;&amp;nbsp; 13045, d02, 02/04/2014, 03:00, 4, Amount: Rs 18.00&amp;nbsp; # Date: 02/04/2014&amp;nbsp; 09:00:00&lt;/P&gt;&lt;P&gt;&amp;nbsp; 12000, d03, 03/04/2014, 12:00, 2, Amount: Rs 13.00&amp;nbsp; # Date: 05/04/2014&amp;nbsp; 17:00:00&lt;/P&gt;&lt;P&gt;&amp;nbsp; 12000, d03, 07/04/2014, 11:00, 4, Amount: Rs 13.00&amp;nbsp; # Date: 07/04/2014&amp;nbsp; 13:00:00&lt;/P&gt;&lt;P&gt;&amp;nbsp; 14560, d04, 02/04/2014, 09:00, 2, Amount: Rs 11.00&amp;nbsp; # Date: 02/04/2014&amp;nbsp; 14:00:00&lt;/P&gt;&lt;P&gt;&amp;nbsp; 14560, d04, 02/04/2014, 10:00, 4, Amount: Rs 11.00&amp;nbsp; # Date: 02/04/2014&amp;nbsp; 14:00:00&lt;/P&gt;&lt;P&gt;&amp;nbsp; 18000, d05, 03/04/2014, 04:00, 2, Amount: Rs 12.00&amp;nbsp; # Date: 04/04/2014&amp;nbsp; 15:00:00&lt;/P&gt;&lt;P&gt;&amp;nbsp; 18000, d05, 06/04/2014, 08:00, 4, Amount: Rs 12.00&amp;nbsp; # Date: 06/04/2014&amp;nbsp; 12:00:00&lt;/P&gt;&lt;P&gt;&amp;nbsp; 20000, d06, 07/04/2014, 11:00, 4, Amount: Rs 10.00&amp;nbsp; # Date: 07/04/2014&amp;nbsp; 13:00:00&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Temp2:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; kVPS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [DOC NO],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [SENT DATE],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [SENT TIME],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [SMS TYPE],&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA,&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF([SMS TYPE] = 2,DataDate - [SENT DATE], DataDate-Peek('SENT DATE')) as Difference&lt;/P&gt;&lt;P&gt;Resident Temp&lt;/P&gt;&lt;P&gt;Where Flag = 'Yes' or Left(Key,3) = Left(Previous(Key),3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;==================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File enclosed for your reference...&lt;/P&gt;&lt;P&gt;Order By [DOC NO], [SMS TYPE];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===============&lt;/P&gt;&lt;P&gt;Update : If you have [SMS TYPE] other than 1, 2 and 4 also, use second file....&lt;/P&gt;&lt;P&gt;where slight change in second table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Temp2:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; kVPS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [DOC NO],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [SENT DATE],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [SENT TIME],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [SMS TYPE],&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA,&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF([SMS TYPE] = 2,DataDate - [SENT DATE], DataDate-Peek('SENT DATE')) as Difference&lt;/P&gt;&lt;P&gt;Resident Temp&lt;/P&gt;&lt;P&gt;Where Flag = 'Yes' or Left(Key,3) = Left(Previous(Key),3) and Right(Key,1)-2 = Right(Previous(Key),1) and Right(Key,1)=4 &lt;/P&gt;&lt;P&gt;Order By [DOC NO], [SMS TYPE];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 19:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-help-required-in-solving-this-problem/m-p/611779#M225769</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-07T19:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help required in solving this problem</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-help-required-in-solving-this-problem/m-p/611780#M225770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 19:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-help-required-in-solving-this-problem/m-p/611780#M225770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-07T19:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help required in solving this problem</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-help-required-in-solving-this-problem/m-p/611781#M225771</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;try the below script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Task60:&lt;/P&gt;&lt;P&gt;LOAD kVPS, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [DOC NO], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SENT DATE], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SENT TIME], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SMS TYPE], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; left( mid(DATA,27),10) as DATA_new&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;where [SMS TYPE] = 2 or [SMS TYPE] =4;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Task60_1:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;kVPS, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [DOC NO], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SENT DATE], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SENT TIME], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SMS TYPE], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA_new,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(DATA_new,'dd/mm/yyyy')-date([SENT DATE],'dd/mm/yyyy') as [no of days]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resident Task60;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;drop table Task60;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 19:26:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-help-required-in-solving-this-problem/m-p/611781#M225771</guid>
      <dc:creator />
      <dc:date>2014-04-07T19:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help required in solving this problem</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-help-required-in-solving-this-problem/m-p/611782#M225772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Personally I strongly recommend start (re-)reading QV documentation and have a QV dev. training if possible whilst you're waiting an answer at the forum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 22:00:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-help-required-in-solving-this-problem/m-p/611782#M225772</guid>
      <dc:creator>maksim_senin</dc:creator>
      <dc:date>2014-04-07T22:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help required in solving this problem</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-help-required-in-solving-this-problem/m-p/611783#M225773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a Million perfect Solution &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 10:11:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-help-required-in-solving-this-problem/m-p/611783#M225773</guid>
      <dc:creator>fashid</dc:creator>
      <dc:date>2014-04-11T10:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help required in solving this problem</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-help-required-in-solving-this-problem/m-p/611784#M225774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Your Solution was perfect but after implementing that i was faced with a different situation wherein i had to choose manisha's Solution &lt;/P&gt;&lt;P&gt;By the way i thank you for taking your time and helping me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Nadeem Shaikh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 10:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-help-required-in-solving-this-problem/m-p/611784#M225774</guid>
      <dc:creator>fashid</dc:creator>
      <dc:date>2014-04-11T10:20:24Z</dc:date>
    </item>
  </channel>
</rss>

