<?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: Total for variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218285#M389927</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see.&lt;/P&gt;&lt;P&gt;No, still I get this error:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="err.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/152403_err.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2017 08:12:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-08T08:12:56Z</dc:date>
    <item>
      <title>Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218266#M389908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have expression in table called 'vPass' that return result 0 or 1.&lt;/P&gt;&lt;P&gt;The vPass value is varible called 'vCalTrueFalse':&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vPass &lt;/SPAN&gt;=$(vCalTrueFalse).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create total field for vPass in TextObject at dashboard.&lt;/P&gt;&lt;P&gt;I tried ' Sum($(=vCalTrueFalse))' but it give me an error: 'Nested aggregation not allowed'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 09:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218266#M389908</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-06T09:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218267#M389909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravit,&lt;/P&gt;&lt;P&gt;And how does you Variable vCalTrueFalse looks like, is it a aggregation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 10:03:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218267#M389909</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2017-02-06T10:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218268#M389910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vCalTrueFalse &lt;/SPAN&gt; = if($(vCalPassFail)='Pass', 1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vCalPassFail = &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;((ParamID =98 or ParamID=99) and&amp;nbsp; $(vResult)&amp;lt;vMCS,'Fail',&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;((ParamID =102 or ParamID=100) and TestnameID&amp;lt;3 and $(vResult)&amp;lt;vGoodput, 'Fail',&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;(DashboardID =1 and $(vResult)&amp;lt;Connectivity, 'Fail',&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;(DashboardID =5 and $(vResult)&amp;lt;TotalSamplingTime, 'Fail',&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;((ParamID =102 or ParamID=100) and TestnameID&amp;gt;2 and $(vResult)&amp;lt;vGoodput_FDX, 'Fail','Pass')))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 10:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218268#M389910</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-06T10:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218269#M389911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Plss attach sample..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 10:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218269#M389911</guid>
      <dc:creator>sdmech81</dc:creator>
      <dc:date>2017-02-06T10:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218270#M389912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Pass.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/152129_Pass.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass column represent &lt;SPAN style="font-size: 13.3333px;"&gt;variable &lt;/SPAN&gt;vCalPassFail&lt;/P&gt;&lt;P&gt;vPass column represent variable vTrueFalse&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do is show in text object the 'Pass' percentage.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 10:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218270#M389912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-06T10:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218271#M389913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&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;Sum( AGGR( SUM($(=vCalTrueFalse)) , &lt;STRONG&gt;YourTableDimensions))&lt;/STRONG&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;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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;STRONG&gt;or post the app&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 10:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218271#M389913</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-02-06T10:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218272#M389914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its return zero. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I post the app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 10:16:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218272#M389914</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-06T10:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218273#M389915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible could you please attach a sample file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because normally I think =sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vCalTrueFalse&lt;/SPAN&gt;)&amp;nbsp;&amp;nbsp; is enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aiolos Zhao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 10:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218273#M389915</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2017-02-06T10:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218274#M389916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot attached the file (security issue).&lt;/P&gt;&lt;P&gt;Any way, its still return zero.&lt;/P&gt;&lt;P&gt;See attach table and Grade, is there another way to calculate grade?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Pass.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/152162_Pass.PNG" style="height: 265px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 13:18:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218274#M389916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-06T13:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218275#M389917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this post on attaching a file&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-16454"&gt;Uploading a Sample&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 13:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218275#M389917</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-02-06T13:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218276#M389918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;Try either one and substitute the correct fieldnames?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AGGR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&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;MATCH&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('&lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;$(vCalTrueFalse)' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'PASS'), 1,0)),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DashboardName, ReportParam&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;STRONG&gt;or&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AGGR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&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;MATCH&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('&lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;$(=vCalTrueFalse)' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'PASS'), 1,0)),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DashboardName, ReportParam&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;STRONG&gt;Hopefully that helps!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 14:00:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218276#M389918</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-06T14:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218277#M389919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attachment, any questions or problems please tell me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Total for variable.PNG" class="jive-image image-1" src="/legacyfs/online/152234_Total for variable.PNG" style="height: 295px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aiolos Zhao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 02:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218277#M389919</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2017-02-07T02:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218278#M389920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="err.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/152245_err.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Got this error in two options...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 07:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218278#M389920</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-07T07:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218279#M389921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I cannot open the attched file.&lt;/P&gt;&lt;P&gt;Can you write the formula?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 09:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218279#M389921</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-07T09:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218280#M389922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is : &lt;/P&gt;&lt;P&gt;=sum($(vpass))/Count($(vpass))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the important is the variable :&lt;/P&gt;&lt;P&gt;in script :&lt;/P&gt;&lt;P&gt;set vpass = if(Pass = 'Fail',0,if(Pass = 'Pass',1));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any questions please tell me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aiolos Zhao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 10:42:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218280#M389922</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2017-02-07T10:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218281#M389923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I try to do what you suggest and I get '-' result in grade. I will explain what I did:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since Pass and vPass are varibles (and not table columns) ,&lt;/P&gt;&lt;P&gt;I defined 3 new varibles in my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set vsResult =if(DashboardID =1 , ROUND((SUM(ColumnB_Value)/Count(ColumnB_Value))*100, 2), &lt;/P&gt;&lt;P&gt;if ((DashboardID = 5 or DashboardID = 7) ,AVG(ColumnB_Sum),&lt;/P&gt;&lt;P&gt;avg(ColumnB_Value)));&lt;/P&gt;&lt;P&gt;set vtPass = if((ParamID =98 or ParamID=99) and&amp;nbsp; $(vsResult)&amp;lt;vMCS,'Fail',&lt;/P&gt;&lt;P&gt;if((ParamID =102 or ParamID=100) and TestnameID&amp;lt;3 and $(vsResult)&amp;lt;vGoodput, 'Fail',&lt;/P&gt;&lt;P&gt;if(DashboardID =1 and $(vsResult)&amp;lt;Connectivity,'Fail',&lt;/P&gt;&lt;P&gt;if(DashboardID =5 and $(vsResult)&amp;lt;TotalSamplingTime, 'Fail',&lt;/P&gt;&lt;P&gt;if((ParamID =102 or ParamID=100) and TestnameID&amp;gt;2 and $(vsResult)&amp;lt;vGoodput_FDX, 'Fail','Pass')))));&lt;/P&gt;&lt;P&gt;set vsPass = if(vtPass = 'Fail',0,if(vtPass = 'Pass',1));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I set this expression in Grade textBox:&lt;/P&gt;&lt;P&gt;=sum($(vsPass))/Count($(vsPass))&lt;/P&gt;&lt;P&gt;See picture:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="q.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/152294_q.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Get '-' result in grade &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;What's wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 11:35:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218281#M389923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-07T11:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218282#M389924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You data seems a little complex, so I didn't use your data to test, Last time I thought that the Pass is a column, now I change my code : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set vtPass = if(DashboardName = 'Connectivity','Fail','Pass');&lt;/P&gt;&lt;P&gt;set vsPass = if($(vtPass) = 'Fail',0,if($(vtPass) = 'Pass',1));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DashboardName, ReportParam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connectivity, Connect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connectivity, Disconnect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connectivity, Ping&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connectivity, Scan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Performance, PingLatency&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Performance, MCS STA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Performance, MCS AP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Performance, TxGoodput&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Performance, RxGoodput&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Power, Power&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stability, Link stability&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System, PER&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System, FA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System, BF&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in text object : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum($(vsPass))/Count($(vsPass))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Total for variable2.PNG" class="jive-image image-1" src="/legacyfs/online/152376_Total for variable2.PNG" style="height: 292px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aiolos Zhao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 02:41:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218282#M389924</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2017-02-08T02:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218283#M389925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks for your answer .&lt;/P&gt;&lt;P&gt;I did all you suggest beside this code:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * INLINE [&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DashboardName, ReportParam&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connectivity, Connect&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connectivity, Disconnect&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connectivity, Ping&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connectivity, Scan&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Performance, PingLatency&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Performance, MCS STA&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Performance, MCS AP&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Performance, TxGoodput&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Performance, RxGoodput&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Power, Power&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stability, Link stability&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System, PER&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System, FA&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System, BF&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;];&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;What the&amp;nbsp; meanning of this code? Why I need it?&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 Feb 2017 08:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218283#M389925</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-08T08:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218284#M389926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just pasted all my code to you, that table is my data, because I don't have the data source of yours. So I created a table to make it, actually you don't need it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you solved your problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aiolos Zhao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 08:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218284#M389926</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2017-02-08T08:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Total for variable</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218285#M389927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see.&lt;/P&gt;&lt;P&gt;No, still I get this error:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="err.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/152403_err.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 08:12:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-variable/m-p/1218285#M389927</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-08T08:12:56Z</dc:date>
    </item>
  </channel>
</rss>

