<freeMetaDataQuery>
     <sqlQuery>
     <distinct>false</distinct>
     <limit>0</limit>
         <select>
             <dataStreamElementName>orderfact_status</dataStreamElementName>
             <dataStreamName>orderfact</dataStreamName>
         </select>
         <agg>
             <function>SUM</function>
             <formula>false</formula>
             <col>orderfact_totalprice</col>
             <dataStreamName>orderfact</dataStreamName>
             <outputName>orderfact_totalprice</outputName>
         </agg>
         <orderBy>
             <dataStreamElementName>orderfact_totalprice</dataStreamElementName>
             <dataStreamName>orderfact</dataStreamName>
          </orderBy>
         <orderBy>
             <dataStreamElementName>orderfact_status</dataStreamElementName>
             <dataStreamName>orderfact</dataStreamName>
          </orderBy>
         <additionalResource>
++++++++%3CcomplexFilter%3E%0A++++++++++++%3Cname%3Estatus_ok%3C%2Fname%3E%0A++++++++++++%3CdataStreamElement%3Eorderfact_status%3C%2FdataStreamElement%3E%0A++++++++++++%3CdataStream%3Eorderfact%3C%2FdataStream%3E%0A++++++++++++%3Coperator%3E%3D%3C%2Foperator%3E%0A++++++++++++%3Cvalue%3EShipped%3C%2Fvalue%3E%0A++++++++%3CgroupNames%3E%3C%2FgroupNames%3E%0A++++++++%3C%2FcomplexFilter%3E%0A>
         </additionalResource>
     </sqlQuery>
</freeMetaDataQuery>
