<?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: Can someone help me with this expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-with-this-expression/m-p/1641820#M594691</link>
    <description>&lt;P&gt;Buonasera Mattia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;il problema sembra nascere dal fatto che per ciascun CONTATORE_PRESCRIZIONE ci sono più&amp;nbsp;CODICE_PRESTAZIONE. Di conseguenza il mapping prende uno dei tanti valori possibili.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Per risolvere bisogna usare la giusta chiave nel mapping, in modo che il collegamento sia 1:1&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2019 17:00:00 GMT</pubDate>
    <dc:creator>StarinieriG</dc:creator>
    <dc:date>2019-10-31T17:00:00Z</dc:date>
    <item>
      <title>Can someone help me with this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-with-this-expression/m-p/1640661#M594686</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;i've a problem with the following query, in particular with this script:&lt;/P&gt;&lt;P&gt;If(WildMatch(ApplyMap('KEY_TO_BS_STS21',ApplyMap('DOUBLE_MAPPING',[@10:17],'n/a')),008), If([@4:9]=030357,'PS_RADIO','RADIO'),&lt;BR /&gt;If(WildMatch(ApplyMap('KEY_TO_BS_STS21',ApplyMap('DOUBLE_MAPPING',[@10:17],'n/a')),'011'), If([@4:9]=030357,'PS_LAB','LAB')))&lt;/P&gt;&lt;P&gt;as new_field&lt;/P&gt;&lt;P&gt;With these conditions, also the rows n°4 and&amp;nbsp; n°19 it should be valued, respectively with "PS_RADIO" and "PS_LAB".&lt;/P&gt;&lt;P&gt;Why it don't work? It's a problem of data format, syntax (brackets) or something else?&lt;/P&gt;&lt;P&gt;Attached is a sample data file.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The strange thing is that if i insert a inline table, the query works perfectly (see another attached file).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The output that i want to obtain is the following: if the field BS_STS21 = 008 and if the field CODICE_PRESIDIO = 030357, the record must show PS_RADIO, instead RADIO; if the field BS_STS21 = 011 and&amp;nbsp;if the field CODICE_PRESIDIO = 030357, the record must show PS_LAB, instead LAB. All the records must have a value in the column TIPO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please, someone could show me the right direction?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mattia&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 08:29:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-help-me-with-this-expression/m-p/1640661#M594686</guid>
      <dc:creator>Mattia</dc:creator>
      <dc:date>2019-10-29T08:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me with this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-with-this-expression/m-p/1640839#M594687</link>
      <description>&lt;P&gt;Why there is 2 mapping table of the same column?&lt;/P&gt;&lt;P&gt;Which field should mapped with if there is 2 identical match? eg: 04111 and 05111&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;KEY_TO_NOTA:&lt;BR /&gt;Mapping LOAD * INLINE [&lt;BR /&gt;FIELD3, FIELD4&lt;BR /&gt;0443, -&lt;BR /&gt;0529, -&lt;BR /&gt;3869, -&lt;BR /&gt;04111, IHca&lt;BR /&gt;06111, -&lt;BR /&gt;05111, Ihmac&lt;BR /&gt;0442, -&lt;BR /&gt;0441, -&lt;BR /&gt;0440, -&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;KEY_TO_BS_STS21:&lt;BR /&gt;Mapping LOAD * INLINE [&lt;BR /&gt;FIELD3, FIELD4&lt;BR /&gt;0443, 021&lt;BR /&gt;0529, 008&lt;BR /&gt;3869, 008&lt;BR /&gt;04111, 021&lt;BR /&gt;06111, 011&lt;BR /&gt;05111, 021&lt;BR /&gt;0442, 011&lt;BR /&gt;0441, 021&lt;BR /&gt;0440, 021&lt;BR /&gt;];&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 13:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-help-me-with-this-expression/m-p/1640839#M594687</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2019-10-29T13:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me with this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-with-this-expression/m-p/1640847#M594688</link>
      <description>&lt;P&gt;In your Actual sample, i dont see this issue:&lt;/P&gt;&lt;P&gt;KEY_TO_NOTA:&lt;BR /&gt;Mapping LOAD&lt;BR /&gt;CODICE_PRESTAZIONE,&lt;BR /&gt;NOTA&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;[C:\Users\Baronim\Desktop\2019_Tariffario_C.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Tariffario);&lt;/P&gt;&lt;P&gt;KEY_TO_BS_STS21:&lt;BR /&gt;Mapping LOAD&lt;BR /&gt;CODICE_PRESTAZIONE,&lt;BR /&gt;BS_STS21&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please check again?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 13:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-help-me-with-this-expression/m-p/1640847#M594688</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2019-10-29T13:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me with this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-with-this-expression/m-p/1640849#M594689</link>
      <description>&lt;P&gt;Hi Arthur,&lt;/P&gt;&lt;P&gt;i'm agree but the query that i need is in the other attachment.&lt;/P&gt;&lt;P&gt;I don't know why but this query (that is made by sample data) works perfectely, while the query i need don't work!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 13:56:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-help-me-with-this-expression/m-p/1640849#M594689</guid>
      <dc:creator>Mattia</dc:creator>
      <dc:date>2019-10-29T13:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me with this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-with-this-expression/m-p/1640858#M594690</link>
      <description>&lt;P&gt;I'm sorry Arthur, i don't understand the problem.&lt;/P&gt;&lt;P&gt;The only query that i need is in the QV named Sample_data_P.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 14:08:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-help-me-with-this-expression/m-p/1640858#M594690</guid>
      <dc:creator>Mattia</dc:creator>
      <dc:date>2019-10-29T14:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me with this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-with-this-expression/m-p/1641820#M594691</link>
      <description>&lt;P&gt;Buonasera Mattia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;il problema sembra nascere dal fatto che per ciascun CONTATORE_PRESCRIZIONE ci sono più&amp;nbsp;CODICE_PRESTAZIONE. Di conseguenza il mapping prende uno dei tanti valori possibili.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Per risolvere bisogna usare la giusta chiave nel mapping, in modo che il collegamento sia 1:1&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 17:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-help-me-with-this-expression/m-p/1641820#M594691</guid>
      <dc:creator>StarinieriG</dc:creator>
      <dc:date>2019-10-31T17:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me with this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-with-this-expression/m-p/1643183#M594692</link>
      <description>&lt;P&gt;Grazie mille per il suggerimento!&lt;/P&gt;&lt;P&gt;In realtà ho già risolto utilizzando la funzione Left Join mettendo da parte ApplyMap che non mi dava il risultato desiderato.&lt;/P&gt;&lt;P&gt;Mattia&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 13:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-help-me-with-this-expression/m-p/1643183#M594692</guid>
      <dc:creator>Mattia</dc:creator>
      <dc:date>2019-11-05T13:49:11Z</dc:date>
    </item>
  </channel>
</rss>

