<?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 set analysis with 2 different data types in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-with-2-different-data-types/m-p/1374576#M419708</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm having a set analysis with alternate sates where I have show data of 2 different data types, Both number and string&lt;/P&gt;&lt;P&gt;Here is what i'm using,&lt;BR /&gt; MaxString({[state1]&amp;lt;field1={1}&amp;gt;}ir02.kpi_value)+sum({[state1]&amp;lt;field1={2}&amp;gt;}ir02.kpi_value)&lt;BR /&gt;since data is of 2 different data types set analysis is not performing OR operation.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Other way i'm trying is using if condition but not sure how to use alternate states in if condtion.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Oct 2017 09:11:24 GMT</pubDate>
    <dc:creator>kmswetha</dc:creator>
    <dc:date>2017-10-30T09:11:24Z</dc:date>
    <item>
      <title>set analysis with 2 different data types</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-2-different-data-types/m-p/1374576#M419708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm having a set analysis with alternate sates where I have show data of 2 different data types, Both number and string&lt;/P&gt;&lt;P&gt;Here is what i'm using,&lt;BR /&gt; MaxString({[state1]&amp;lt;field1={1}&amp;gt;}ir02.kpi_value)+sum({[state1]&amp;lt;field1={2}&amp;gt;}ir02.kpi_value)&lt;BR /&gt;since data is of 2 different data types set analysis is not performing OR operation.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Other way i'm trying is using if condition but not sure how to use alternate states in if condtion.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 09:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-2-different-data-types/m-p/1374576#M419708</guid>
      <dc:creator>kmswetha</dc:creator>
      <dc:date>2017-10-30T09:11:24Z</dc:date>
    </item>
  </channel>
</rss>

