<?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: If(dimensionality () = 0 &amp; 1 ? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/If-dimensionality-0-1/m-p/1425652#M34002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Is there a syntax that alows me to write only one time the expression (as the fonction "OR" in excel) ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If(Dimensionality() = 0 Or Dimensionality() = 1, .....)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Nov 2017 09:38:24 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2017-11-07T09:38:24Z</dc:date>
    <item>
      <title>If(dimensionality () = 0 &amp; 1 ?</title>
      <link>https://community.qlik.com/t5/App-Development/If-dimensionality-0-1/m-p/1425650#M34000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a PIVOT TAB like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="PIVOT.png" class="jive-image image-1" height="312" src="https://community.qlik.com/legacyfs/online/182345_PIVOT.png" style="height: 312px; width: 270.13px;" width="270" /&gt;&lt;/P&gt;&lt;P&gt;I created Aggr expressions with ratios and i use IF( dimensionality () for TOTAL and SUBTOTAL calculations like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Dimensionality() = 0,&lt;/P&gt;&lt;P&gt;Sum(Aggr( .....&lt;/P&gt;&lt;P&gt;If(Dimensionality() = 1,&lt;/P&gt;&lt;P&gt;Sum(Aggr(....,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's working perfectly, but i think it's a too complicated syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is there a syntax that alows me to write only one time the expression (as the fonction "OR" in excel) ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If(Dimensionality() = 0, &lt;EM style="font-size: 10pt;"&gt;OR&lt;/EM&gt; 1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sum ( Aggr( ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 09:33:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-dimensionality-0-1/m-p/1425650#M34000</guid>
      <dc:creator>philgood34</dc:creator>
      <dc:date>2017-11-07T09:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: If(dimensionality () = 0 &amp; 1 ?</title>
      <link>https://community.qlik.com/t5/App-Development/If-dimensionality-0-1/m-p/1425651#M34001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the aggr() includes all the chart dimensions, then you would not need a separate logic for the subtotals and totals, so you would not need the Dimensionality() split. Unless, of course, you &lt;EM&gt;need&lt;/EM&gt; different logic, like and Average at the totalling levels and a sum at the detail levels, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 09:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-dimensionality-0-1/m-p/1425651#M34001</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-11-07T09:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: If(dimensionality () = 0 &amp; 1 ?</title>
      <link>https://community.qlik.com/t5/App-Development/If-dimensionality-0-1/m-p/1425652#M34002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Is there a syntax that alows me to write only one time the expression (as the fonction "OR" in excel) ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If(Dimensionality() = 0 Or Dimensionality() = 1, .....)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 09:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-dimensionality-0-1/m-p/1425652#M34002</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-11-07T09:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: If(dimensionality () = 0 &amp; 1 ?</title>
      <link>https://community.qlik.com/t5/App-Development/If-dimensionality-0-1/m-p/1425653#M34003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your explanations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Dimensionality() = 0 Or Dimensionality() = 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;is&amp;nbsp; all right !&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;regards&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Philippe&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 09:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-dimensionality-0-1/m-p/1425653#M34003</guid>
      <dc:creator>philgood34</dc:creator>
      <dc:date>2017-11-07T09:55:52Z</dc:date>
    </item>
  </channel>
</rss>

