<?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 Simple Dimension Expression Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-Dimension-Expression-Issue/m-p/298049#M1202956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it depends on how you have built your data model.&lt;/P&gt;&lt;P&gt;To get the count of fields with Y or N, you can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Count({&amp;lt; PuttableF = {'Y'} &amp;gt;} ID)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;For "Neither", you can try (although I don't know how it will work)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Count({1 - &amp;lt; PuttableF = {'Y', 'N'} &amp;gt;} ID)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jan 2011 16:51:07 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-01-04T16:51:07Z</dc:date>
    <item>
      <title>Simple Dimension Expression Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Dimension-Expression-Issue/m-p/298046#M1202953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So this is probably a really easy question to answer, but didn't find anything in a search:&lt;/P&gt;&lt;P&gt;I have a List Box that splits my data into two categories - Y and N.&lt;/P&gt;&lt;P&gt;I want to put in a bar graph that shows both the Yes and the No data. I thought an if() statement would be appropriate but can't seem to get the correct expression that QV would like. I think it has something to do with my input after the '=' sign...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(PuttableF=N, 'No',if(PuttableF=Y, 'Yes','Neither'))&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 16:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Dimension-Expression-Issue/m-p/298046#M1202953</guid>
      <dc:creator />
      <dc:date>2011-01-04T16:13:06Z</dc:date>
    </item>
    <item>
      <title>Simple Dimension Expression Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Dimension-Expression-Issue/m-p/298047#M1202954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;If PuttableF is a field that contains "Y" or "N", then use it as dimension, and do a Count(Field) where Field is any field related to those Y or N.&lt;/P&gt;&lt;P&gt;Anyway, check some missing single quotes in your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=if(PuttableF = 'N', 'No', if(PuttableF = 'Y', 'Yes', 'Neither'))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Note that conditional based calculated dimensions will take a lot of time to render, so avoid them whenever possible.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 16:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Dimension-Expression-Issue/m-p/298047#M1202954</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-01-04T16:18:37Z</dc:date>
    </item>
    <item>
      <title>Simple Dimension Expression Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Dimension-Expression-Issue/m-p/298048#M1202955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel, the single quotes worked. I have a pretty nice sized if() statement dimension already in the chart (and noticed the difference in time it took to save/open the file). But doesn't the count() function just give the number of Y or N values and not the values themselves? I need to display the actual values too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 16:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Dimension-Expression-Issue/m-p/298048#M1202955</guid>
      <dc:creator />
      <dc:date>2011-01-04T16:27:16Z</dc:date>
    </item>
    <item>
      <title>Simple Dimension Expression Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Dimension-Expression-Issue/m-p/298049#M1202956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it depends on how you have built your data model.&lt;/P&gt;&lt;P&gt;To get the count of fields with Y or N, you can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Count({&amp;lt; PuttableF = {'Y'} &amp;gt;} ID)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;For "Neither", you can try (although I don't know how it will work)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Count({1 - &amp;lt; PuttableF = {'Y', 'N'} &amp;gt;} ID)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 16:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Dimension-Expression-Issue/m-p/298049#M1202956</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-01-04T16:51:07Z</dc:date>
    </item>
  </channel>
</rss>

