<?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 Group field values in IF statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Group-field-values-in-IF-statement/m-p/1509688#M600328</link>
    <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;I'm new in qlikview and i have a doubt:&lt;BR /&gt;I have a field named &lt;STRONG&gt;Status &lt;/STRONG&gt;and i have 3 distinct values (O, C, R), so i need to join O + R and give a name 'Open'. But i need to isolate Status as Open with just Open too. This is the script i have:&lt;BR /&gt;If(STATUS = 'O', 'Open', If(STATUS = 'C', 'Close', 'Reopen')) as Status&lt;BR /&gt;&lt;BR /&gt;thanks&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 21:51:40 GMT</pubDate>
    <dc:creator>Ricky16</dc:creator>
    <dc:date>2024-11-16T21:51:40Z</dc:date>
    <item>
      <title>Group field values in IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Group-field-values-in-IF-statement/m-p/1509688#M600328</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;I'm new in qlikview and i have a doubt:&lt;BR /&gt;I have a field named &lt;STRONG&gt;Status &lt;/STRONG&gt;and i have 3 distinct values (O, C, R), so i need to join O + R and give a name 'Open'. But i need to isolate Status as Open with just Open too. This is the script i have:&lt;BR /&gt;If(STATUS = 'O', 'Open', If(STATUS = 'C', 'Close', 'Reopen')) as Status&lt;BR /&gt;&lt;BR /&gt;thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:51:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-field-values-in-IF-statement/m-p/1509688#M600328</guid>
      <dc:creator>Ricky16</dc:creator>
      <dc:date>2024-11-16T21:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Group field values in IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Group-field-values-in-IF-statement/m-p/1509699#M600329</link>
      <description>A single row will say O + R, or this is across multiple rows? What is the common field we are checking O and R against?</description>
      <pubDate>Tue, 20 Nov 2018 12:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-field-values-in-IF-statement/m-p/1509699#M600329</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-20T12:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Group field values in IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Group-field-values-in-IF-statement/m-p/1509704#M600330</link>
      <description>&lt;P&gt;In Status field i only have values 'O' (Open), 'R' (Reopen) and 'C' (Closed)&lt;/P&gt;&lt;P&gt;If status is O or R so it's 'Open' but if it's only R it need to be named as 'Reopen'&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 12:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-field-values-in-IF-statement/m-p/1509704#M600330</guid>
      <dc:creator>Ricky16</dc:creator>
      <dc:date>2018-11-20T12:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Group field values in IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Group-field-values-in-IF-statement/m-p/1509713#M600331</link>
      <description>But a single row can ever have O or R, right? Do you have a transaction id against which are checking this? Meaning&lt;BR /&gt;&lt;BR /&gt;Transaction Status&lt;BR /&gt;123 O&lt;BR /&gt;123 R&lt;BR /&gt;&lt;BR /&gt;so, now the Transaction 123 will be Open&lt;BR /&gt;&lt;BR /&gt;Transaction Status&lt;BR /&gt;345 R&lt;BR /&gt;&lt;BR /&gt;but transaction 345 will be Reopen?</description>
      <pubDate>Tue, 20 Nov 2018 13:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-field-values-in-IF-statement/m-p/1509713#M600331</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-20T13:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Group field values in IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Group-field-values-in-IF-statement/m-p/1509718#M600332</link>
      <description>It sounds like you need two fields. A single field in a record will not be able to reflect both conditions.</description>
      <pubDate>Tue, 20 Nov 2018 13:09:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-field-values-in-IF-statement/m-p/1509718#M600332</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-11-20T13:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Group field values in IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Group-field-values-in-IF-statement/m-p/1509723#M600333</link>
      <description>&lt;P&gt;Try like this : Create an new field with the inline load that should take care&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOAD * inline&amp;nbsp;&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Status&amp;nbsp;, New_Status&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;O,Open&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;R,Open&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;R,Reopen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;C,Closed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Now use the New_Status field that will server the purpose&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 13:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-field-values-in-IF-statement/m-p/1509723#M600333</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2018-11-20T13:17:48Z</dc:date>
    </item>
  </channel>
</rss>

