<?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: duplicated measures in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/duplicated-measures/m-p/1357099#M416393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suppose, you always end in this if path:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;​DATE(avg( DISTINCT if(FERIE='N' and CONGE='N',if(PRESENCE&amp;gt;0,PRESENCE/1440)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 May 2017 16:51:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-05-16T16:51:15Z</dc:date>
    <item>
      <title>duplicated measures</title>
      <link>https://community.qlik.com/t5/QlikView/duplicated-measures/m-p/1357098#M416392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem in my expressions, it displays the same numbers for the two columns. see bellow :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/163579_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here are my expressions :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Durée&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= if( ValueList( 'Durée' , 'Moyenne')='Durée' ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(CONGE='Y',12012,if(isnull(PRESENCE),0,PRESENCE/1440)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE(avg( DISTINCT if(FERIE='N' and CONGE='N',if(PRESENCE&amp;gt;0,PRESENCE/1440) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)),'HH:mm') )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pause :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= if( ValueList( 'Pause' , 'Moy')='Pause' ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(pausetime),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE(avg( DISTINCT if(FERIE='N' and CONGE='N',if(PRESENCE&amp;gt;0,PRESENCE/1440) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)),'HH:mm') )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 16:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/duplicated-measures/m-p/1357098#M416392</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2017-05-16T16:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: duplicated measures</title>
      <link>https://community.qlik.com/t5/QlikView/duplicated-measures/m-p/1357099#M416393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suppose, you always end in this if path:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;​DATE(avg( DISTINCT if(FERIE='N' and CONGE='N',if(PRESENCE&amp;gt;0,PRESENCE/1440)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 16:51:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/duplicated-measures/m-p/1357099#M416393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-16T16:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: duplicated measures</title>
      <link>https://community.qlik.com/t5/QlikView/duplicated-measures/m-p/1357100#M416394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is your Valuelist dimension defined? And why are you using two different ValueList calls in the two expressions? They should be identical to the Calculated dimension ValueList...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 16:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/duplicated-measures/m-p/1357100#M416394</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-05-16T16:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: duplicated measures</title>
      <link>https://community.qlik.com/t5/QlikView/duplicated-measures/m-p/1357101#M416395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your interactions &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I succeeded in displaying my two measures for the 10 last days :&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/163670_Capture.PNG" style="height: 132px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here 's my dimension value list :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=ValueList('Durée' ,'Pause')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;My expression :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;= if( ValueList( 'Durée' ,'Pause')='Durée' ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(CONGE='Y',12012,if(isnull(PRESENCE),0,PRESENCE/1440)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If( ValueList( 'Durée' ,'Pause')='Pause' ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hour(Date(sum(pausetime)/1440,'hh:mm:ss'))&amp;amp;'H:' &amp;amp;Minute(Date(sum(pausetime)/1440,'hh:mm:ss'))&amp;amp;'Min',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;but I need to calculate the average of the two measures somme of (duree) the last 10 days / 10&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;How to do it pleasee?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Thanks in advance&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 08:33:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/duplicated-measures/m-p/1357101#M416395</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2017-05-17T08:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: duplicated measures</title>
      <link>https://community.qlik.com/t5/QlikView/duplicated-measures/m-p/1357102#M416396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try for this part&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hour(Date(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;rangeavg(before(total sum(pausetime),0,10)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/1440,'hh:mm:ss'))&amp;amp;'H:' &amp;amp;Minute(Date(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;rangeavg(before(total sum(pausetime),0,10)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/1440,'hh:mm:ss'))&amp;amp;'Min'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;btw I think a part of your expression is missing in your last answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alternatively you could try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;rangesum(before(total sum(pausetime),0,10)/10&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN style="color: #000000;"&gt;instead if there exist null() values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 18:49:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/duplicated-measures/m-p/1357102#M416396</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-17T18:49:19Z</dc:date>
    </item>
  </channel>
</rss>

