<?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: How to write an expression with applymap in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-an-expression-with-applymap/m-p/1639601#M595090</link>
    <description>&lt;P&gt;Sorry, Sunny, you're right.&lt;/P&gt;&lt;P&gt;Anyway, you've helped me, because while i'd creating a data sample file, i understand how to solve the problem!&lt;/P&gt;&lt;P&gt;I hope you can help me in the next topics.&lt;/P&gt;&lt;P&gt;Mattia&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2019 15:41:18 GMT</pubDate>
    <dc:creator>Mattia</dc:creator>
    <dc:date>2019-10-24T15:41:18Z</dc:date>
    <item>
      <title>How to write an expression with applymap</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-an-expression-with-applymap/m-p/1639549#M595086</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;i need to write an expression in the script with the following output: &lt;SPAN&gt;when the field&amp;nbsp;[@29:33] =35, the new field TIPO must show "ODONTO". The field&amp;nbsp;[@29:33] is in table "D" while the field&amp;nbsp;[@10:17] is the key between table "T" and "D".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've tried with:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;KEY_TO_UO_RIFERIMENTO:&lt;BR /&gt;Mapping LOAD&lt;BR /&gt;[@10:17] as CONTATORE_PRESCRIZIONE,&lt;BR /&gt;[@29:33] as UO_RIFERIMENTO&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If(ApplyMap('KEY_TO_UO_RIFERIMENTO',[@10:17],'n/a')=35,'ODONTO') as TIPO&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but don't work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can anyone help me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mattia&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-an-expression-with-applymap/m-p/1639549#M595086</guid>
      <dc:creator>Mattia</dc:creator>
      <dc:date>2024-11-16T02:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to write an expression with applymap</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-an-expression-with-applymap/m-p/1639564#M595087</link>
      <description>&lt;P&gt;Don't see any issues... can you mock up the problem in a sample mocked up data for us to see?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 14:33:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-an-expression-with-applymap/m-p/1639564#M595087</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-10-24T14:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to write an expression with applymap</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-an-expression-with-applymap/m-p/1639567#M595088</link>
      <description>&lt;P&gt;Now it's difficult because i've a lot of data and i can't show them.&lt;/P&gt;&lt;P&gt;The script is the following:&lt;/P&gt;&lt;P&gt;KEY_TO_UO_RIFERIMENTO:&lt;BR /&gt;Mapping LOAD&lt;BR /&gt;[@10:17] as CONTATORE_PRESCRIZIONE,&lt;BR /&gt;[@29:33] as UO_RIFERIMENTO&lt;/P&gt;&lt;P&gt;FROM...&lt;/P&gt;&lt;P&gt;If(ApplyMap('KEY_TO_UO_RIFERIMENTO',[@10:17],'n/a')='35','ODONTO'),&lt;BR /&gt;If([@4:9]='001880','DIALISI',&amp;nbsp;If(WildMatch([@10:17],'L*'),'LAB',&amp;nbsp;If(Len(Trim([@10:17]))&amp;gt;0, If([@4:9]='030357','PS_AMB','AMB')))) as TIPO&lt;/P&gt;&lt;P&gt;After the reload, QV show me only "LAB" and "AMB" and i don't know why.&lt;/P&gt;&lt;P&gt;Also, between available fields, i've&amp;nbsp;@10:17...&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 14:44:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-an-expression-with-applymap/m-p/1639567#M595088</guid>
      <dc:creator>Mattia</dc:creator>
      <dc:date>2019-10-24T14:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to write an expression with applymap</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-an-expression-with-applymap/m-p/1639571#M595089</link>
      <description>&lt;P&gt;All I am asking for is to mock up 5-10 rows of data just like I did here&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-Scripting/What-s-wrong-in-this-script/m-p/1639522#M97143" target="_blank" rel="noopener"&gt;What's wrong in this script?&lt;/A&gt;&amp;nbsp;. If you are unable to do this... then I am cannot really spare time each time to create a mock up for you.&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Sunny&lt;/P&gt;&lt;P&gt;P.S. Mock up doesn't need actual data... it can be data which doesn't make sense, but still shows the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 14:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-an-expression-with-applymap/m-p/1639571#M595089</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-10-24T14:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to write an expression with applymap</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-an-expression-with-applymap/m-p/1639601#M595090</link>
      <description>&lt;P&gt;Sorry, Sunny, you're right.&lt;/P&gt;&lt;P&gt;Anyway, you've helped me, because while i'd creating a data sample file, i understand how to solve the problem!&lt;/P&gt;&lt;P&gt;I hope you can help me in the next topics.&lt;/P&gt;&lt;P&gt;Mattia&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 15:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-an-expression-with-applymap/m-p/1639601#M595090</guid>
      <dc:creator>Mattia</dc:creator>
      <dc:date>2019-10-24T15:41:18Z</dc:date>
    </item>
  </channel>
</rss>

