<?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: Adjust the sum with aggr in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adjust-the-sum-with-aggr/m-p/1106074#M366331</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;Please see attached, this should give you some insight on how to aggregate when using pivots&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="OEEcal.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/130529_OEEcal.png" style="height: 289px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jul 2016 14:35:40 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2016-07-07T14:35:40Z</dc:date>
    <item>
      <title>Adjust the sum with aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Adjust-the-sum-with-aggr/m-p/1106069#M366326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good night people,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not good at explaining things, but I will try to illustrate my difficulty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application's goal is to calculate the OEE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The acronym OEE comes from the English "Overall Equipament Effectivences" =&amp;gt; General Equipment Efficiency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OEE is calculated by multiplying three values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORMANCE X QUALITY X AVAILABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Qlik can calculate the 3 indicators normally, but can not calculate the OEE by day, multilicação does not close, just in TOTAL, the other fields are zeroed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the correct total have a sum (aggr (, MÊS)) out of all the multiplications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; background: whitesmoke; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 8.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;STRONG&gt;MAQUINA&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-left: none; background: whitesmoke; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 8.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;STRONG&gt;Data&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-left: none; background: whitesmoke; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 8.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;STRONG&gt;DISPONIBILIDADE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-left: none; background: whitesmoke; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 8.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;STRONG&gt;PERFORMANCE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-left: none; background: whitesmoke; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 8.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;STRONG&gt;QUALIDADE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-left: none; background: whitesmoke; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 8.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;STRONG&gt;OEE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: none; border-bottom: solid gainsboro 1.0pt; background: whitesmoke; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; border-bottom: solid gainsboro 1.0pt; background: whitesmoke; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: whitesmoke; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="color: black; font-size: 8.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;STRONG&gt;56,2%&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: whitesmoke; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="color: black; font-size: 8.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;STRONG&gt;94,3%&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-style: none solid solid none; border-bottom-width: 1pt; border-bottom-color: gainsboro; border-right-width: 1pt; border-right-color: gainsboro; padding: 0px 1.5pt; text-align: center; background: whitesmoke;" valign="top" width="111"&gt;&lt;P&gt;&lt;SPAN style="; color: #ff0000; font-size: 8.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;STRONG&gt;1.257,0%&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: whitesmoke; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="color: black; font-size: 8.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;STRONG&gt;51,2%&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;Formadora MTM 40 06&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;01/04/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;34,3%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;95,8%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;99,4%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;51,2%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;Formadora MTM 40 06&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;05/04/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;39,9%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;115,4%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;94,2%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: red; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: white;"&gt;0,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;Formadora MTM 40 06&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;06/04/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;92,9%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;176,9%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;47,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: red; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: white;"&gt;0,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;Formadora MTM 40 06&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;07/04/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;80,7%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;22,9%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;75,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: red; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: white;"&gt;0,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;Formadora MTM 40 06&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;08/04/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;74,5%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;48,2%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;85,4%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: red; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: white;"&gt;0,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;Formadora MTM 40 06&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;12/04/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;50,9%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;86,3%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;72,3%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: red; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: white;"&gt;0,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;Formadora MTM 40 06&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;13/04/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;54,1%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;96,8%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;95,6%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: red; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: white;"&gt;0,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;Formadora MTM 40 06&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;14/04/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;60,9%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;40,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;90,8%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: red; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: white;"&gt;0,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;Formadora MTM 40 06&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;15/04/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;51,5%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;133,5%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;82,9%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: red; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: white;"&gt;0,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;Formadora MTM 40 06&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;18/04/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;6,7%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;0,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;20,9%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: red; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: white;"&gt;0,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;Formadora MTM 40 06&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;19/04/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;50,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;145,3%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;74,5%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: red; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: white;"&gt;0,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;Formadora MTM 40 06&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;20/04/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;77,3%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;117,8%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;74,7%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: red; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: white;"&gt;0,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;Formadora MTM 40 06&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;25/04/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;64,4%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;88,7%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;66,4%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: red; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: white;"&gt;0,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;Formadora MTM 40 06&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;26/04/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;46,1%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;91,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;41,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: red; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: white;"&gt;0,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;Formadora MTM 40 06&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;27/04/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;64,6%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;106,7%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;104,1%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: red; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: white;"&gt;0,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;Formadora MTM 40 06&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;28/04/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;52,1%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;156,2%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;56,2%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: red; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: white;"&gt;0,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="156"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;Formadora MTM 40 06&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;29/04/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="123"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;50,3%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="119"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;42,5%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 1.5pt 0 1.5pt;" valign="top" width="111"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: #333333;"&gt;76,7%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: red; padding: 0 1.5pt 0 1.5pt;" valign="top" width="103"&gt;&lt;P align="right" style="margin-top: auto; margin-bottom: auto; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma',sans-serif; color: white;"&gt;0,0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This date is the dimension is a date that is in a table "Link Table", formed by dates of all tables with dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is as follows (the multiplication of 3 expressions):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: 12.0pt;"&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;nbsp; &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;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;// DISPONIBILIDADE &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;//*********************&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; (( &lt;/SPAN&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;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;tempo_calendario&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;BR /&gt; - &lt;BR /&gt; (&lt;BR /&gt; &lt;/SPAN&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;( &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;BR /&gt; &lt;/SPAN&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;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;DISTINCT&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;//SE INICIA ANTES E TERMINA DEPOIS&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&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;DATA_INICIO&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;DATA_HORA_INICIO_CALENDARIO&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_FIM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_HORA_FIM_CALENDARIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&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;DATA_HORA_FIM_CALENDARIO&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;DATA_HORA_INICIO_CALENDARIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;gt;= '00:00:00', &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_HORA_FIM_CALENDARIO&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;DATA_HORA_INICIO_CALENDARIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, '00:00:00') &lt;BR /&gt; ,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;//SE INICIA ANTES E TERMINA ANTES&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&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;DATA_INICIO&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;DATA_HORA_INICIO_CALENDARIO&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_FIM&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;DATA_HORA_FIM_CALENDARIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&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: blue;"&gt;INTERVAL&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;DATA_FIM&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;DATA_HORA_INICIO_CALENDARIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &amp;gt;= '00:00:00', &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;INTERVAL&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;DATA_FIM&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;DATA_HORA_INICIO_CALENDARIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;), '00:00:00'),&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;//SE INICIA DEPOIS E TERMINA ANTES&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&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;DATA_INICIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_HORA_INICIO_CALENDARIO&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_FIM&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;DATA_HORA_FIM_CALENDARIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&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: blue;"&gt;INTERVAL&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;DATA_FIM&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;DATA_INICIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &amp;gt;= '00:00:00', &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;INTERVAL&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;DATA_FIM&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;DATA_INICIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;), '00:00:00')&lt;BR /&gt; , &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;//SE INICIA DEPOIS E TERMINA DEPOIS&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&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;DATA_INICIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_HORA_INICIO_CALENDARIO&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_FIM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_HORA_FIM_CALENDARIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&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: blue;"&gt;INTERVAL&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;DATA_HORA_FIM_CALENDARIO&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;DATA_INICIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &amp;gt;= '00:00:00', &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;INTERVAL&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;DATA_HORA_FIM_CALENDARIO&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;DATA_INICIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;), '00:00:00')&lt;BR /&gt; ,&lt;BR /&gt; '00:00:00'&lt;BR /&gt; &lt;BR /&gt; )&amp;nbsp;&amp;nbsp; )&amp;nbsp;&amp;nbsp;&amp;nbsp; ) )&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ), &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;ID_PARADA_MAQUINA&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;ID_MAQUINARIO&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;ANO&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;MÊS&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;DIA&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;))&lt;BR /&gt; )) &lt;BR /&gt; / &lt;BR /&gt; &lt;/SPAN&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;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;tempo_calendario&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)) &lt;BR /&gt; * &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;// QUALIDADE &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;//***************************************************** &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; (&lt;/SPAN&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;( &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;BR /&gt; 1 -( &lt;BR /&gt; &lt;BR /&gt; (&lt;/SPAN&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;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;QTD_PREVISTA_PECAS&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: blue;"&gt;SUM&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;QTDE_PRODUZIDA&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;))&lt;BR /&gt;&amp;nbsp; /&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&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;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;QTD_PREVISTA_PECAS&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) )&lt;BR /&gt;&amp;nbsp; ,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;ID_MAQUINARIO_LINK&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;MÊS&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; ))) &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;// PERFORMANCE &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;// ************************************&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;*&lt;BR /&gt; ( &lt;BR /&gt; ( &lt;BR /&gt; &lt;/SPAN&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;( &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;BR /&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;BR /&gt; ( &lt;BR /&gt; (60 &lt;BR /&gt; /&lt;BR /&gt; (&lt;BR /&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;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;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&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;COMPRIMENTO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;COMP_MIN&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;AND&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;COMPRIMENTO&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;COMP_MAX&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&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;validacao_cliente_velocidade&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = 'X', &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;velocidade_cliente&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;VELOCIDADE&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;MATERIAL&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;ORDEM_PRODUÇÃO&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;Cliente_Velocidade&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;BR /&gt;&amp;nbsp; /&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&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;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;COMPRIMENTO_ORDEM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; / 1000 )))&lt;BR /&gt;&amp;nbsp; /&lt;BR /&gt;&amp;nbsp; 60 &lt;BR /&gt; )&lt;BR /&gt;&amp;nbsp; /&lt;BR /&gt;&amp;nbsp; (&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&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;( &lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;PESO_LINEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&amp;nbsp; *&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;COMPRIMENTO_ORDEM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; )&lt;BR /&gt;&amp;nbsp; /&lt;BR /&gt;&amp;nbsp; 1000 )&lt;BR /&gt;&amp;nbsp; ), &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;ORDEM_PRODUÇÃO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;BR /&gt;&amp;nbsp; * &lt;BR /&gt; &lt;/SPAN&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;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;QTDE_PRODUZIDA&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;ORDEM_PRODUÇÃO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; ))&lt;BR /&gt;&amp;nbsp; /&lt;BR /&gt;&amp;nbsp; 60&lt;BR /&gt; )&lt;BR /&gt;&amp;nbsp; / &lt;BR /&gt; (&lt;BR /&gt;&amp;nbsp; ( &lt;/SPAN&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;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;tempo_calendario&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;BR /&gt;&amp;nbsp; -&lt;BR /&gt;&amp;nbsp; (&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&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;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;DISTINCT&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;//SE INICIA ANTES E TERMINA DEPOIS&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&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;DATA_INICIO&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;DATA_HORA_INICIO_CALENDARIO&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_FIM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_HORA_FIM_CALENDARIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&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;DATA_HORA_FIM_CALENDARIO&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;DATA_HORA_INICIO_CALENDARIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;gt;= '00:00:00', &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_HORA_FIM_CALENDARIO&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;DATA_HORA_INICIO_CALENDARIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, '00:00:00')&lt;BR /&gt;&amp;nbsp; ,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;//SE INICIA ANTES E TERMINA ANTES&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&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;DATA_INICIO&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;DATA_HORA_INICIO_CALENDARIO&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_FIM&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;DATA_HORA_FIM_CALENDARIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&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: blue;"&gt;INTERVAL&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;DATA_FIM&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;DATA_HORA_INICIO_CALENDARIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &amp;gt;= '00:00:00', &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;INTERVAL&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;DATA_FIM&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;DATA_HORA_INICIO_CALENDARIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;), '00:00:00')&lt;BR /&gt; , &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;//SE INICIA DEPOIS E TERMINA ANTES&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&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;DATA_INICIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_HORA_INICIO_CALENDARIO&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_FIM&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;DATA_HORA_FIM_CALENDARIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&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: blue;"&gt;INTERVAL&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;DATA_FIM&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;DATA_INICIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &amp;gt;= '00:00:00', &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;INTERVAL&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;DATA_FIM&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;DATA_INICIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;), '00:00:00')&lt;BR /&gt; ,&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;//SE INICIA DEPOIS E TERMINA DEPOIS&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&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;DATA_INICIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_HORA_INICIO_CALENDARIO&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_FIM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DATA_HORA_FIM_CALENDARIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&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: blue;"&gt;INTERVAL&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;DATA_HORA_FIM_CALENDARIO&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;DATA_INICIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &amp;gt;= '00:00:00', &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;INTERVAL&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;DATA_HORA_FIM_CALENDARIO&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;DATA_INICIO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;), '00:00:00')&lt;BR /&gt; ,&lt;BR /&gt; '00:00:00'&lt;BR /&gt;&amp;nbsp; )&amp;nbsp;&amp;nbsp; )&amp;nbsp;&amp;nbsp;&amp;nbsp; )&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) )&lt;BR /&gt; )) * 24&lt;BR /&gt;&amp;nbsp; )&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;// ************************************&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; )&lt;BR /&gt; ,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;MÊS&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;my difficulty is to adjust the sum with aggr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 00:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adjust-the-sum-with-aggr/m-p/1106069#M366326</guid>
      <dc:creator>vinisefrin</dc:creator>
      <dc:date>2016-07-07T00:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust the sum with aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Adjust-the-sum-with-aggr/m-p/1106070#M366327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might be easier to play around and provide a solution, do you think you can provide a sample to look at?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 11:14:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adjust-the-sum-with-aggr/m-p/1106070#M366327</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-07T11:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust the sum with aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Adjust-the-sum-with-aggr/m-p/1106071#M366328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning Sunny, I will provide a copy, and make available after. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 11:41:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adjust-the-sum-with-aggr/m-p/1106071#M366328</guid>
      <dc:creator>vinisefrin</dc:creator>
      <dc:date>2016-07-07T11:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust the sum with aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Adjust-the-sum-with-aggr/m-p/1106072#M366329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds good... I will wait for the file &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 12:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adjust-the-sum-with-aggr/m-p/1106072#M366329</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-07T12:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust the sum with aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Adjust-the-sum-with-aggr/m-p/1106073#M366330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Sunny, I have attached the file in the original post above.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;For you to understand better, the OEE is the multiplication of three values:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;56,2% x 94,3% x 96,5% = +- 52%&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="somatório.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/130511_somatório.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;But I need to have this detailed information daily:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="ZERADOS.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/130513_ZERADOS.jpg" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thank´s&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 13:43:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adjust-the-sum-with-aggr/m-p/1106073#M366330</guid>
      <dc:creator>vinisefrin</dc:creator>
      <dc:date>2016-07-07T13:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust the sum with aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Adjust-the-sum-with-aggr/m-p/1106074#M366331</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;Please see attached, this should give you some insight on how to aggregate when using pivots&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="OEEcal.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/130529_OEEcal.png" style="height: 289px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 14:35:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adjust-the-sum-with-aggr/m-p/1106074#M366331</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-07-07T14:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust the sum with aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Adjust-the-sum-with-aggr/m-p/1106075#M366332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&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/130524_Capture.PNG" style="height: 292px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 14:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adjust-the-sum-with-aggr/m-p/1106075#M366332</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-07T14:48:10Z</dc:date>
    </item>
  </channel>
</rss>

