<?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: Prob in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816738#M1020416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Well sample is like:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;OLEDB connection ;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;LOAD A,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;B,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;C,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;D,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if(E LIKE 'DCM%' , 'DCM' , (have to fetch Desk field value from excel sheett));&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Select......&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2015 08:52:10 GMT</pubDate>
    <dc:creator>nikhilgarg</dc:creator>
    <dc:date>2015-03-30T08:52:10Z</dc:date>
    <item>
      <title>Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816733#M1020411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;In my dashboard, i am fetching data from OLEDB source. Now, there is a Field "BusinessGroup" in databse.&lt;/P&gt;&lt;P&gt;Now if &lt;SPAN style="font-size: 13.3333330154419px;"&gt;BusinessGroup &lt;/SPAN&gt;= 'ABC%' Then ABC else fetch Desk field values from flat file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do this in script??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 08:39:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816733#M1020411</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-03-30T08:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816734#M1020412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Send sample of script.&lt;/P&gt;&lt;P&gt;you can use like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *;&lt;/P&gt;&lt;P&gt;select sql *&lt;/P&gt;&lt;P&gt;from oracle.tablename where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;BusinessGroup like(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; 'ABC%');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vimlesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 08:41:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816734#M1020412</guid>
      <dc:creator />
      <dc:date>2015-03-30T08:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816735#M1020413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you be more collaborative?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 08:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816735#M1020413</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2015-03-30T08:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816736#M1020414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikhil!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understood you correctly, you have some key field in table.&lt;/P&gt;&lt;P&gt;You may do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t1:&lt;/P&gt;&lt;P&gt;mapping load&lt;/P&gt;&lt;P&gt;keyfield,&lt;/P&gt;&lt;P&gt;businessgroup&lt;/P&gt;&lt;P&gt;from &amp;lt;your local file&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oledbtable:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;keyfield,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;BusinessGroup='ABC%','ABC',applymap('t1',&lt;SPAN style="font-size: 13.3333330154419px;"&gt;keyfield,null()) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;BusinessGroup&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;sql select &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;keyfield,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;businessgroup&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;from &amp;lt;your oledb source&amp;gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 08:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816736#M1020414</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-03-30T08:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816737#M1020415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well sample is like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLEDB connection ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD A,&lt;/P&gt;&lt;P&gt;B,&lt;/P&gt;&lt;P&gt;C,&lt;/P&gt;&lt;P&gt;D,&lt;/P&gt;&lt;P&gt;if(E LIKE 'DCM%' , 'DCM' , (have to fetch Desk field value from excel sheett));&lt;/P&gt;&lt;P&gt;Select......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 08:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816737#M1020415</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-03-30T08:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816738#M1020416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Well sample is like:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;OLEDB connection ;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;LOAD A,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;B,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;C,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;D,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if(E LIKE 'DCM%' , 'DCM' , (have to fetch Desk field value from excel sheett));&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Select......&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 08:52:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816738#M1020416</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-03-30T08:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816739#M1020417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if([&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px;"&gt;BusinessGroup] like 'ABC*', 'ABC', [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Desk&lt;/SPAN&gt;])&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;as "&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px;"&gt;FIELD",&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;FROM.....&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 08:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816739#M1020417</guid>
      <dc:creator>fvelascog72</dc:creator>
      <dc:date>2015-03-30T08:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816740#M1020418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First load the data from database as well as Flat file in Qlik.&lt;/P&gt;&lt;P&gt;Left join or join the both based on the Key and then derive the column as &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;if (left(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13.3333330154419px; text-decoration: underline; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;BusinessGroup,3) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;= 'ABC' ,ABC , Desk) as New Filed&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 09:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816740#M1020418</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2015-03-30T09:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816741#M1020419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I tried your way but prob is i am loading like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Table A(having business group filed) &lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;Load Table B(having Desk field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So your statement is not working fine as throwing exception Desk field not found:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;if (left(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333330154419px;"&gt;BusinessGroup,3) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;= 'ABC' ,ABC , Desk) as New Filed&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 09:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816741#M1020419</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-03-30T09:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816742#M1020420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;you want to create a field or filter only ABC related data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use wildmatch function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vimlesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 09:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816742#M1020420</guid>
      <dc:creator />
      <dc:date>2015-03-30T09:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816743#M1020421</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;Just simply use wildmatch() or match() with wildcharacter *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(wildmatch(BusinessGroup),'ABC*','ABC',DeskField) as new_DeskField&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use wildmatch() if you want to non case sensitive search&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;Use match() if you want to case sensitive search&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 09:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816743#M1020421</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-03-30T09:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816744#M1020422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;=if(wildmatch( FIELD1, 'ABC*')&amp;nbsp; as&amp;nbsp; Flag&lt;/P&gt;&lt;P&gt;it returns 1,0 ----1 means data which will be start from ABC&lt;/P&gt;&lt;P&gt;0-means other than ABC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vimlesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 09:22:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/816744#M1020422</guid>
      <dc:creator />
      <dc:date>2015-03-30T09:22:37Z</dc:date>
    </item>
  </channel>
</rss>

