<?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: Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1386547#M811374</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking for this may be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Dim,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;count({&amp;lt;Created={"&amp;gt;=$(=YearStart(Today()))&amp;lt;=$(=YearEnd(Today()))"}&amp;gt;} Revenue),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Created={"&amp;gt;=$(=YearStart(Today(),-1))&amp;lt;=$(=YearEnd(Today(),-1))"}&amp;gt;} Revenue)/12,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Created={"&amp;gt;=$(=YearStart(Today(),-2))&amp;lt;=$(=YearEnd(Today(),-2))"}&amp;gt;} Revenue)/12)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/178415_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Oct 2017 11:37:42 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-10-03T11:37:42Z</dc:date>
    <item>
      <title>Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1386542#M811369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all ,&lt;/P&gt;&lt;P&gt;All my requirement was to show the Average of 2015 and 2016 and current years count for all the 12 months. &lt;/P&gt;&lt;P&gt;It worked for me perfectly when i used the dummy data . &lt;/P&gt;&lt;P&gt;And when iam using the real time data it is not working ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the screenshot of the working table .&lt;/P&gt;&lt;P&gt;&lt;IMG alt="avg.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/178402_avg.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Please find the attachment of the QVW file which has the real time data .&lt;/P&gt;&lt;P&gt;Can someone please suggest me on this &lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1386542#M811369</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1386543#M811370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Revenue is a text field... how can find it's average?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/178410_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, try this as your dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Pick(Dim,MonthName(Created),'AVG 2016','AVG 2015')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 11:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1386543#M811370</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-03T11:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1386544#M811371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also suggest creating a MonthYear field in the script like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD JIRA_KEY_ID as Revenue, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp(Timestamp#(left(CREATE_DATE,18),'DD-MMM-YYYY hh.mm.ss'),'DD-MM-YYYY') as Created,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;Date(MonthStart(TimeStamp#(Left(CREATE_DATE,18),'DD-MMM-YYYY hh.mm.ss')), 'MMM YYYY') as MonthYear&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;D&gt;&lt;/D&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is [Export Worksheet]);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 11:31:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1386544#M811371</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-03T11:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1386545#M811372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny ,&lt;/P&gt;&lt;P&gt;Yes it is texy field &lt;/P&gt;&lt;P&gt;they are considered to be thr ID's thereofre we are counting it . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 11:34:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1386545#M811372</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2017-10-03T11:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1386546#M811373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But you are averaging them also?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pick(Dim,&lt;/P&gt;&lt;P&gt;count({&amp;lt;Created={"&amp;gt;=$(=YearStart(Today()))&amp;lt;=$(=YearEnd(Today()))"}&amp;gt;} Revenue),&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Avg&lt;/SPAN&gt;({&amp;lt;Created={"&amp;gt;=$(=YearStart(Today(),-1))&amp;lt;=$(=YearEnd(Today(),-1))"}&amp;gt;} &lt;SPAN style="color: #ff0000;"&gt;Revenue&lt;/SPAN&gt;),&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Avg&lt;/SPAN&gt;({&amp;lt;Created={"&amp;gt;=$(=YearStart(Today(),-2))&amp;lt;=$(=YearEnd(Today(),-2))"}&amp;gt;} &lt;SPAN style="color: #ff0000;"&gt;Revenue&lt;/SPAN&gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 11:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1386546#M811373</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-03T11:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1386547#M811374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking for this may be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Dim,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;count({&amp;lt;Created={"&amp;gt;=$(=YearStart(Today()))&amp;lt;=$(=YearEnd(Today()))"}&amp;gt;} Revenue),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Created={"&amp;gt;=$(=YearStart(Today(),-1))&amp;lt;=$(=YearEnd(Today(),-1))"}&amp;gt;} Revenue)/12,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Created={"&amp;gt;=$(=YearStart(Today(),-2))&amp;lt;=$(=YearEnd(Today(),-2))"}&amp;gt;} Revenue)/12)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/178415_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 11:37:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1386547#M811374</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-03T11:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/1386548#M811375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Bro .&lt;/P&gt;&lt;P&gt;You are always Awesome &lt;/P&gt;&lt;P&gt;Thansk a lot &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 11:44:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/1386548#M811375</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2017-10-03T11:44:05Z</dc:date>
    </item>
  </channel>
</rss>

