<?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 Can't get average function to run in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-t-get-average-function-to-run/m-p/1823636#M1213788</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I try to set up an expression in a text field. It is not working. I always get "Error: Error in set modifier expression" and the expression is underlined from the closing curly bracket on.&lt;/P&gt;&lt;P&gt;The expression:&lt;/P&gt;&lt;P&gt;=Avg({1&amp;lt;location={London}, Month(target_production_day)=Month(Now()-1)&amp;gt;} production_time)&lt;/P&gt;&lt;P&gt;So, I want to calculate and show the average production time of all entries, which are referring to London in the last month.&lt;/P&gt;&lt;P&gt;Does someone has an idea, what the mistake is here?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nina&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jul 2021 13:58:23 GMT</pubDate>
    <dc:creator>Nina</dc:creator>
    <dc:date>2021-07-21T13:58:23Z</dc:date>
    <item>
      <title>Can't get average function to run</title>
      <link>https://community.qlik.com/t5/QlikView/Can-t-get-average-function-to-run/m-p/1823636#M1213788</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I try to set up an expression in a text field. It is not working. I always get "Error: Error in set modifier expression" and the expression is underlined from the closing curly bracket on.&lt;/P&gt;&lt;P&gt;The expression:&lt;/P&gt;&lt;P&gt;=Avg({1&amp;lt;location={London}, Month(target_production_day)=Month(Now()-1)&amp;gt;} production_time)&lt;/P&gt;&lt;P&gt;So, I want to calculate and show the average production time of all entries, which are referring to London in the last month.&lt;/P&gt;&lt;P&gt;Does someone has an idea, what the mistake is here?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nina&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 13:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-t-get-average-function-to-run/m-p/1823636#M1213788</guid>
      <dc:creator>Nina</dc:creator>
      <dc:date>2021-07-21T13:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get average function to run</title>
      <link>https://community.qlik.com/t5/QlikView/Can-t-get-average-function-to-run/m-p/1823696#M1213793</link>
      <description>&lt;P&gt;You can't use a function on the left side of = in the set modifier.&amp;nbsp; Instead try this:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;=Avg({1&amp;lt;location={London}, target_production_day={"=InMonth(target_production_day, today(2), -1)"}&amp;gt;} production_time)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 17:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-t-get-average-function-to-run/m-p/1823696#M1213793</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-07-21T17:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get average function to run</title>
      <link>https://community.qlik.com/t5/QlikView/Can-t-get-average-function-to-run/m-p/1824052#M1213821</link>
      <description>&lt;P&gt;Cause: The cell is formatted as Text, which causes&amp;nbsp;Excel&amp;nbsp;to ignore any formulas. This could be directly due to the Text format, or is particularly common when importing data from a CSV or Notepad file. Fix: Change the format of the cell(s) to General or some other format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dunkinrunsonyou.net/" target="_self"&gt;&lt;SPAN&gt;Dunkinrunsonyou&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jul 2021 03:49:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-t-get-average-function-to-run/m-p/1824052#M1213821</guid>
      <dc:creator>Harrism05</dc:creator>
      <dc:date>2021-07-24T03:49:13Z</dc:date>
    </item>
  </channel>
</rss>

