<?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: Decoding Flag values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Decoding-Flag-values/m-p/879007#M660817</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your response&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2015 20:35:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-09T20:35:58Z</dc:date>
    <item>
      <title>Decoding Flag values</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-Flag-values/m-p/879004#M660811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Qlikview.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;How can I decode the Y,N and null values from a flag field to meaningful text .So that,user can select the required text&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Condition&lt;/P&gt;&lt;P&gt;if food_&lt;SPAN style="font-size: 13.3333330154419px;"&gt;flag IN ('Y') then 'fruits'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If &lt;SPAN style="font-size: 13.3333330154419px;"&gt;food_&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;flag&lt;/SPAN&gt; IN ('Y','N')&amp;nbsp; then 'fruits and veg'&lt;/P&gt;&lt;P&gt;else 'other food'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please provide the syntax to write in expression for the bove condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 19:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-Flag-values/m-p/879004#M660811</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-08T19:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding Flag values</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-Flag-values/m-p/879005#M660813</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;It is difficult to make the above condition in a selection box,&amp;nbsp; because you have non-exclusive grouping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In alternative you can have (either in the calculated dimension or in the script):&lt;/P&gt;&lt;P&gt;if(flood_flag='Y','fruits',if(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;flood_flag='N','veg','other food'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Qlikview will perform better and allow you to select multiple values easily, to combine fruit and vegetables.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you really need to have that unconventional group you can create buttons that make selections.In the button (label it 'fruit and veg') and set the action to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;select value 'Y' on the filed flood_flag and another action to select value 'N'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Nuno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 21:01:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-Flag-values/m-p/879005#M660813</guid>
      <dc:creator />
      <dc:date>2015-04-08T21:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding Flag values</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-Flag-values/m-p/879006#M660815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you can write something like this as well..just an idea..you might have to make it dynamic..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;'Fruits' as Type&lt;/P&gt;&lt;P&gt;where food_&lt;SPAN style="font-size: 13px;"&gt;flag ='Y'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;concatenate &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;'fruits and veg' as Type&lt;/P&gt;&lt;P&gt;where food_&lt;SPAN style="font-size: 13px;"&gt;flag ='Y'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;concatenate &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;'fruits and veg' as Type&lt;/P&gt;&lt;P&gt;where food_&lt;SPAN style="font-size: 13px;"&gt;flag ='N'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 21:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-Flag-values/m-p/879006#M660815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-08T21:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding Flag values</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-Flag-values/m-p/879007#M660817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your response&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 20:35:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-Flag-values/m-p/879007#M660817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-09T20:35:58Z</dc:date>
    </item>
  </channel>
</rss>

