<?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 Table Expressions :  Gran Total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Table-Expressions-Gran-Total/m-p/450431#M561863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I'm trying to make some calculations to keep the Score for results but I can't get the correct Totals (Grand Total).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some background so you know what I'm trying to accomplish:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Static table ( which I control by ignoring selections and by establishing specific criteria)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I'm displaying results specific to Monthly Type and other conditions listed here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{1&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Survey Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Top Box'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Unit]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Total'}, &lt;/SPAN&gt;&lt;SPAN style=": ; color: #800000; font-size: 8pt;"&gt;OVRL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Y'}, &lt;/SPAN&gt;&lt;SPAN style=": ; color: #800000; font-size: 8pt;"&gt;PeriodType&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Monthly'}&amp;gt;} &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Now I have to show based on the Group(dimension) who met the condition: (I used Only &amp;amp; &lt;SPAN id="misspelled"&gt;Avg&lt;/SPAN&gt;&lt;A&gt;&lt;/A&gt; and get same result which is correct at Domain level &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;= &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Survey Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Top Box'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Unit]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Total'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OVRL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Y'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PeriodType&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Monthly'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Group %Tile]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&amp;gt;= 50,1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style=": ; font-size: 1;"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the Domain Level&amp;nbsp; I get 1 or 0 correctly when &amp;gt;= 50.&amp;nbsp; But when trying to get grand total I get Zero (0).&amp;nbsp; I have 10 Domains and 3 met I &lt;SPAN id="misspelled"&gt;should&lt;/SPAN&gt;&lt;A&gt;&lt;/A&gt; see 3 on my grand Total&amp;nbsp; but shows Zero. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Originally I was using &lt;SPAN id="misspelled"&gt;AVG&lt;/SPAN&gt;&lt;A&gt;&lt;/A&gt; instead of ONLY and I thought that was my problem but still get same result. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can share some insight on this will be great. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Mar 2013 16:22:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-18T16:22:04Z</dc:date>
    <item>
      <title>Table Expressions :  Gran Total</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Expressions-Gran-Total/m-p/450431#M561863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I'm trying to make some calculations to keep the Score for results but I can't get the correct Totals (Grand Total).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some background so you know what I'm trying to accomplish:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Static table ( which I control by ignoring selections and by establishing specific criteria)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I'm displaying results specific to Monthly Type and other conditions listed here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{1&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Survey Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Top Box'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Unit]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Total'}, &lt;/SPAN&gt;&lt;SPAN style=": ; color: #800000; font-size: 8pt;"&gt;OVRL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Y'}, &lt;/SPAN&gt;&lt;SPAN style=": ; color: #800000; font-size: 8pt;"&gt;PeriodType&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Monthly'}&amp;gt;} &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Now I have to show based on the Group(dimension) who met the condition: (I used Only &amp;amp; &lt;SPAN id="misspelled"&gt;Avg&lt;/SPAN&gt;&lt;A&gt;&lt;/A&gt; and get same result which is correct at Domain level &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;= &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Survey Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Top Box'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Unit]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Total'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OVRL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Y'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PeriodType&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Monthly'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Group %Tile]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&amp;gt;= 50,1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style=": ; font-size: 1;"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the Domain Level&amp;nbsp; I get 1 or 0 correctly when &amp;gt;= 50.&amp;nbsp; But when trying to get grand total I get Zero (0).&amp;nbsp; I have 10 Domains and 3 met I &lt;SPAN id="misspelled"&gt;should&lt;/SPAN&gt;&lt;A&gt;&lt;/A&gt; see 3 on my grand Total&amp;nbsp; but shows Zero. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Originally I was using &lt;SPAN id="misspelled"&gt;AVG&lt;/SPAN&gt;&lt;A&gt;&lt;/A&gt; instead of ONLY and I thought that was my problem but still get same result. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can share some insight on this will be great. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 16:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Expressions-Gran-Total/m-p/450431#M561863</guid>
      <dc:creator />
      <dc:date>2013-03-18T16:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Table Expressions :  Gran Total</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Expressions-Gran-Total/m-p/450432#M561864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi without seeing an app, I think you are either......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; - missing an aggregation function around you IF Statement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=SUM(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ((&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;[Survey Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Top Box'}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;[Unit]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Total'}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;OVRL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Y'}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;PeriodType&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Monthly'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;[Group %Tile]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&amp;gt;= 50,1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try putting a simple sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; - Alternatively, in your expression tab of your chart properties, you can try to select sum of rows rather than expression total in the "Total Mode" setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABY.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 16:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Expressions-Gran-Total/m-p/450432#M561864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-18T16:34:04Z</dc:date>
    </item>
  </channel>
</rss>

