<?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 Alternate state and if statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-state-and-if-statement/m-p/716747#M1074484</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a radar chart showing two groups - our organisation and the sector. The sector group can be divided into three categories and what I want to do is show on the chart label which group is being selected. I can do this with an if statement but the issue I'm having is that I have the sector data as an alternate state and I can't get the IF statement to work for the alternate state. Here is my statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if([Inst/Inst Group]='Benchmark','Benchmark', if([Inst/Inst Group]='Competitor','UCAS competitor',if([Inst/Inst Group]='Other','Sector')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where do I put the alternate state in the syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alison&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Aug 2014 13:56:04 GMT</pubDate>
    <dc:creator>alisonpwallis</dc:creator>
    <dc:date>2014-08-05T13:56:04Z</dc:date>
    <item>
      <title>Alternate state and if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-state-and-if-statement/m-p/716747#M1074484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a radar chart showing two groups - our organisation and the sector. The sector group can be divided into three categories and what I want to do is show on the chart label which group is being selected. I can do this with an if statement but the issue I'm having is that I have the sector data as an alternate state and I can't get the IF statement to work for the alternate state. Here is my statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if([Inst/Inst Group]='Benchmark','Benchmark', if([Inst/Inst Group]='Competitor','UCAS competitor',if([Inst/Inst Group]='Other','Sector')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where do I put the alternate state in the syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alison&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 13:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-state-and-if-statement/m-p/716747#M1074484</guid>
      <dc:creator>alisonpwallis</dc:creator>
      <dc:date>2014-08-05T13:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate state and if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-state-and-if-statement/m-p/716748#M1074485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick(match(only(&lt;STRONG&gt;{State1}&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Inst/Inst Group]&lt;/SPAN&gt;), 'Benchmark', 'Competitor', 'Other'), 'Benchmark', 'UCAS competitor', 'Sector')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 15:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-state-and-if-statement/m-p/716748#M1074485</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-08-05T15:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate state and if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-state-and-if-statement/m-p/716749#M1074486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's great - thank you!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Alison&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 16:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-state-and-if-statement/m-p/716749#M1074486</guid>
      <dc:creator>alisonpwallis</dc:creator>
      <dc:date>2014-08-05T16:15:59Z</dc:date>
    </item>
  </channel>
</rss>

