<?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 Assign label to link if it contains certain text in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Assign-label-to-link-if-it-contains-certain-text/m-p/1061006#M636971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Community! First of all thank you so much for being so helpful so fast when me and other users have needed help &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;I have a specific question... So I have a list of links, but I need to be able to add value and separate them from their content.&lt;/P&gt;&lt;P&gt;Lets say I have this:&lt;/P&gt;&lt;P&gt;www.hello.cl&lt;/P&gt;&lt;P&gt;www.thanks.co&lt;/P&gt;&lt;P&gt;www.hi.ar&lt;/P&gt;&lt;P&gt;www.yes.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to be able to build something that lets me say that:&lt;/P&gt;&lt;P&gt;IF &lt;STRONG&gt;URL CONTAINS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.CL, IT IS A WEBSITE FROM CHILE&lt;/P&gt;&lt;P&gt;.AR = ARGENTINA&lt;/P&gt;&lt;P&gt;.COM = INTERNATIONAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me figure this one out?? Do I have to put this in the Load Script? Or can I just add a graph with a long expression?&lt;/P&gt;&lt;P&gt;If it helps, in Excel i solved showing the final bit of the link with this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px; background-color: #fafafa;"&gt;=RIGHT(A1,LEN(A1)-FIND(".",A1))&lt;/SPAN&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>Tue, 19 Apr 2016 16:09:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-19T16:09:08Z</dc:date>
    <item>
      <title>Assign label to link if it contains certain text</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-label-to-link-if-it-contains-certain-text/m-p/1061006#M636971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Community! First of all thank you so much for being so helpful so fast when me and other users have needed help &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;I have a specific question... So I have a list of links, but I need to be able to add value and separate them from their content.&lt;/P&gt;&lt;P&gt;Lets say I have this:&lt;/P&gt;&lt;P&gt;www.hello.cl&lt;/P&gt;&lt;P&gt;www.thanks.co&lt;/P&gt;&lt;P&gt;www.hi.ar&lt;/P&gt;&lt;P&gt;www.yes.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to be able to build something that lets me say that:&lt;/P&gt;&lt;P&gt;IF &lt;STRONG&gt;URL CONTAINS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.CL, IT IS A WEBSITE FROM CHILE&lt;/P&gt;&lt;P&gt;.AR = ARGENTINA&lt;/P&gt;&lt;P&gt;.COM = INTERNATIONAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me figure this one out?? Do I have to put this in the Load Script? Or can I just add a graph with a long expression?&lt;/P&gt;&lt;P&gt;If it helps, in Excel i solved showing the final bit of the link with this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px; background-color: #fafafa;"&gt;=RIGHT(A1,LEN(A1)-FIND(".",A1))&lt;/SPAN&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>Tue, 19 Apr 2016 16:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-label-to-link-if-it-contains-certain-text/m-p/1061006#M636971</guid>
      <dc:creator />
      <dc:date>2016-04-19T16:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Assign label to link if it contains certain text</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-label-to-link-if-it-contains-certain-text/m-p/1061007#M636972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pick(wildmatch(URL, '*CL', '*AR', '*COM'), 'IT IS A WEBSITE FROM CHILE', 'ARGENTINA', 'INTERNATIONAL')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-label-to-link-if-it-contains-certain-text/m-p/1061007#M636972</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-04-19T16:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Assign label to link if it contains certain text</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-label-to-link-if-it-contains-certain-text/m-p/1061008#M636973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And how could I apply this??&lt;/P&gt;&lt;P&gt;I want to make a frequency chart that shows where the site is from and how many links the specific country has.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-label-to-link-if-it-contains-certain-text/m-p/1061008#M636973</guid>
      <dc:creator />
      <dc:date>2016-04-19T16:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Assign label to link if it contains certain text</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-label-to-link-if-it-contains-certain-text/m-p/1061009#M636974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best place is to add this expression in your load script where you load the URL field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; pick(wildmatch(URL, '*CL', '*AR', '*COM'), 'IT IS A WEBSITE FROM CHILE', 'ARGENTINA', 'INTERNATIONAL') as URL_COUNTRY,&lt;/P&gt;&lt;P&gt;URL,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;more fields here&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use URL_COUNTRY as a dimension in your chart and count(URL) as the expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-label-to-link-if-it-contains-certain-text/m-p/1061009#M636974</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-04-19T16:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Assign label to link if it contains certain text</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-label-to-link-if-it-contains-certain-text/m-p/1061010#M636975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much!! It works perfectly &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt; I had no idea about that function!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-label-to-link-if-it-contains-certain-text/m-p/1061010#M636975</guid>
      <dc:creator />
      <dc:date>2016-04-19T16:51:53Z</dc:date>
    </item>
  </channel>
</rss>

