<?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: Set Analysis expression using multiple if statements ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-expression-using-multiple-if-statements/m-p/1566148#M441741</link>
    <description>I think a PickMatch would be a good choice in this scenario.&lt;BR /&gt;&lt;BR /&gt;Sum(Pick (Match(Label&amp;amp;Client,'AX','BY' ,'CX', 'DX' , 'EX') ,measurefield1, measurefield2, measurefield3, measurefield4, measurefield 5))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 07 Apr 2019 19:19:47 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2019-04-07T19:19:47Z</dc:date>
    <item>
      <title>Set Analysis expression using multiple if statements ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-expression-using-multiple-if-statements/m-p/1566145#M441740</link>
      <description>&lt;P&gt;How can write this if else formula using set analysis ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If label = 'A' and client = 'X' then&amp;nbsp; Sum(measurefield1)/If label = 'B and client = 'Y' then&amp;nbsp; Sum(measurefield2)&lt;/P&gt;&lt;P&gt;If label = 'C' and client = 'X' then&amp;nbsp; Sum(measurefield3)/If label = 'D' and client = 'X' then&amp;nbsp; Sum(measurefield4)&lt;/P&gt;&lt;P&gt;If label = 'E' and client = 'X' then&amp;nbsp; Sum(measurefield5)&lt;/P&gt;&lt;P&gt;If label = 'F' and client = 'X' then&amp;nbsp; Sum(measurefield6)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:55:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-expression-using-multiple-if-statements/m-p/1566145#M441740</guid>
      <dc:creator>bob654321</dc:creator>
      <dc:date>2024-11-16T03:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis expression using multiple if statements ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-expression-using-multiple-if-statements/m-p/1566148#M441741</link>
      <description>I think a PickMatch would be a good choice in this scenario.&lt;BR /&gt;&lt;BR /&gt;Sum(Pick (Match(Label&amp;amp;Client,'AX','BY' ,'CX', 'DX' , 'EX') ,measurefield1, measurefield2, measurefield3, measurefield4, measurefield 5))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 07 Apr 2019 19:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-expression-using-multiple-if-statements/m-p/1566148#M441741</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-04-07T19:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis expression using multiple if statements ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-expression-using-multiple-if-statements/m-p/1566161#M441743</link>
      <description>How can I calculate the division(Sum(Measure1)/Sum(Measure2) using multiple if conditions as I mentioned in my initial post ?</description>
      <pubDate>Sun, 07 Apr 2019 23:09:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-expression-using-multiple-if-statements/m-p/1566161#M441743</guid>
      <dc:creator>bob654321</dc:creator>
      <dc:date>2019-04-07T23:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis expression using multiple if statements ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-expression-using-multiple-if-statements/m-p/1566243#M441754</link>
      <description>Since the alphabets match the field number in your requirement create a variable like the below&lt;BR /&gt;&lt;BR /&gt;Variable1 = 'MEASURE'&amp;amp;( (ord('$(=FIELD)') +1)-65)&lt;BR /&gt;&lt;BR /&gt;Expression : Sum( $(variable1 ))&lt;BR /&gt;&lt;BR /&gt;The measure field will change based on the selection you make</description>
      <pubDate>Mon, 08 Apr 2019 08:33:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-expression-using-multiple-if-statements/m-p/1566243#M441754</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2019-04-08T08:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis expression using multiple if statements ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-expression-using-multiple-if-statements/m-p/1566431#M441780</link>
      <description>How can I calculate the division using multiple if statements ?</description>
      <pubDate>Mon, 08 Apr 2019 13:28:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-expression-using-multiple-if-statements/m-p/1566431#M441780</guid>
      <dc:creator>bob654321</dc:creator>
      <dc:date>2019-04-08T13:28:30Z</dc:date>
    </item>
  </channel>
</rss>

