<?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: Pattern of nested if in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224361#M391024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like this (you just need to find search strings that matches your label operation values per category, could also be only fractions of the complete category, like 'mcd' for McDonalds and you can also use multiple lines / search strings per category) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CategoryMap:&lt;/P&gt;&lt;P&gt;MAPPING&lt;/P&gt;&lt;P&gt;LOAD Search, '\\'&amp;amp;Category&amp;amp;'//' INLINE [&lt;/P&gt;&lt;P&gt;Search, Category&lt;/P&gt;&lt;P&gt;burger king, Burger King&lt;/P&gt;&lt;P&gt;mcdonald, McDonalds&lt;/P&gt;&lt;P&gt;coco, Coco Di Mama&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; TextBetween(MapsubString('CategoryMap',lower([Label Operation])),'\\','//') as Category&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;Date, Label Operation, Amount&lt;/P&gt;&lt;P&gt;14/11/2016, 111116 BURGER KING LTD CARTE 2342XXXX, "-9,19"&lt;/P&gt;&lt;P&gt;20/09/2016, 190916 COCO DI MAMA 21.09, "-14,04"&lt;/P&gt;&lt;P&gt;20/06/2016, 170616 MCDONALD S&amp;nbsp; 7,90, "-7,9"&lt;/P&gt;&lt;P&gt;05/09/2016, 010916 MCDONALDS CARTE 2342XXXXXXXX55, "-10,46"&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Label Operation&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Category&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;010916 MCDONALDS CARTE 2342XXXXXXXX55&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;McDonalds&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;-10,46&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;05/09/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;111116 BURGER KING LTD CARTE 2342XXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Burger King&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;-9,19&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;14/11/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;170616 MCDONALD S 7&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;McDonalds&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;90&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;20/06/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;190916 COCO DI MAMA 21.09&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Coco Di Mama&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;-14,04&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;20/09/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2016 08:27:44 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-12-09T08:27:44Z</dc:date>
    <item>
      <title>Pattern of nested if</title>
      <link>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224354#M391017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realized Qlikview is limited to a 100 nested if. What I am trying to do is "relabel" the labels I have for different transactions.&lt;/P&gt;&lt;P&gt;For example: "15072016 77635536 MCDONALDS UUTZR" I want to have another column "Subcategory" with mure "cleaner labels" in which it would be written "McDonalds" for this one.&lt;/P&gt;&lt;P&gt;The nested if method is working fine:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; if( index([Label operation], 'TAXI')&amp;lt;&amp;gt; 0 ,'Taxi',&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Here Label operation is : 425252 TAXIG763355&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if( index([Label operation], 'BURGERKING')&amp;lt;&amp;gt; 0 ,'Burger King',&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;// Here Label operation is :16072016 BURGERKING37R38&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Others' AS Subcategory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have many label to rename more than 100 and thus , if nested does not work anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to investigate ApplyMap, but note sure how I would use it. It should be something not sor far to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ApplyMap('map1', [Label operation],'Others') As Subcategory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I guess I have to still use index function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you come up with a nice idea &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 07:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224354#M391017</guid>
      <dc:creator />
      <dc:date>2016-12-08T07:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern of nested if</title>
      <link>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224355#M391018</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;one alternative to nested IFs - far less complicated and far more manageable - is PICK(MATCH()) - you have one line per possibility and every line with an opening and closing bracket, not so many brackets at the very end ...&lt;/P&gt;&lt;P&gt;But for &amp;gt;100 possibilities, I guess you will need something better.&lt;/P&gt;&lt;P&gt;Applymap() would be a possibility if each of the IDs you have is unique.&lt;/P&gt;&lt;P&gt;I think there is also something like a VLOOKUP in QlikView though I haven't used it yet.&lt;/P&gt;&lt;P&gt;Maybe one of the Gurus here can tell you what would be best in terms of performance - I would go for either Applymap or - probably the most manageable and the most easily understandable - PICK(MATCH().&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 07:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224355#M391018</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2016-12-08T07:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern of nested if</title>
      <link>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224356#M391019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use a mapping approach with wildcards, e.g. as discussed here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/31611" title="https://community.qlikview.com/thread/31611"&gt;Apply map replacing IF | Qlik Community&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikviewcookbook.com/list-recipes/#squelch-taas-accordion-shortcode-content-11" title="http://qlikviewcookbook.com/list-recipes/#squelch-taas-accordion-shortcode-content-11"&gt;Recipes | Qlikview Cookbook&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 07:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224356#M391019</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-12-08T07:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern of nested if</title>
      <link>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224357#M391020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you could just use something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;purgechar(&lt;SPAN style="font-size: 10pt;"&gt;[Label operation], '0123456789') as Label&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;- Marcus&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 07:43:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224357#M391020</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-12-08T07:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern of nested if</title>
      <link>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224358#M391021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the great links Stepfan. (even though I am not sure how to get the samples in QV Cookbook)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I tried the method in the qvw in the first link with the pick and wildmatch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where I am not sure is how to fill the wildmap table in my case, like this ?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wildmap:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt; * INLINE [&lt;/P&gt;&lt;P&gt;Key, Label&lt;/P&gt;&lt;P&gt;?MCDONALDS*, McDonalds&lt;/P&gt;&lt;P&gt;?TAXI*, Taxi&lt;/P&gt;&lt;P&gt;*, Other&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;And for the last table in step 3&amp;nbsp; I see Customer, PartNo and PartGroup but I'm not sure what they would correspond in my case.&lt;/P&gt;&lt;P&gt;Because I am looking for a kind of automated way, where I would not need to copy the content of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Label operation] in the script&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 12:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224358#M391021</guid>
      <dc:creator />
      <dc:date>2016-12-08T12:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern of nested if</title>
      <link>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224359#M391022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a sample table (Excel file) with your Label field values (sample records), a second table with the&amp;nbsp; search string within the label text and the subcategory text you want to assign if the search string matches within label?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 12:46:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224359#M391022</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-12-08T12:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern of nested if</title>
      <link>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224360#M391023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Stefan,&lt;/P&gt;&lt;P&gt;So let me post a sample of my data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="634"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" width="161"&gt;Date&lt;/TD&gt;&lt;TD class="xl67" width="409"&gt;Label Operation&lt;/TD&gt;&lt;TD class="xl67" width="64"&gt;Amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="161"&gt;14/11/2016&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="409"&gt;111116 BURGER KING LTD CARTE 2342XXXX&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="64"&gt;-9,19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;" width="161"&gt;20/09/2016&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="409"&gt;190916 COCO DI MAMA 21.09 &lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="64"&gt;-14,04&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;" width="161"&gt;20/06/2016&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="409"&gt;170616 MCDONALD S&amp;nbsp; 7,90&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="64"&gt;-7,9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;" width="161"&gt;05/09/2016&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="409"&gt; 010916 MCDONALDS CARTE 2342XXXXXXXX55&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;-10,46&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From this, I would like to create categories, so for example, group "MCDONALDS" and "MCDONALD S" under "McDonalds" in this new column "Category"&lt;/P&gt;&lt;P&gt;So this is why I would like to automate the reading of this "Label Operation" field. That might be possible with the methodology you gave me but I am not clear on how to make it work with the column "Label Operation".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 14:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224360#M391023</guid>
      <dc:creator />
      <dc:date>2016-12-08T14:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern of nested if</title>
      <link>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224361#M391024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like this (you just need to find search strings that matches your label operation values per category, could also be only fractions of the complete category, like 'mcd' for McDonalds and you can also use multiple lines / search strings per category) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CategoryMap:&lt;/P&gt;&lt;P&gt;MAPPING&lt;/P&gt;&lt;P&gt;LOAD Search, '\\'&amp;amp;Category&amp;amp;'//' INLINE [&lt;/P&gt;&lt;P&gt;Search, Category&lt;/P&gt;&lt;P&gt;burger king, Burger King&lt;/P&gt;&lt;P&gt;mcdonald, McDonalds&lt;/P&gt;&lt;P&gt;coco, Coco Di Mama&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; TextBetween(MapsubString('CategoryMap',lower([Label Operation])),'\\','//') as Category&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;Date, Label Operation, Amount&lt;/P&gt;&lt;P&gt;14/11/2016, 111116 BURGER KING LTD CARTE 2342XXXX, "-9,19"&lt;/P&gt;&lt;P&gt;20/09/2016, 190916 COCO DI MAMA 21.09, "-14,04"&lt;/P&gt;&lt;P&gt;20/06/2016, 170616 MCDONALD S&amp;nbsp; 7,90, "-7,9"&lt;/P&gt;&lt;P&gt;05/09/2016, 010916 MCDONALDS CARTE 2342XXXXXXXX55, "-10,46"&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Label Operation&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Category&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;010916 MCDONALDS CARTE 2342XXXXXXXX55&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;McDonalds&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;-10,46&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;05/09/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;111116 BURGER KING LTD CARTE 2342XXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Burger King&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;-9,19&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;14/11/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;170616 MCDONALD S 7&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;McDonalds&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;90&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;20/06/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;190916 COCO DI MAMA 21.09&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Coco Di Mama&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;-14,04&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;20/09/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 08:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224361#M391024</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-12-09T08:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern of nested if</title>
      <link>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224362#M391025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;A really big thanks for the time you took for this. It seems like the perfect approach!&lt;/P&gt;&lt;P&gt;One last thing I would like to clarify and feel a bit shameful...&lt;/P&gt;&lt;P&gt;The last part where you LOAD Inline with all the data, I would obviously need to replace that Inline by the original table I have which is looking something &lt;SPAN style="font-size: 13.3333px;"&gt;like &lt;/SPAN&gt;this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="106" style="margin-left: 2.75pt; width: 632px; height: 76px;" width="632"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="272"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: #363636; font-size: 9.0pt; font-family: 'Inherit','serif';"&gt;Label Operation&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="75"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: #363636; font-size: 9.0pt; font-family: 'Inherit','serif';"&gt;Amount&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="103"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: #363636; font-size: 9.0pt; font-family: 'Inherit','serif';"&gt;Date&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="272"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Inherit','serif'; color: #363636;"&gt;010916 MCDONALDS CARTE 2342XXXXXXXX55&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="75"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Inherit','serif'; color: #363636;"&gt;-10,46&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="103"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Inherit','serif'; color: #363636;"&gt;05/09/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="272"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Inherit','serif'; color: #363636;"&gt;111116 BURGER KING LTD CARTE 2342XXXX&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="75"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Inherit','serif'; color: #363636;"&gt;-9,19&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="103"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Inherit','serif'; color: #363636;"&gt;14/11/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="272"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Inherit','serif'; color: #363636;"&gt;170616 MCDONALD S 7&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="75"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Inherit','serif'; color: #363636;"&gt;90&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="103"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Inherit','serif'; color: #363636;"&gt;20/06/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="272"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Inherit','serif'; color: #363636;"&gt;190916 COCO DI MAMA 21.09&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="75"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Inherit','serif'; color: #363636;"&gt;-14,04&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="103"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Inherit','serif'; color: #363636;"&gt;20/09/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my real original table has more than 500 transactions so I obviously cannot copy/paste the data in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So to be clearer, I am missing how to write the part with the question mark below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/146152_1.PNG" style="height: 232px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Sorry if the answer is obvious!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 10:09:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224362#M391025</guid>
      <dc:creator />
      <dc:date>2016-12-09T10:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern of nested if</title>
      <link>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224363#M391026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just replace the INLINE with your table source, e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;LOAD *,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp; TextBetween(MapsubString('CategoryMap',lower([Label Operation])),'\\','//') as Category&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt; YourExcelFile.xlsx (&lt;EM&gt;formatspecs&lt;/EM&gt;);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 10:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224363#M391026</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-12-09T10:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern of nested if</title>
      <link>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224364#M391027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Crystal clear and working perfect &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Again big thanks Stefan, this helps me a lot !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 10:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pattern-of-nested-if/m-p/1224364#M391027</guid>
      <dc:creator />
      <dc:date>2016-12-09T10:59:40Z</dc:date>
    </item>
  </channel>
</rss>

