<?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: Calculated Dimension If Statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-If-Statement/m-p/1445745#M512630</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! I don't know what I was thinking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Dec 2017 20:36:41 GMT</pubDate>
    <dc:creator>mp802377</dc:creator>
    <dc:date>2017-12-21T20:36:41Z</dc:date>
    <item>
      <title>Calculated Dimension If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-If-Statement/m-p/1445743#M512628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an expression I need to make a calculated dimension so I can suppress null values (I only want to show values that have a 1 in the field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the working expression:&lt;/P&gt;&lt;P&gt;If(Count({$&amp;lt;SITE={$(=[Base Site])}, FIELD1=, FIELD2=&amp;gt;} TOTAL&amp;lt;SITE, MARKET&amp;gt; FARE) = 0 and FARE = Min({$&amp;lt;FIELD1=, FIELD2=&amp;gt;} TOTAL&amp;lt;SITE, MARKET&amp;gt; FARE), 'Missing')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I, of course, didn't work when I put it in the calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried this in the calculated dimension:&lt;/P&gt;&lt;P&gt;aggr(If(Count({$&amp;lt;SITE={$(=[Base Site])}, FIELD1=, FIELD2=&amp;gt;} TOTAL&amp;lt;SITE, MARKET&amp;gt; FARE) = 0 and FARE = Min({$&amp;lt;FIELD1=, FIELD2=&amp;gt;} TOTAL&amp;lt;SITE, MARKET&amp;gt; FARE), 'Missing'),'Missing')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Martha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 19:31:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-If-Statement/m-p/1445743#M512628</guid>
      <dc:creator>mp802377</dc:creator>
      <dc:date>2017-12-21T19:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-If-Statement/m-p/1445744#M512629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martha, Aggr parameters should be the field that you want to iterate the expression, not a string, can you try ending the expression as:&lt;/P&gt;&lt;P&gt;...&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;TOTAL&amp;lt;SITE, MARKET&amp;gt; FARE), 'Missing'), &lt;EM&gt;FieldName&lt;/EM&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Where FieldName should be the dimension used in the table where the expression is working, separated by commas if these needs more than one dimension.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Selections in the aggr column of the 'Missing' value will make the selections in the fields used as Aggr() parameters&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 19:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-If-Statement/m-p/1445744#M512629</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-12-21T19:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-If-Statement/m-p/1445745#M512630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! I don't know what I was thinking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 20:36:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-If-Statement/m-p/1445745#M512630</guid>
      <dc:creator>mp802377</dc:creator>
      <dc:date>2017-12-21T20:36:41Z</dc:date>
    </item>
  </channel>
</rss>

