<?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: ValueList to match with multiple values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ValueList-to-match-with-multiple-values/m-p/1734764#M452530</link>
    <description>&lt;P&gt;If it's already your real-case the following simplifying should be enough:&lt;/P&gt;&lt;P&gt;If(valuelist('S', 'P') = 'S', SUM(AMT),&amp;nbsp; SUM (QNT))&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Tue, 11 Aug 2020 10:59:59 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2020-08-11T10:59:59Z</dc:date>
    <item>
      <title>ValueList to match with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/ValueList-to-match-with-multiple-values/m-p/1734719#M452527</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a situation where I need to write a valuelist expression something like this&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;ValueList('S', 'P')&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;If ( valuelist('S', 'P') = ('SA', 'ST'), SUM(AMT), if (valuelist('S', 'P') = ('PA', 'PT'), SUM (QNT)) )&lt;/P&gt;&lt;P&gt;so I need to match the 'S' with two values ('SA', 'ST') and 'P' with&amp;nbsp;('PA', 'PT').&lt;/P&gt;&lt;P&gt;is it possible?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Jean&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ValueList-to-match-with-multiple-values/m-p/1734719#M452527</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2024-11-16T00:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: ValueList to match with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/ValueList-to-match-with-multiple-values/m-p/1734764#M452530</link>
      <description>&lt;P&gt;If it's already your real-case the following simplifying should be enough:&lt;/P&gt;&lt;P&gt;If(valuelist('S', 'P') = 'S', SUM(AMT),&amp;nbsp; SUM (QNT))&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 10:59:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ValueList-to-match-with-multiple-values/m-p/1734764#M452530</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-08-11T10:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: ValueList to match with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/ValueList-to-match-with-multiple-values/m-p/1734807#M452535</link>
      <description>&lt;P&gt;What is SA and ST here? Valuelist is only S or P... is there another dimension in this chart?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 12:30:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ValueList-to-match-with-multiple-values/m-p/1734807#M452535</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-08-11T12:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: ValueList to match with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/ValueList-to-match-with-multiple-values/m-p/1734841#M452543</link>
      <description>&lt;P&gt;What I want to achieve here is grouping of certain entities.&lt;/P&gt;&lt;P&gt;The real entities are SA, ST, PA and PT.&lt;/P&gt;&lt;P&gt;What I need to do is to have a synthetic dimension which groups SA,&amp;nbsp; ST in S and PA, PT in P.&lt;/P&gt;&lt;P&gt;I do not know if there is anything in Qlik which can do that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The closest function which I could think of was ValueList so I used it to express my need.&lt;/P&gt;&lt;P&gt;I hope it is clear now.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 13:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ValueList-to-match-with-multiple-values/m-p/1734841#M452543</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2020-08-11T13:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: ValueList to match with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/ValueList-to-match-with-multiple-values/m-p/1735099#M452561</link>
      <description>&lt;P&gt;The use of valuelist() is often the most unsuitable way of creating a (part of a) datamodel. The recommended way is to associate all dimensions directly within the script/datamodel. Should this really not possible you could create such synthetic dimensions also within the datamodel as loosen tables (tables which have no further connection to other tables) for example with simple inline-statements because it's more flexible and easier to handle within the UI as with a valuelist().&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 06:36:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ValueList-to-match-with-multiple-values/m-p/1735099#M452561</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-08-12T06:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: ValueList to match with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/ValueList-to-match-with-multiple-values/m-p/1735112#M452564</link>
      <description>&lt;P&gt;Looking into your sample data and requirement, it seems that you could use a calculated dimension instead.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calc Dim : &lt;FONT face="courier new,courier"&gt;Left(Entity, 1)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Exp : &lt;FONT face="courier new,courier"&gt;Sum(QNT)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;You have to find a pattern for calculated dimension if this doesn't exactly solve your case issue.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 07:13:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ValueList-to-match-with-multiple-values/m-p/1735112#M452564</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-08-12T07:13:43Z</dc:date>
    </item>
  </channel>
</rss>

