<?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: Function Aggr() with five dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32623#M510312</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you get for the other dimensions? 1 or something else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2018 15:47:26 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-05-30T15:47:26Z</dc:date>
    <item>
      <title>Function Aggr() with five dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32620#M510309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have to create a what-if simulation.&lt;/P&gt;&lt;P&gt;So, I insert a value into a variable (&lt;EM&gt;Qta_Sim_Base&lt;/EM&gt;) thanks to the following InputBox:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="203919" alt="Input.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203919_Input.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Now. I have to visualize, into a Linear Table, this value, &lt;STRONG&gt;Aggregate &lt;/STRONG&gt;for multiple Time Dimension (called &lt;EM&gt;Temporale2&lt;/EM&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="203941" alt="Gruppo.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/203941_Gruppo.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;For each hour (Field &lt;EM&gt;N_ORA&lt;/EM&gt;) I have to add the value of the variable &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;Qta_Sim_Base.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For example, if I insert the value 1 into the input Box, each hour take the value 1, each day (Field &lt;EM&gt;GIORNO&lt;/EM&gt;) have to take the value 24 etc. etc.&lt;/P&gt;&lt;P&gt;I tried to develope two different formulas, but don't work :&lt;/P&gt;&lt;P&gt;1. Sum(Aggr(Qta_Sim_Base,ANNO,TRIMESTRE,MESE,GIORNO,N_ORA)) --&amp;gt; it's ok for only two dimensions&lt;/P&gt;&lt;P&gt;2. Sum(Aggr(Qta_Sim_Base,$(=GetCurrentField(Temporale2)))) --&amp;gt; the value is always the same for each dimension.&lt;/P&gt;&lt;P&gt;Could someone help me?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 15:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32620#M510309</guid>
      <dc:creator>frank1982</dc:creator>
      <dc:date>2018-05-30T15:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Function Aggr() with five dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32621#M510310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which two dimensions?&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/203938_Capture.PNG" style="height: 56px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 15:42:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32621#M510310</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-30T15:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Function Aggr() with five dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32622#M510311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The bottom two, &lt;/SPAN&gt;&lt;EM style="font-size: 13.3333px;"&gt;GIORNO&lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; and &lt;/SPAN&gt;&lt;EM style="font-size: 13.3333px;"&gt;N_ORA&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 15:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32622#M510311</guid>
      <dc:creator>frank1982</dc:creator>
      <dc:date>2018-05-30T15:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Function Aggr() with five dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32623#M510312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you get for the other dimensions? 1 or something else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 15:47:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32623#M510312</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-30T15:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Function Aggr() with five dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32624#M510313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to get the sum, for example:&lt;/P&gt;&lt;P&gt;INPUT --&amp;gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; Qta_Sim_Base=1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Qta_Sim_Base &lt;/EM&gt;with Dimension &lt;EM&gt;N_ORA --&amp;gt; &lt;/EM&gt;1 for each hour&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Qta_Sim_Base &lt;/EM&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;with Dimension&lt;/SPAN&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;EM style="font-size: 13.3333px;"&gt;GIORNO --&amp;gt; &lt;/EM&gt;&lt;/EM&gt;24 for each day&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Qta_Sim_Base &lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;with Dimension&lt;/SPAN&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;EM style="font-size: 13.3333px;"&gt;MESE --&amp;gt; &lt;/EM&gt;&lt;/EM&gt;(24 * 'day of the month') for each month&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-size: 13.3333px;"&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Qta_Sim_Base &lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;with Dimension&lt;/SPAN&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;EM style="font-size: 13.3333px;"&gt;TRIMESTRE --&amp;gt; &lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;(3 * 24 * 'day of the month') for each quarter&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-size: 13.3333px;"&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Qta_Sim_Base &lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;with Dimension&lt;/SPAN&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;EM style="font-size: 13.3333px;"&gt;ANNO --&amp;gt; &lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;(4 * 3 * 24 * 'day of the month') for each year&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-size: 13.3333px;"&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 15:56:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32624#M510313</guid>
      <dc:creator>frank1982</dc:creator>
      <dc:date>2018-05-30T15:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Function Aggr() with five dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32625#M510314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand that, but I am not sure why you are not able to get this... is there a sample you can share for us to check out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 16:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32625#M510314</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-30T16:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Function Aggr() with five dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32626#M510315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry,&lt;/P&gt;&lt;P&gt;You're right, I don't explain you all the project, but I thought that it fault because the aggregation doesn't work.&lt;/P&gt;&lt;P&gt;Instead now I have seen that the problem caused by a filter.&lt;/P&gt;&lt;P&gt;In particular, I've to get the sum of &lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Qta_Sim_Base &lt;/EM&gt;&lt;STRONG&gt;ONLY&lt;/STRONG&gt; for an interval of time that I input through other two variables, &lt;EM&gt;DataDa&lt;/EM&gt; and &lt;EM&gt;DataA :&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Input2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/204165_Input2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Here, the value of &lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Qta_Sim_Base &lt;/EM&gt;has to apply for each hour of the upper period (Gen-19), and aggregated for each over-period.&lt;/P&gt;&lt;P&gt;I tried two different ways:&lt;/P&gt;&lt;P&gt;1. If statement --&amp;gt; &lt;EM&gt;=if(Year(DataDa)&amp;lt;=ANNO and Year(DataA)&amp;gt;=ANNO and Ceil(Num(Month(DataDa))/3)&amp;lt;=Num(Right(TRIMESTRE,1)) and Ceil(Num(Month(DataA))/3)&amp;gt;=Num(Right(TRIMESTRE,1)) and Num(Month(DataDa))&amp;lt;=MESE and Num(Month(DataA))&amp;gt;=MESE and Day(DataDa)&amp;lt;=GIORNO and Day(DataA)&amp;gt;=GIORNO, Aggr(Qta_Sim_Base,ANNO,TRIMESTRE,MESE,GIORNO,N_ORA),0)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;2. Set Analysis --&amp;gt; &lt;EM&gt;Sum({&amp;lt;ANNO={"&amp;gt;=$(Year(=$(DataDa)))"},ANNO={"&amp;lt;=$(Year(=$(DataA)))"},MESE={"&amp;gt;=$(Num(Month(=$(DataDa))))"},MESE={"&amp;lt;=$(Num(Month(=$(DataA))))"},GIORNO={"&amp;gt;=$(Day(=$(DataDa)))"},GIORNO={&amp;lt;=$(Day(=$(DataA)))"}&amp;gt;}Aggr(Qta_Sim_Base,ANNO,MESE,GIORNO,N_ORA))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;but I can't find the right way.&lt;/P&gt;&lt;P&gt;Could you help me?&lt;/P&gt;&lt;P&gt;Thank you and I'm sorry for the inaccuracy of previous description.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 17:16:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32626#M510315</guid>
      <dc:creator>frank1982</dc:creator>
      <dc:date>2018-06-01T17:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Function Aggr() with five dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32627#M510316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey i think you can try with that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;ANNO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'&amp;gt;=$(=Year(DataDa))&amp;lt;=$(=Year(DataA))'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;MESE&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'&amp;gt;=$(=Num(Month(DataDa)))&amp;lt;=$(=Num(Month(DataA)))'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;GIORNO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'&amp;gt;=$(=Day(DataDa))&amp;lt;=$(=Day(DataA))'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;Qta_Sim_Base&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;ANNO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;MESE&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;GIORNO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;N_ORA&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 06:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32627#M510316</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2018-06-05T06:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Function Aggr() with five dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32628#M510317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes!&lt;/P&gt;&lt;P&gt;It works very well!&lt;/P&gt;&lt;P&gt;Thank you Daniele!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 07:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Aggr-with-five-dimensions/m-p/32628#M510317</guid>
      <dc:creator>frank1982</dc:creator>
      <dc:date>2018-06-05T07:36:02Z</dc:date>
    </item>
  </channel>
</rss>

