<?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 Average and Set Analysis Expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Average-and-Set-Analysis-Expression/m-p/1531262#M44005</link>
    <description>&lt;P&gt;Hi Community.&lt;/P&gt;&lt;P&gt;I have an issue with incorporating the Average calculation within set analysis.&lt;/P&gt;&lt;P&gt;I have a Dimension called # of Days After Invoice and I need to calculate the average days &amp;gt; 14 days. In the below expression, I am counting the number of sales I have that meet the requirement:&lt;/P&gt;&lt;P&gt;=Count({$&amp;lt;[#of Days After Invoice]={'&amp;gt;14'},Sales,[Date Type]={'VPP Dates'},[Reference_Only]=-{'Yes'}&amp;gt;}[Sales])&lt;/P&gt;&lt;P&gt;I want to create a KPI in a text box that shows the average number of days and I cannot for the life of me figure out how to show this.&lt;/P&gt;&lt;P&gt;Any help rendered is truly appreciated.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:50:11 GMT</pubDate>
    <dc:creator>ZoeM</dc:creator>
    <dc:date>2024-11-16T06:50:11Z</dc:date>
    <item>
      <title>Average and Set Analysis Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Average-and-Set-Analysis-Expression/m-p/1531262#M44005</link>
      <description>&lt;P&gt;Hi Community.&lt;/P&gt;&lt;P&gt;I have an issue with incorporating the Average calculation within set analysis.&lt;/P&gt;&lt;P&gt;I have a Dimension called # of Days After Invoice and I need to calculate the average days &amp;gt; 14 days. In the below expression, I am counting the number of sales I have that meet the requirement:&lt;/P&gt;&lt;P&gt;=Count({$&amp;lt;[#of Days After Invoice]={'&amp;gt;14'},Sales,[Date Type]={'VPP Dates'},[Reference_Only]=-{'Yes'}&amp;gt;}[Sales])&lt;/P&gt;&lt;P&gt;I want to create a KPI in a text box that shows the average number of days and I cannot for the life of me figure out how to show this.&lt;/P&gt;&lt;P&gt;Any help rendered is truly appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Average-and-Set-Analysis-Expression/m-p/1531262#M44005</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2024-11-16T06:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Average and Set Analysis Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Average-and-Set-Analysis-Expression/m-p/1531263#M44006</link>
      <description>&lt;P&gt;Not really clear what you have, but may be try this&lt;/P&gt;&lt;PRE&gt;=&lt;FONT color="#FF0000"&gt;Avg&lt;/FONT&gt;({$&amp;lt;[#of Days After Invoice] = {'&amp;gt;14'},Sales,[Date Type] = {'VPP Dates'}, [Reference_Only]=-{'Yes'}&amp;gt;} &lt;FONT color="#FF0000"&gt;[#of Days After Invoice]&lt;/FONT&gt;)&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Jan 2019 20:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Average-and-Set-Analysis-Expression/m-p/1531263#M44006</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-16T20:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Average and Set Analysis Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Average-and-Set-Analysis-Expression/m-p/1531264#M44007</link>
      <description>May be like this,&lt;BR /&gt;&lt;BR /&gt;=Count({$&amp;lt;[#of Days After Invoice]={"&amp;gt;14"},[Date Type]={'VPP Dates'},[Reference_Only]-={'Yes'}&amp;gt;}[Sales])&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Jan 2019 20:54:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Average-and-Set-Analysis-Expression/m-p/1531264#M44007</guid>
      <dc:creator>Somasundaram</dc:creator>
      <dc:date>2019-01-16T20:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Average and Set Analysis Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Average-and-Set-Analysis-Expression/m-p/1531272#M44010</link>
      <description>&lt;P&gt;That did not work Sunny, somehow I am getting a larger number than I would in Excel when I export the data file. Do I have to aggregate it (aggr)?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 21:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Average-and-Set-Analysis-Expression/m-p/1531272#M44010</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2019-01-16T21:02:45Z</dc:date>
    </item>
  </channel>
</rss>

