<?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 several expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1601494#M737120</link>
    <description>&lt;P&gt;Fantastic, thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a little trouble at first as the original expressions were not enabled (as i didn't want to see them on the graph) but then i realised i could enable them but make them invisible.&lt;/P&gt;&lt;P&gt;The problem of them being in 'xxx' rather than [xxx] was that was what QlikView itself inserted them as and i didnt realise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can i just check - what type of Average does the RangeAvg return?&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2019 15:07:20 GMT</pubDate>
    <dc:creator>peterderrington</dc:creator>
    <dc:date>2019-07-11T15:07:20Z</dc:date>
    <item>
      <title>Total several expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1600478#M737112</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have several expressions that show a compliance ratio (shown in percentages) and i would like to be able to show a total of all these ratios together (again as a percentage).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't for the life of me work out how to generate this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1600478#M737112</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Total several expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1600669#M737113</link>
      <description>&lt;P&gt;Can you post an example of what you have for the expressions?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 02:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1600669#M737113</guid>
      <dc:creator>lblumenfeld</dc:creator>
      <dc:date>2019-07-10T02:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Total several expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1601351#M737114</link>
      <description>&lt;P&gt;Certainly;&lt;/P&gt;&lt;P&gt;I have 6 different expressions which calculate a percentage of compliance for different locations like this:&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Ward={'NSEC03'},[Questions Complete]={'Yes'},[Ward transferred to]-={'NSEC07'}&amp;gt;}Ward)/Count({&amp;lt;Ward={'NSEC03'}, [Ward transferred to]-={'NSEC07'}&amp;gt;}Ward)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Count({&amp;lt;Ward={'NSEC04'},[Questions Complete]={'Yes'},[Ward transferred to]-={'NSEC07'}&amp;gt;}Ward)/Count({&amp;lt;Ward={'NSEC04'}, [Ward transferred to]-={'NSEC07'}&amp;gt;}Ward)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Count({&amp;lt;Ward={'NSEC09'},[Questions Complete]={'Yes'},[Ward transferred to]-={'NSEC07','NSECFAS'}&amp;gt;}Ward)/Count({&amp;lt;Ward={'NSEC09'}, [Ward transferred to]-={'NSEC07','NSECFAS'}&amp;gt;}Ward)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Count({&amp;lt;Ward={'NSEC10','NSEC10C'},[Questions Complete]={'Yes'},[Ward transferred to]-={'NSEC10','NSEC10C'}&amp;gt;}Ward)/Count({&amp;lt;Ward={'NSEC10','NSEC10C'}, [Ward transferred to]-={'NSEC10','NSEC10C'}&amp;gt;}Ward)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Count({&amp;lt;Ward={'NSEC12','NSEC12R'},[Questions Complete]={'Yes'},[Ward transferred to]-={'NSEC12','NSEC12R','NSEC07'}&amp;gt;}Ward)/Count({&amp;lt;Ward={'NSEC12','NSEC12R'}, [Ward transferred to]-={'NSEC12','NSEC12R','NSEC07'}&amp;gt;}Ward)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Count({&amp;lt;Ward={'NSECFAS'},[Questions Complete]={'Yes'},[Ward transferred to]-={'NSEC07','NSEC09'}&amp;gt;}Ward)/Count({&amp;lt;Ward={'NSECFAS'}, [Ward transferred to]-={'NSEC07','NSEC09'}&amp;gt;}Ward)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and then i'm currently using this expression to calculate a total however it is incorrect as it doesn't adjust for the possibilities of inter transfer between those locations:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Ward={'NSEC03','NSEC04','NSEC09','NSEC10','NSEC10C','NSEC12','NSEC12R','NSECFAS'},[Questions Complete]={'Yes'},[Ward transferred to]-={'NSEC07''NSEC03','NSEC04','NSEC09','NSEC10','NSEC10C','NSEC12','NSEC12R','NSECFAS'}&amp;gt;}Ward)/Count({&amp;lt;Ward={'NSEC03','NSEC04','NSEC09','NSEC10','NSEC10C','NSEC12','NSEC12R','NSECFAS'},[Ward transferred to]-={'NSEC07''NSEC03','NSEC04','NSEC09','NSEC10','NSEC10C','NSEC12','NSEC12R','NSECFAS'}&amp;gt;}Ward)&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 12:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1601351#M737114</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2019-07-11T12:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Total several expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1601407#M737115</link>
      <description>&lt;P&gt;Assumingly that you named your expressions with A, B, ... you could try the following: rangeavg(A, B, ...).&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 13:27:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1601407#M737115</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-07-11T13:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Total several expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1601418#M737116</link>
      <description>Named my expression? In where?&lt;BR /&gt;&lt;BR /&gt;Sorry&lt;BR /&gt;Thank you&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Jul 2019 13:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1601418#M737116</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2019-07-11T13:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Total several expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1601429#M737117</link>
      <description>&lt;P&gt;I meant the label for the expression on which you could refer in another expressions.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 13:48:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1601429#M737117</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-07-11T13:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Total several expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1601485#M737118</link>
      <description>&lt;P&gt;Sorry, i wasn't in front of my PC when i replied before (probably obvious).&lt;/P&gt;&lt;P&gt;I've added the expression:&lt;/P&gt;&lt;P&gt;RangeAvg('Ward 3 - Compliance Ratio','Ward 4 - Compliance Ratio','Ward 9 - Compliance Ratio','Ward 10 - Compliance Ratio','Ward 12 - Compliance Ratio','FAS - Compliance Ratio')&lt;/P&gt;&lt;P&gt;however nothing is showing up on the graph.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 14:50:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1601485#M737118</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2019-07-11T14:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Total several expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1601492#M737119</link>
      <description>&lt;P&gt;They must be handled like fields and not as strings. Therefore change it into:&lt;/P&gt;&lt;P&gt;RangeAvg([Ward 3 - Compliance Ratio],[Ward 4 - Compliance Ratio],[Ward 9 - Compliance Ratio],[Ward 10 - Compliance Ratio],[Ward 12 - Compliance Ratio],[FAS - Compliance Ratio])&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 14:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1601492#M737119</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-07-11T14:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Total several expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1601494#M737120</link>
      <description>&lt;P&gt;Fantastic, thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a little trouble at first as the original expressions were not enabled (as i didn't want to see them on the graph) but then i realised i could enable them but make them invisible.&lt;/P&gt;&lt;P&gt;The problem of them being in 'xxx' rather than [xxx] was that was what QlikView itself inserted them as and i didnt realise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can i just check - what type of Average does the RangeAvg return?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 15:07:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1601494#M737120</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2019-07-11T15:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Total several expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1601499#M737121</link>
      <description>&lt;P&gt;In general are all non-numeric values treated as zero within the rangefunctions but I think there are one or two exceptions because in some cases are non-numerics or NULL ignored instead of be treated as zero. I believe that's the case by rangeavg(). Best would be you check it - just comment one of your expressions and use instead = 0 respectively = null() and watch the changes within your total-expression.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 15:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-several-expressions/m-p/1601499#M737121</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-07-11T15:28:14Z</dc:date>
    </item>
  </channel>
</rss>

