<?xml version="1.0" encoding="ISO-8859-1"?>
<VUE name="PMSI000213" label="PMSI. Analyse croisée C.A." title="= SELECT.DATA_LABEL + ' par ' + SELECT.GROUPBY_LABEL + ' (' + SELECT.PERIODE_LABEL + ' à ' + SELECT.TOPERIODE_LABEL + ')'" database="iCTI" swf="*CTI_view1" softCode="iCTI_pmsi" globals="PMSI_globals.XML" componentsFile="PMSI_components.XML" helpDokuWIkiDir="pmsi:sejours_analyse_globale:rss:chiffre_d_affaire_rss" helpDokuWIkiFile="pmsi000007"  helpFile="iCTI_PMSI_PMSI000213.HTML">
	<VIEWPROPERTIES componentName="PROPERTIES_RSS"/>
	<VIEWPROPERTIES componentName="PROPERTIES_SELECT_TABTREE"/>
	<VIEWPROPERTIES>
		<PROPERTY dataLink="VIEWPROPERTIES" nameField="name" valueField="value" />
		<PROPERTY name="DATA1F">
			<value><![CDATA[[EVAL return PMSI_CA_data('[DATA]', 0, "date_sortie BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>		
		<PROPERTY name="DATA2F">
			<value><![CDATA[[EVAL return PMSI_CA_data('[DATA]', 0, "date_sortie BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","1"); EVAL]]]></value>
		</PROPERTY>
	</VIEWPROPERTIES>
	<SELECTIONS label="Paramètres de l'analyse">
		<GROUP label="Période">
			<FIELD name="ALIAS_PERIODE" label="" UI="combo" width="220" default="CUM_LAST_MONTH" tree="true" globalListProvider="ALIAS_PERIODE" />
			<FIELD name="PERIODE" label="" UI="combo" tree="true" width="200" default="2014-01-01" globalListProvider="DATE_DEBUT"/>
			<FIELD name="TOPERIODE" label="à" UI="combo" tree="true" width="200" default="2014-12-31" globalListProvider="DATE_FIN"/>
		</GROUP>
		<GROUP>
			<FIELD name="DATA" label="Données" UI="combo" width="300" default="1.1" default2="#E" tree="true">
				<OPTION label="Options" data="" globalListProvider="DATA_CA"/>
			</FIELD>
		</GROUP>
		<GROUP>
			<FIELD name="COLUMNBY" label="Colonnes" UI="combo" width="220" default="CAS" tree="true">
				<OPTION label="Options" data="" globalListProvider="RSS_GROUPBY_OPTIONS"/>
			</FIELD>
			<FIELD name="COLUMNBYCOUNT" label="Nombre" UI="combo" default="10" tree="false">
				<OPTION label="5" data="5"/>
				<OPTION label="6" data="6"/>
				<OPTION label="7" data="7"/>
				<OPTION label="8" data="8"/>
				<OPTION label="9" data="9"/>
				<OPTION label="10" data="10"/>
				<OPTION label="11" data="11"/>
				<OPTION label="12" data="12"/>
				<OPTION label="13" data="13"/>
				<OPTION label="14" data="14"/>
				<OPTION label="15" data="15"/>
				<OPTION label="16" data="16"/>
				<OPTION label="17" data="17"/>
				<OPTION label="18" data="18"/>
				<OPTION label="19" data="19"/>
				<OPTION label="20" data="20"/>
			</FIELD>
		</GROUP>
		<GROUP>
			<FIELD name="GROUPBY" width="220" label="Regroupement" UI="combo" default="RIPA" tree="true">				
                <OPTION label="Options" data="" globalListProvider="RSS_GROUPBY_OPTIONS"/>
			</FIELD>
			<FIELD name="GROUPBY_TAB" label="Présentation" UI="combo" default="AUTO" visible="= SELECT.GROUPBY_2 != '-1' ">
				<OPTION label="Automatique" data="AUTO"/>
				<OPTION label="Arbre" data="TREE"/>
				<OPTION label="Onglet" data="TAB"/>
			</FIELD>
		</GROUP>
		<GROUP>
			<FIELD name="GROUPBY_2" width="220" label="" UI="combo" default="-1" tree="true">
				<OPTION label="Pas de second niveau" data="-1" treeLevel="1"/>
				<OPTION label="Options" data="" globalListProvider="RSS_GROUPBY_OPTIONS"/>
			</FIELD>
            <FIELD name="GROUPBY_3" width="210" label="" UI="combo" default="-1"  tree="true">
				<OPTION label="Pas de troisième niveau" data="-1" />
				<OPTION label="Options" data="" globalListProvider="RSS_GROUPBY_OPTIONS"/>
			</FIELD>
		</GROUP>
		<GROUP>
			<FIELD name="LGROUPBY" label="Regroupement" UI="combo" default="-1" width="200" tree="true" visible="false">
				<OPTION label="RSS_GROUPBY_OPTIONS" data="" globalListProvider="RSS_GROUPBY_OPTIONS"/>
			</FIELD>			
			<FIELD name="LGROUPBY_2" label="Regroupement" UI="combo" default="-1" width="200" tree="true" visible="false">
				<OPTION label="RSS_GROUPBY_OPTIONS" data="" globalListProvider="RSS_GROUPBY_OPTIONS"/>
			</FIELD>				
			<FIELD name="LGROUPBY_3" label="Regroupement" UI="combo" default="-1" width="200" tree="true" visible="false">
				<OPTION label="RSS_GROUPBY_OPTIONS" data="" globalListProvider="RSS_GROUPBY_OPTIONS"/>
			</FIELD>			
		</GROUP>
	</SELECTIONS>
	<SELECTIONS componentName="FILTRES_RSS_SOUSSELECTIONS"/>
	<SELECTIONS componentName="FILTRES_RSS_SELECTIONS"/>
	<QUERIES>
		<QUERY label="">
			<SQL optimizer="V_RSS_X">
				<select><![CDATA[		

					CTISELECT_TREE
						GROUPBY1{[VIEW.SELECT_TABTREE_OID_FIELD],, [VIEW.SELECT_TABTREE_COD_FIELD],, [VIEW.SELECT_TABTREE_TXT_FIELD]}
						GROUPBY1MODE{[GROUPBY_TAB]}
						GROUPBY2{[VIEW.SELECT_TABTREE_2_OID_FIELD],, [VIEW.SELECT_TABTREE_2_COD_FIELD],, [VIEW.SELECT_TABTREE_2_TXT_FIELD]}
						GROUPBY3{[VIEW.SELECT_TABTREE_3_OID_FIELD],, [VIEW.SELECT_TABTREE_3_COD_FIELD],, [VIEW.SELECT_TABTREE_3_TXT_FIELD]}
						SIGNIFDATA{[VIEW.SELECT_TABTREE_ACTIVITE_SIGNIFICATIVE_DATA],, [ACTIVITE_SIGNIFICATIVE_MODE],, [ACTIVITE_SIGNIFICATIVE_NUMBER]}
						COLUMNBYOID{[VIEW.SELECT_COLUMNBY_OID_FIELD],, [VIEW.SELECT_COLUMNBY_COD_FIELD] ,, [VIEW.SELECT_COLUMNBY_TXT_FIELD],,[VIEW.DATA1F],, [COLUMNBYCOUNT]}
						INDICATORS{[VIEW.DATA1F],,}	
						INDICATORS_COLUMNS{[VIEW.DATA2F],,}
						ORDERBY{[indicateurs[2]],, DESC}
					FROM 
						#V_RSS_X#
					WHERE
						mois_sortie IN ([VIEW.PERIODE_MOIS_LIST]) AND date_sortie BETWEEN '[PERIODE]' AND '[TOPERIODE]'
						[VIEW.FILTRE_RSS_SELECT]					

				]]></select>
				<FIELDS>
					<INSERT name="CTISELECT_TREE_FIELDS"/>
					<FIELD name="SORT"/>
					<FIELD name="N"/>
					<FIELD name="N1"/>
					<FIELD name="N2"/>
					<FIELD name="N3"/>
					<FIELD name="N4"/>
					<FIELD name="N5"/>
					<FIELD name="N6"/>
					<FIELD name="N7"/>
					<FIELD name="N8"/>
					<FIELD name="N9"/>
					<FIELD name="N10"/>
					<FIELD name="N11"/>
					<FIELD name="N12"/>
					<FIELD name="N13"/>
					<FIELD name="N14"/>
					<FIELD name="N15"/>
					<FIELD name="N16"/>
					<FIELD name="N17"/>
					<FIELD name="N18"/>
					<FIELD name="N19"/>
					<FIELD name="N20"/>
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="propertiesLink" name="VIEWPROPERTIES" forSelections="false">
			<SQL>
				<select><![CDATA[
						SELECT 'X_PERIODE_D', greatest(to_date(to_char('[PERIODE]'::date - INTERVAL  '1 year', 'YYYY-MM-DD'), 'YYYY-MM-DD'), (SELECT min(date_debut) FROM pmsi.p_imports))::text
					UNION ALL
						SELECT 'X_TOPERIODE_D', greatest(to_date(to_char('[TOPERIODE]'::date - INTERVAL  '1 year', 'YYYY-MM-DD'), 'YYYY-MM-DD'), (SELECT min(date_debut) FROM pmsi.p_imports))::text
					UNION ALL
						SELECT 'X_PERIODE', greatest(to_date(to_char('[PERIODE]'::date - INTERVAL  '3 year', 'YYYY-MM-DD'), 'YYYY-MM-DD'), (SELECT min(date_debut) FROM pmsi.p_imports))::text
				]]></select>
				<FIELDS>
					<FIELD name="name"/>
					<FIELD name="value"/>
				</FIELDS>
			</SQL>
		</QUERY>
	</QUERIES>
	<PRESENTATION>
		<VIEWLINKS>
			<VIEWLINK label="Comparatif" shortLabel="Comparatif" view="PMSI000037.XML" enabled="true" rowContext="false" buttonType="COMPARATIF">
				<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';"/>
                <ARG name="GROUPBY" value="if(SELECT.LGROUPBY != '-1'){return SELECT.LGROUPBY;}else{return SELECT.GROUPBY;}"/>
				<ARG name="GROUPBY_2" value="if(SELECT.LGROUPBY_2 != '-1'){return SELECT.LGROUPBY_2;}else{return '-1';}"/>
				<ARG name="GROUPBY_3" value="if(SELECT.LGROUPBY_3 != '-1'){return SELECT.LGROUPBY_3;}else{return '-1';}"/>
                <ARG name="DATA1" value="'1.1'" />
                <ARG name="DATA2" value="'2.1'" />
                <ARG name="DATA3" value="'2.4'" />
                <ARG name="DATA4" value="'2.5'" />
                <ARG name="DATA5" value="'2.2'" />
                <ARG name="DATA6" value="'2.3'" />
                <ARG name="DATA7" value="'1.11'" />
                <ARG name="DATA8" value="'1.9'" />
                <ARG name="DATA9" value="'3.1'" />
                <ARG name="DATA010" value="'0'" />
                <ARG name="DATA011" value="'0'" />
                <ARG name="DATA012" value="'0'" />
                <ARG name="DATA013" value="'0'" />
                <ARG name="DATA014" value="'0'" />
                <ARG name="DATA015" value="'0'" />
			</VIEWLINK>			
            <VIEWLINK label="Comparatif mensuel" shortLabel="Comp. Mensuel" view="PMSI000437.XML" enabled="true" rowContext="false" buttonType="COMPARATIF">
				<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';"/>
                <ARG name="GROUPBY" value="if(SELECT.LGROUPBY != '-1'){return SELECT.LGROUPBY;}else{return SELECT.GROUPBY;}"/>
				<ARG name="GROUPBY_2" value="if(SELECT.LGROUPBY_2 != '-1'){return SELECT.LGROUPBY_2;}else{return '-1';}"/>
				<ARG name="GROUPBY_3" value="if(SELECT.LGROUPBY_3 != '-1'){return SELECT.LGROUPBY_3;}else{return '-1';}"/>
                <ARG name="DATA1" value="'1.1'" />
                <ARG name="DATA2" value="'2.1'" />
                <ARG name="DATA3" value="'2.4'" />
			</VIEWLINK>
            <VIEWLINK label="Effets" shortLabel="Effets" view="PMSI000366.XML" enabled="true" rowContext="false" buttonType="COMPARATIF">
				<ARG name="PERIODE_D" value="return VIEW.X_PERIODE_D;" />
				<ARG name="TOPERIODE_D" value="return VIEW.X_TOPERIODE_D;" />
                <ARG name="GROUPBY" value="if(SELECT.LGROUPBY != '-1'){return SELECT.LGROUPBY;}else{return SELECT.GROUPBY;}"/>
				<ARG name="GROUPBY_2" value="if(SELECT.LGROUPBY_2 != '-1'){return SELECT.LGROUPBY_2;}else{return '-1';}"/>
				<ARG name="GROUPBY_3" value="if(SELECT.LGROUPBY_3 != '-1'){return SELECT.LGROUPBY_3;}else{return '-1';}"/>
				<ARG name="DATA1" value="'1.1'" />
				<ARG name="DATA2" value="'2.2'" />
			</VIEWLINK>
			<VIEWLINK label="Evolution comparative" shortLabel="Evol. comparative"  view="PMSI000438.XML"  rowContext="false" componentName=""  enabled="true" buttonType="VIEWLINK_EVO_COMP_1" >			
					<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';"/>
                    <ARG name="GROUPBY" value="if(SELECT.LGROUPBY != '-1'){return SELECT.LGROUPBY;}else{return '-1';}"/>
					<ARG name="GROUPBY_2" value="'MSOR'" />
					<ARG name="GROUPBY_TAB" value="return 'TAB';" />
					<ARG name="TYPE_COMPARAISON" value="'2'" />
                    <ARG name="DATA1" value="'1.1'" />
                    <ARG name="DATA2" value="'2.1'" />
                    <ARG name="DATA3" value="'2.4'" />
                    <ARG name="DATA4" value="'2.5'" />
                    <ARG name="DATA5" value="'2.2'" />
                    <ARG name="DATA6" value="'2.3'" />
                    <ARG name="DATA7" value="'1.11'" />
                    <ARG name="DATA8" value="'1.9'" />
                    <ARG name="DATA9" value="'3.1'" />
                    <ARG name="DATA010" value="'0'" />
                    <ARG name="DATA011" value="'0'" />
                    <ARG name="DATA012" value="'0'" />
                    <ARG name="DATA013" value="'0'" />
                    <ARG name="DATA014" value="'0'" />
                    <ARG name="DATA015" value="'0'" />
					<ARG name="LGROUPBY" value="return SELECT.GROUPBY;"/>
					<ARG name="LGROUPBY_2" value="return SELECT.GROUPBY_2;"/>
					<ARG name="LGROUPBY_3" value="return SELECT.GROUPBY_3;"/>
			</VIEWLINK>	
			<VIEWLINK label="Evolution" shortLabel="Evolution" view="PMSI000036.XML" enabled="true" rowContext="false" componentName="PERIODICITE_VIEWLINK" buttonType="EVOLUTION">
				<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';"/>
                <ARG name="GROUPBY" value="if(SELECT.LGROUPBY != '-1'){return SELECT.LGROUPBY;}else{return SELECT.GROUPBY;}"/>
				<ARG name="GROUPBY_2" value="return '-1';"/>
				<ARG name="GROUPBY_3" value="return '-1'"/>				
                <ARG name="DATA" value="'1.1'" />
				<ARG name="PERIODICITE" value="'MONTH'" />
			</VIEWLINK>
			<VIEWLINK label="Analyse croisée" shortLabel="Analyse croisée" view="PMSI000213.XML" enabled="true" rowContext="false" buttonType="ANALYSE_CROISEE">
				<ARG name="ALIAS_PERIODE" value="return '-1'"/>
				<ARG name="PERIODE" value="return SELECT.PERIODE;"/>
				<ARG name="DATA" value="'1.1'" />
				<ARG name="COLUMNBY" value="'MSOR'" />
				<ARG name="GROUPBY" value="'ASOR'" />
				<ARG name="GROUPBY_TAB" value="'TAB'" />
				<ARG name="COLUMNBYCOUNT" value="'12'" />
			</VIEWLINK>
			<VIEWLINK label="Analyse"  shortLabel="Analyse"  rowContext="false" buttonType="VIEWLINK_ANALYSE_MCO">			
                <VIEWITEM label="Analyse" shortLabel="Analyse" view="PMSI000007.XML" enabled="true" rowContext="false" buttonType="ANALYSE">
                    <ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';"/>
                    <ARG name="GROUPBY" value="if(SELECT.LGROUPBY != '-1'){return SELECT.LGROUPBY;}else{return SELECT.GROUPBY;}"/>
                    <ARG name="GROUPBY_2" value="if(SELECT.LGROUPBY_2 != '-1'){return SELECT.LGROUPBY_2;}else{return '-1';}"/>
                    <ARG name="GROUPBY_3" value="if(SELECT.LGROUPBY_3 != '-1'){return SELECT.LGROUPBY_3;}else{return '-1';}"/>
                    <ARG name="GROUPBY_TAB" value="'AUTO'" />
                </VIEWITEM>               
                <VIEWITEM label="Analyse paramétrable" shortLabel="Analyse CA" view="PMSI000439.XML" enabled="true" rowContext="false" buttonType="ANALYSE">
                    <ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';"/>
                    <ARG name="GROUPBY" value="if(SELECT.LGROUPBY != '-1'){return SELECT.LGROUPBY;}else{return SELECT.GROUPBY;}"/>
                    <ARG name="GROUPBY_2" value="if(SELECT.LGROUPBY_2 != '-1'){return SELECT.LGROUPBY_2;}else{return '-1';}"/>
                    <ARG name="GROUPBY_3" value="if(SELECT.LGROUPBY_3 != '-1'){return SELECT.LGROUPBY_3;}else{return '-1';}"/>
                    <ARG name="GROUPBY_TAB" value="'AUTO'" />
                    <ARG name="LS_DATA" value="'-1'" />
                    <ARG name="DATA01" value="'1.1'" />
                    <ARG name="DATA02" value="'2.1'" />
                    <ARG name="DATA03" value="'2.4'" />
                    <ARG name="DATA04" value="'2.5'" />
                    <ARG name="DATA05" value="'2.2'" />
                    <ARG name="DATA06" value="'2.3'" />
                    <ARG name="DATA07" value="'1.11'" />
                    <ARG name="DATA08" value="'1.9'" />
                    <ARG name="DATA09" value="'3.1'" />
                    <ARG name="DATA10" value="'0'" />
                    <ARG name="DATA11" value="'0'" />
                    <ARG name="DATA12" value="'0'" />
                    <ARG name="DATA13" value="'0'" />
                    <ARG name="DATA14" value="'0'" />
                    <ARG name="DATA15" value="'0'" />
                </VIEWITEM>
			</VIEWLINK>
			<VIEWLINK label="Justificatif C.A. par RSS" shortLabel="Justificatif C.A." view="PMSI000038.XML" componentName="RSS_BASE_VIEWLINK" visible="= SELECT.DATA != '2.13' &amp;&amp; SELECT.DATA != '1.12' &amp;&amp; SELECT.DATA != '2.14' &amp;&amp; SELECT.DATA != '2.15' &amp;&amp; SELECT.DATA != '1.13'"/>
		</VIEWLINKS>
		<ONGLET excelLabel="Analyse croisée" label="Analyse croisée" multiTab="true">
            <CHART title="" type="group" subType="h" percentHeight="100" fromTotal="false" visibleCondition="SELECT.GROUPBY == 'ASOR' &amp;&amp; (SELECT.COLUMNBY == 'MSOR' || SELECT.COLUMNBY == 'TRIMSOR')">			
                <CHART title="Comparatif (10 premiers)" type="pieChart" maxItems="10" maxItemsSortOn="N" maxItemsSortSeq="D" sortField="N" sortSeq="A"  condition="ROW.LVL == '1'">
                    <CATEGORY field="CODTXT" type="Char"/>
                    <SERIE field="N" displayName="SELECT.DATA_LABEL" displayNameCalc="true"/>
                </CHART>
                <CHART title="Evolution" type="lineChart" serieIsCategory="true" fromTotal="false" maxItems="5" maxItemsSortOn="N" sortField="N" sortSeq="D" visibleCondition="SELECT.GROUPBY == 'ASOR' &amp;&amp; (SELECT.COLUMNBY == 'MSOR' || SELECT.COLUMNBY == 'TRIMSOR')" condition="Number(ROW.LVL) == 1">
                    <CATEGORY field="COD" type="Char"/>
                    <SERIE field="N1" displayName="VIEW.COLH1" displayNameCalc="true" visibleCondition="VIEW.COLH1 != null"/>
                    <SERIE field="N2" displayName="VIEW.COLH2" displayNameCalc="true" visibleCondition="VIEW.COLH2 != null"/>
                    <SERIE field="N3" displayName="VIEW.COLH3" displayNameCalc="true" visibleCondition="VIEW.COLH3 != null"/>
                    <SERIE field="N4" displayName="VIEW.COLH4" displayNameCalc="true" visibleCondition="VIEW.COLH4 != null"/>
                    <SERIE field="N5" displayName="VIEW.COLH5" displayNameCalc="true" visibleCondition="VIEW.COLH5 != null"/>
                    <SERIE field="N6" displayName="VIEW.COLH6" displayNameCalc="true" visibleCondition="VIEW.COLH6 != null"/>
                    <SERIE field="N7" displayName="VIEW.COLH7" displayNameCalc="true" visibleCondition="VIEW.COLH7 != null"/>
                    <SERIE field="N8" displayName="VIEW.COLH8" displayNameCalc="true" visibleCondition="VIEW.COLH8 != null"/>
                    <SERIE field="N9" displayName="VIEW.COLH9" displayNameCalc="true" visibleCondition="VIEW.COLH9 != null"/>
                    <SERIE field="N10" displayName="VIEW.COLH10" displayNameCalc="true" visibleCondition="VIEW.COLH10 != null"/>
                    <SERIE field="N11" displayName="VIEW.COLH11" displayNameCalc="true" visibleCondition="VIEW.COLH11 != null"/>
                    <SERIE field="N12" displayName="VIEW.COLH12" displayNameCalc="true" visibleCondition="VIEW.COLH12 != null"/>
                    <SERIE field="N13" displayName="VIEW.COLH13" displayNameCalc="true" visibleCondition="VIEW.COLH13 != null"/>
                    <SERIE field="N14" displayName="VIEW.COLH14" displayNameCalc="true" visibleCondition="VIEW.COLH14 != null"/>
                    <SERIE field="N15" displayName="VIEW.COLH15" displayNameCalc="true" visibleCondition="VIEW.COLH15 != null"/>
                    <SERIE field="N16" displayName="VIEW.COLH16" displayNameCalc="true" visibleCondition="VIEW.COLH16 != null"/>
                    <SERIE field="N17" displayName="VIEW.COLH17" displayNameCalc="true" visibleCondition="VIEW.COLH17 != null"/>
                    <SERIE field="N18" displayName="VIEW.COLH18" displayNameCalc="true" visibleCondition="VIEW.COLH18 != null"/>
                    <SERIE field="N19" displayName="VIEW.COLH19" displayNameCalc="true" visibleCondition="VIEW.COLH19 != null"/>
                    <SERIE field="N20" displayName="VIEW.COLH20" displayNameCalc="true" visibleCondition="VIEW.COLH20 != null"/>
                </CHART>
			</CHART>
            <CHART title="" type="group" subType="h" percentHeight="100" fromTotal="false" visibleCondition="(SELECT.GROUPBY != 'ASOR') || (SELECT.GROUPBY == 'ASOR' &amp;&amp; SELECT.COLUMNBY != 'MSOR' &amp;&amp; SELECT.COLUMNBY != 'TRIMSOR')">			
                <CHART title="Comparatif (10 premiers)" type="pieChart" maxItems="10" maxItemsSortOn="N" maxItemsSortSeq="D" sortField="N" sortSeq="A"  condition="ROW.LVL == '1'">
                    <CATEGORY field="CODTXT" type="Char"/>
                    <SERIE field="N" displayName="SELECT.DATA_LABEL" displayNameCalc="true"/>
                </CHART>
                <CHART title="Répartition (Total)" type="columnChart" serieIsCategory="true" fromTotal="true" visibleCondition="(SELECT.GROUPBY != 'ASOR') || (SELECT.GROUPBY == 'ASOR' &amp;&amp; SELECT.COLUMNBY != 'MSOR' &amp;&amp; SELECT.COLUMNBY != 'TRIMSOR')">
                    <CATEGORY field="COD" type="Char"/>
                    <SERIE field="N1" displayName="VIEW.COLH1" displayNameCalc="true" visibleCondition="VIEW.COLH1 != null"/>
                    <SERIE field="N2" displayName="VIEW.COLH2" displayNameCalc="true" visibleCondition="VIEW.COLH2 != null"/>
                    <SERIE field="N3" displayName="VIEW.COLH3" displayNameCalc="true" visibleCondition="VIEW.COLH3 != null"/>
                    <SERIE field="N4" displayName="VIEW.COLH4" displayNameCalc="true" visibleCondition="VIEW.COLH4 != null"/>
                    <SERIE field="N5" displayName="VIEW.COLH5" displayNameCalc="true" visibleCondition="VIEW.COLH5 != null"/>
                    <SERIE field="N6" displayName="VIEW.COLH6" displayNameCalc="true" visibleCondition="VIEW.COLH6 != null"/>
                    <SERIE field="N7" displayName="VIEW.COLH7" displayNameCalc="true" visibleCondition="VIEW.COLH7 != null"/>
                    <SERIE field="N8" displayName="VIEW.COLH8" displayNameCalc="true" visibleCondition="VIEW.COLH8 != null"/>
                    <SERIE field="N9" displayName="VIEW.COLH9" displayNameCalc="true" visibleCondition="VIEW.COLH9 != null"/>
                    <SERIE field="N10" displayName="VIEW.COLH10" displayNameCalc="true" visibleCondition="VIEW.COLH10 != null"/>
                    <SERIE field="N11" displayName="VIEW.COLH11" displayNameCalc="true" visibleCondition="VIEW.COLH11 != null"/>
                    <SERIE field="N12" displayName="VIEW.COLH12" displayNameCalc="true" visibleCondition="VIEW.COLH12 != null"/>
                    <SERIE field="N13" displayName="VIEW.COLH13" displayNameCalc="true" visibleCondition="VIEW.COLH13 != null"/>
                    <SERIE field="N14" displayName="VIEW.COLH14" displayNameCalc="true" visibleCondition="VIEW.COLH14 != null"/>
                    <SERIE field="N15" displayName="VIEW.COLH15" displayNameCalc="true" visibleCondition="VIEW.COLH15 != null"/>
                    <SERIE field="N16" displayName="VIEW.COLH16" displayNameCalc="true" visibleCondition="VIEW.COLH16 != null"/>
                    <SERIE field="N17" displayName="VIEW.COLH17" displayNameCalc="true" visibleCondition="VIEW.COLH17 != null"/>
                    <SERIE field="N18" displayName="VIEW.COLH18" displayNameCalc="true" visibleCondition="VIEW.COLH18 != null"/>
                    <SERIE field="N19" displayName="VIEW.COLH19" displayNameCalc="true" visibleCondition="VIEW.COLH19 != null"/>
                    <SERIE field="N20" displayName="VIEW.COLH20" displayNameCalc="true" visibleCondition="VIEW.COLH20 != null"/>
                </CHART>
            </CHART>
			<DATAGRID title="" total="true" showOthers="true" headerHeight="72" variableRowHeight="true" sortable="= SELECT.GROUPBY_3 == '-1' &amp;&amp; (SELECT.GROUPBY_2 == '-1' || SELECT.GROUPBY_TAB == 'TAB')" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'">
				<INSERT name="DATAGRID_MULTITAB_STYLES"/>
				<COLUMN dataField="OID" width="60" type="Char" visible="false" headerText="Oid"/>
				<COLUMN dataField="COD" width="70" type="Char" headerText="Code" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="TOTAL">
					<INSERT name="COLUMN_COD_MULTITAB_STYLES"/>
				</COLUMN>
				<COLUMN dataField="CODTXT" type="Char" visible="false" totalFunction="text" otherFunction="text" calc="true">
					<CALC formula="ROW.COD + ' - ' + ROW.TXT"/>
				</COLUMN>
				<COLUMN dataField="TXT" type="Char" minWidth="200" headerText="SELECT.GROUPBY_LABEL" headerTextCalc="true" textAlign="left" totalFunction="text" otherFunction="text" otherComplement="*ROW"/>
				<COLUMN dataField="N" width="90" type="Number" outputFormat="= SELECT.DATA2" headerText="SELECT.DATA_LABEL" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum" description=" "/>
				<COLUMN dataField="N_P" type="Number" headerText="% / Total" width="40" outputFormat="0%" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="ROW.N / TOTALROW.N * 100"/>
				</COLUMN>
				<COLUMN dataField="N1" width="75" visibleCondition="VIEW.COLH1 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH1" columnData="= VIEW.COLI1" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N2" width="75" visibleCondition="VIEW.COLH2 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH2" columnData="= VIEW.COLI2" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N3" width="75" visibleCondition="VIEW.COLH3 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH3" columnData="= VIEW.COLI3" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N4" width="75" visibleCondition="VIEW.COLH4 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH4" columnData="= VIEW.COLI4" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N5" width="75" visibleCondition="VIEW.COLH5 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH5" columnData="= VIEW.COLI5" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N6" width="75" visibleCondition="VIEW.COLH6 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH6" columnData="= VIEW.COLI6" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N7" width="75" visibleCondition="VIEW.COLH7 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH7" columnData="= VIEW.COLI7" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N8" width="75" visibleCondition="VIEW.COLH8 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH8" columnData="= VIEW.COLI8" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N9" width="75" visibleCondition="VIEW.COLH9 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH9" columnData="= VIEW.COLI9" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N10" width="75" visibleCondition="VIEW.COLH10 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH10" columnData="= VIEW.COLI10" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N11" width="75" visibleCondition="VIEW.COLH11 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH11" columnData="= VIEW.COLI11" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N12" width="75" visibleCondition="VIEW.COLH12 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH12" columnData="= VIEW.COLI12" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N13" width="75" visibleCondition="VIEW.COLH13 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH13" columnData="= VIEW.COLI13" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N14" width="75" visibleCondition="VIEW.COLH14 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH14" columnData="= VIEW.COLI14" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N15" width="75" visibleCondition="VIEW.COLH15 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH15" columnData="= VIEW.COLI15" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N16" width="75" visibleCondition="VIEW.COLH16 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH16" columnData="= VIEW.COLI16" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N17" width="75" visibleCondition="VIEW.COLH17 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH17" columnData="= VIEW.COLI17" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N18" width="75" visibleCondition="VIEW.COLH18 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH18" columnData="= VIEW.COLI18" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N19" width="75" visibleCondition="VIEW.COLH19 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH19" columnData="= VIEW.COLI19" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
				<COLUMN dataField="N20" width="75" visibleCondition="VIEW.COLH20 != null" type="Number" outputFormat="#" fixed="false" selectable="false" headerText="VIEW.COLH20" columnData="= VIEW.COLI20" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" description=" "/>
			</DATAGRID>
		</ONGLET>
	</PRESENTATION>
</VUE>
