<?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: Qlikview set analysis with aggregation functions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-set-analysis-with-aggregation-functions/m-p/3519#M517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to attach some data on excel for example and show the desired output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jan 2018 10:15:21 GMT</pubDate>
    <dc:creator>YoussefBelloum</dc:creator>
    <dc:date>2018-01-19T10:15:21Z</dc:date>
    <item>
      <title>Qlikview set analysis with aggregation functions</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-set-analysis-with-aggregation-functions/m-p/3518#M516</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;&lt;/P&gt;&lt;P&gt;can some one help me on this please. I have added the below expression in the pivot table but couldn't see the total populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(timestamp(min({&amp;lt; DELAY_ID = {'DELAY'}&amp;gt;}DELAY_START),'DD/MM/YYYY hh:mm') &amp;gt;=&amp;nbsp; TIMESTAMP(AGGR(MIN({&amp;lt;MACHINE_TYPE= {'ABC'},MOVE = {1} &amp;gt;} MOVETIME),CV_ID,MACHINE_TYPE,DELAY_ID),'DD/MM/YYYY hh:mm') AND&lt;BR /&gt;timestamp(max({&amp;lt; DELAY_ID = {'DELAY'}&amp;gt;}DELAY_END),'DD/MM/YYYY hh:mm') &amp;lt;= TIMESTAMP(AGGR(MAX({&amp;lt;MACHINE_TYPE= {'ABC'},MOVE = {1} &amp;gt;} MOVETIME),CV_ID,MACHINE_TYPE,DELAY_ID),'DD/MM/YYYY hh:mm')&lt;/P&gt;&lt;P&gt;Num(sum({&amp;lt; DELAY_ID = {'DELAY'}&amp;gt;}DURATION)/3600000)&lt;BR /&gt;,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestions are appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 09:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-set-analysis-with-aggregation-functions/m-p/3518#M516</guid>
      <dc:creator>lavanya14</dc:creator>
      <dc:date>2018-01-19T09:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview set analysis with aggregation functions</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-set-analysis-with-aggregation-functions/m-p/3519#M517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to attach some data on excel for example and show the desired output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 10:15:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-set-analysis-with-aggregation-functions/m-p/3519#M517</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-01-19T10:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview set analysis with aggregation functions</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-set-analysis-with-aggregation-functions/m-p/3520#M518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check here&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm" title="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm"&gt;Sum of rows in pivot tables ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, you need to add Sum(Aggr()) to make this work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;if(timestamp(min({&amp;lt; DELAY_ID = {'DELAY'}&amp;gt;}DELAY_START),'DD/MM/YYYY hh:mm') &amp;gt;=&amp;nbsp; TIMESTAMP(AGGR(MIN({&amp;lt;MACHINE_TYPE= {'ABC'},MOVE = {1} &amp;gt;} MOVETIME),CV_ID,MACHINE_TYPE,DELAY_ID),'DD/MM/YYYY hh:mm') AND&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;timestamp(max({&amp;lt; DELAY_ID = {'DELAY'}&amp;gt;}DELAY_END),'DD/MM/YYYY hh:mm') &amp;lt;= TIMESTAMP(AGGR(MAX({&amp;lt;MACHINE_TYPE= {'ABC'},MOVE = {1} &amp;gt;} MOVETIME),CV_ID,MACHINE_TYPE,DELAY_ID),'DD/MM/YYYY hh:mm')&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Num(sum({&amp;lt; DELAY_ID = {'DELAY'}&amp;gt;}DURATION)/3600000)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;,0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;,Dimension/s))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 12:28:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-set-analysis-with-aggregation-functions/m-p/3520#M518</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-19T12:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview set analysis with aggregation functions</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-set-analysis-with-aggregation-functions/m-p/3521#M519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks for responding , I really want to add some data but its all confidential and I am not sure to replicate the same scenario as it has got multiple tables info involved in this. I have the shift start and shift end and there are some breaks with in the shift so I am making sure the breaks fall with in the shift range and I finally want to calculate the total hours spent excluding breaks.. that's the reason I am using the if condition. the problem here is when I use this expression in pivot table the totals are not showing up, that's my real problem is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression I gave is partially working but not showing totals.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 12:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-set-analysis-with-aggregation-functions/m-p/3521#M519</guid>
      <dc:creator>lavanya14</dc:creator>
      <dc:date>2018-01-19T12:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview set analysis with aggregation functions</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-set-analysis-with-aggregation-functions/m-p/3522#M520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks for responding , I really want to add some data but its all confidential and I am not sure to replicate the same scenario as it has got multiple tables info involved in this. I have the shift start and shift end and there are some breaks with in the shift so I am making sure the breaks fall with in the shift range and I finally want to calculate the total hours spent excluding breaks.. that's the reason I am using the if condition. the problem here is when I use this expression in pivot table the totals are not showing up, that's my real problem is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression I gave is partially working but not showing totals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this but unfortunately it didn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 12:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-set-analysis-with-aggregation-functions/m-p/3522#M520</guid>
      <dc:creator>lavanya14</dc:creator>
      <dc:date>2018-01-19T12:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview set analysis with aggregation functions</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-set-analysis-with-aggregation-functions/m-p/3523#M521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this address your confidentiality concerns&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 12:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-set-analysis-with-aggregation-functions/m-p/3523#M521</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-19T12:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview set analysis with aggregation functions</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-set-analysis-with-aggregation-functions/m-p/3524#M522</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;&lt;/P&gt;&lt;P&gt;you are correct, there was some problem with my aggregation and that has resulted in the issue. I corrected it. Thanks for your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 13:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-set-analysis-with-aggregation-functions/m-p/3524#M522</guid>
      <dc:creator>lavanya14</dc:creator>
      <dc:date>2018-01-23T13:43:07Z</dc:date>
    </item>
  </channel>
</rss>

