<?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 Create new dimension with multi condition in the Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-new-dimension-with-multi-condition-in-the-Script/m-p/74125#M511120</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morniing every one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some help to find the better way to achieve the script below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="vertical-align: inherit; color: #1f497d;"&gt;I want to create a dimension called CoverName using the following test:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="vertical-align: inherit; color: #1f497d;"&gt;&lt;SPAN style="vertical-align: inherit;"&gt;1 / If the PNG_TRADE_DIRECTION is BUY, and MIFIDName least one of the fields (1,2,3,4) | &lt;/SPAN&gt;&lt;SPAN style="vertical-align: inherit;"&gt;MIFIDPrice (1,2,3,4) is filled.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="vertical-align: inherit; color: #1f497d;"&gt;The CoverName field will take the value of the MIFIDName MIFIDPrice lowest.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="vertical-align: inherit; color: #1f497d;"&gt;Otherwise the value CoverName take the value of the unique MIFIDName informed.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="vertical-align: inherit; color: #1f497d;"&gt;&lt;SPAN style="vertical-align: inherit;"&gt;2 / If the&lt;SPAN style="vertical-align: inherit; color: #1f497d;"&gt;&lt;SPAN&gt;PNG_TRADE_DIRECTION&lt;/SPAN&gt;&lt;/SPAN&gt; is SELL, and in less than a MIFIDName1,2,3,4 fields | &lt;/SPAN&gt;&lt;SPAN style="vertical-align: inherit;"&gt;MIFIDPrice1,2,3,4 is filled.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="vertical-align: inherit; color: #1f497d;"&gt;The CoverName field will take the value of the MIFIDName&amp;nbsp; MIFIDPrice highest.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="vertical-align: inherit; color: #1f497d;"&gt;Otherwise the value CoverName take the value of the unique MIFIDName informed.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="vertical-align: inherit;"&gt;Script data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;Trade Direction : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_DIRECTION"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDName1 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_NAME_1"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDName2 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_NAME_2"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDName3 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_NAME_3"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDName4 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_NAME_4"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDName5 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_NAME_5"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDPrice1 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_PRICE_1"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDPrice2 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_PRICE_2"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDPrice3 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_PRICE_3"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDPrice4 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_PRICE_4"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDPrice5 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_PRICE_5"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Feb 2018 16:24:37 GMT</pubDate>
    <dc:creator>ericheleine</dc:creator>
    <dc:date>2018-02-22T16:24:37Z</dc:date>
    <item>
      <title>Create new dimension with multi condition in the Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-new-dimension-with-multi-condition-in-the-Script/m-p/74125#M511120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morniing every one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some help to find the better way to achieve the script below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="vertical-align: inherit; color: #1f497d;"&gt;I want to create a dimension called CoverName using the following test:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="vertical-align: inherit; color: #1f497d;"&gt;&lt;SPAN style="vertical-align: inherit;"&gt;1 / If the PNG_TRADE_DIRECTION is BUY, and MIFIDName least one of the fields (1,2,3,4) | &lt;/SPAN&gt;&lt;SPAN style="vertical-align: inherit;"&gt;MIFIDPrice (1,2,3,4) is filled.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="vertical-align: inherit; color: #1f497d;"&gt;The CoverName field will take the value of the MIFIDName MIFIDPrice lowest.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="vertical-align: inherit; color: #1f497d;"&gt;Otherwise the value CoverName take the value of the unique MIFIDName informed.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="vertical-align: inherit; color: #1f497d;"&gt;&lt;SPAN style="vertical-align: inherit;"&gt;2 / If the&lt;SPAN style="vertical-align: inherit; color: #1f497d;"&gt;&lt;SPAN&gt;PNG_TRADE_DIRECTION&lt;/SPAN&gt;&lt;/SPAN&gt; is SELL, and in less than a MIFIDName1,2,3,4 fields | &lt;/SPAN&gt;&lt;SPAN style="vertical-align: inherit;"&gt;MIFIDPrice1,2,3,4 is filled.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="vertical-align: inherit; color: #1f497d;"&gt;The CoverName field will take the value of the MIFIDName&amp;nbsp; MIFIDPrice highest.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="vertical-align: inherit; color: #1f497d;"&gt;Otherwise the value CoverName take the value of the unique MIFIDName informed.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="vertical-align: inherit;"&gt;Script data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;Trade Direction : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_DIRECTION"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDName1 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_NAME_1"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDName2 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_NAME_2"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDName3 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_NAME_3"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDName4 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_NAME_4"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDName5 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_NAME_5"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDPrice1 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_PRICE_1"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDPrice2 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_PRICE_2"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDPrice3 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_PRICE_3"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDPrice4 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_PRICE_4"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: Consolas;"&gt;MIFIDPrice5 : [&lt;SPAN style="color: #a31515;"&gt;"PNG_TRADE_MIFID_PRICE_5"&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 16:24:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-new-dimension-with-multi-condition-in-the-Script/m-p/74125#M511120</guid>
      <dc:creator>ericheleine</dc:creator>
      <dc:date>2018-02-22T16:24:37Z</dc:date>
    </item>
  </channel>
</rss>

