<?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: Pick WildMatch default value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pick-WildMatch-default-value/m-p/1636077#M446798</link>
    <description>&lt;P&gt;Thanx. Exactly what I was after.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2019 12:52:03 GMT</pubDate>
    <dc:creator>shane_spencer</dc:creator>
    <dc:date>2019-10-16T12:52:03Z</dc:date>
    <item>
      <title>Pick WildMatch default value</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-WildMatch-default-value/m-p/1635810#M446775</link>
      <description>&lt;P&gt;I've got a Currency field that has values like, USD, EURO and UK.&lt;/P&gt;&lt;P&gt;I want to translate UK and EURO to GBP and EUR respectively.&lt;/P&gt;&lt;P&gt;I can do this quite easily in an If formula because there are just two values that need translating, the rest should stay the same. i.e.&lt;/P&gt;&lt;P&gt;If([Currency]='EURO','EUR',If([Currency]='UK','GBP',[Currency])&lt;/P&gt;&lt;P&gt;However in the future there may be currencies that need translating and the nested If statement could get quite large. I'm wondering if it's easy to set a default value using Pick and WildMatch (or Match). The following would translate UK and EURO for me but I would lose USD etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pick(WildMatch([Currency],'UK','EURO'),'GBP','EURO')&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-WildMatch-default-value/m-p/1635810#M446775</guid>
      <dc:creator>shane_spencer</dc:creator>
      <dc:date>2024-11-16T02:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Pick WildMatch default value</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-WildMatch-default-value/m-p/1635815#M446776</link>
      <description>&lt;P&gt;use a mapping table&lt;/P&gt;&lt;P&gt;Currency_Map:&lt;/P&gt;&lt;P&gt;mapping load inline [&lt;/P&gt;&lt;P&gt;Cur1, Cur2&lt;/P&gt;&lt;P&gt;EURO, EUR&lt;/P&gt;&lt;P&gt;UK, GBP&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;your data,&lt;/P&gt;&lt;P&gt;applymap('Currency_Map',Cur_field,Cur_field) as NewCurrency&lt;/P&gt;&lt;P&gt;from your datasource;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the mapping table can be expanded for many rows you need&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 07:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-WildMatch-default-value/m-p/1635815#M446776</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2019-10-16T07:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Pick WildMatch default value</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-WildMatch-default-value/m-p/1635819#M446777</link>
      <description>&lt;P&gt;I don't want to use an ApplyMap. It's difficult to explain but I need to try to do a simple extract.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 07:43:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-WildMatch-default-value/m-p/1635819#M446777</guid>
      <dc:creator>shane_spencer</dc:creator>
      <dc:date>2019-10-16T07:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pick WildMatch default value</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-WildMatch-default-value/m-p/1635839#M446780</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Just check if match so you can add an else statement:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if(&amp;nbsp;&amp;nbsp;WildMatch([Currency],'UK','EURO')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Pick(WildMatch([Currency],'UK','EURO'),'GBP','EURO'),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;[Currency]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Jaime.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 08:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-WildMatch-default-value/m-p/1635839#M446780</guid>
      <dc:creator>jaibau1993</dc:creator>
      <dc:date>2019-10-16T08:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pick WildMatch default value</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-WildMatch-default-value/m-p/1635852#M446781</link>
      <description>&lt;P&gt;&amp;nbsp;you can try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pick(WildMatch([Currency],'UK','EURO')+1,&lt;SPAN&gt;[Currency]&lt;/SPAN&gt;,'GBP','EURO')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 08:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-WildMatch-default-value/m-p/1635852#M446781</guid>
      <dc:creator>asinha1991</dc:creator>
      <dc:date>2019-10-16T08:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pick WildMatch default value</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-WildMatch-default-value/m-p/1636077#M446798</link>
      <description>&lt;P&gt;Thanx. Exactly what I was after.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 12:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-WildMatch-default-value/m-p/1636077#M446798</guid>
      <dc:creator>shane_spencer</dc:creator>
      <dc:date>2019-10-16T12:52:03Z</dc:date>
    </item>
  </channel>
</rss>

