<?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 function with weekday function in Search the Community</title>
    <link>https://community.qlik.com/t5/Search-the-Community/Total-function-with-weekday-function/m-p/1871445#M818</link>
    <description>&lt;P&gt;Worked!&lt;/P&gt;
&lt;P&gt;Thank you so much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Dec 2021 13:40:46 GMT</pubDate>
    <dc:creator>AdamT</dc:creator>
    <dc:date>2021-12-15T13:40:46Z</dc:date>
    <item>
      <title>Total function with weekday function</title>
      <link>https://community.qlik.com/t5/Search-the-Community/Total-function-with-weekday-function/m-p/1871373#M816</link>
      <description>&lt;P&gt;hi experts,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i want to calculate the closed items in a day, divided by the day it was opened at.&lt;BR /&gt;say, the items that were closed in Monday and were opened in Sunday divided by the amount of items opened in Sunday.&lt;/P&gt;
&lt;P&gt;I define the two dimensions as -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;weekday(opened_at)&lt;/P&gt;
&lt;P&gt;weekday(resolved_at)&lt;/P&gt;
&lt;P&gt;and the measure as -&lt;/P&gt;
&lt;P&gt;count (distinct number) / count (distinct total &amp;lt;weekday(opened_at)&amp;gt; number)&lt;/P&gt;
&lt;P&gt;I get the next error -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error in expression '&amp;gt;' expcted&lt;/P&gt;
&lt;P&gt;any idea why? when i don't use the weekday function it works but that way I don't get the calculation I want &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;THX a lot for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 11:17:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Search-the-Community/Total-function-with-weekday-function/m-p/1871373#M816</guid>
      <dc:creator>AdamT</dc:creator>
      <dc:date>2021-12-15T11:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Total function with weekday function</title>
      <link>https://community.qlik.com/t5/Search-the-Community/Total-function-with-weekday-function/m-p/1871416#M817</link>
      <description>&lt;P&gt;You can't place a function in a total &amp;lt; &amp;gt; qualifier. You have to use a field. If you want to use Weekday(opened_at), create this as a field in your script and then use the new field in your count().&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 12:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Search-the-Community/Total-function-with-weekday-function/m-p/1871416#M817</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-12-15T12:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Total function with weekday function</title>
      <link>https://community.qlik.com/t5/Search-the-Community/Total-function-with-weekday-function/m-p/1871445#M818</link>
      <description>&lt;P&gt;Worked!&lt;/P&gt;
&lt;P&gt;Thank you so much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 13:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Search-the-Community/Total-function-with-weekday-function/m-p/1871445#M818</guid>
      <dc:creator>AdamT</dc:creator>
      <dc:date>2021-12-15T13:40:46Z</dc:date>
    </item>
  </channel>
</rss>

