[Mpuls-commits] r5073 - in jmd/trunk: . jmdstrukturweb/public/xml
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Jun 6 16:11:24 CEST 2011
Author: roland
Date: 2011-06-06 16:11:23 +0200 (Mon, 06 Jun 2011)
New Revision: 5073
Modified:
jmd/trunk/ChangeLog
jmd/trunk/jmdstrukturweb/public/xml/eval_gruppenangebote.xml
Log:
issue2184: add evaluations for new field 'amount of hours'
Modified: jmd/trunk/ChangeLog
===================================================================
--- jmd/trunk/ChangeLog 2011-06-06 14:08:28 UTC (rev 5072)
+++ jmd/trunk/ChangeLog 2011-06-06 14:11:23 UTC (rev 5073)
@@ -1,5 +1,10 @@
2011-06-06 Roland Geider <roland.geider at intevation.de>
+ * jmdstrukturweb/public/xml/eval_gruppenangebote.xml: issue2184:
+ add evaluations for new field 'amount of hours'. Format the rest.
+
+2011-06-06 Roland Geider <roland.geider at intevation.de>
+
* jmdweb/public/formed/formedtree.xml: issue2167: add
two additional sub-goals
Modified: jmd/trunk/jmdstrukturweb/public/xml/eval_gruppenangebote.xml
===================================================================
--- jmd/trunk/jmdstrukturweb/public/xml/eval_gruppenangebote.xml 2011-06-06 14:08:28 UTC (rev 5072)
+++ jmd/trunk/jmdstrukturweb/public/xml/eval_gruppenangebote.xml 2011-06-06 14:11:23 UTC (rev 5073)
@@ -1,3 +1,4 @@
+<?xml version="1.0"?>
<evaluationset>
<id>3</id>
<version>1.0</version>
@@ -3,275 +4,309 @@
<name>Gruppenangebote</name>
<desc>Gruppenangebote</desc>
-
<evaluation>
- <id>1</id>
- <name>KJP-geförderte Gruppenangebote</name>
- <desc>Art des Gruppenangebots</desc>
- <basequery>
- <table>master_tbl_eval_total_view</table>
- <template>SELECT t.id, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_kjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
- <where>(TRUE)</where>
- </basequery>
- <xdim>
- <label>Anzahl</label>
- <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
- <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl2</join>
- </xdim>
- <ydim>
- <label>Art des Gruppenangebos</label>
- <field>kjp_grp_art_angebot</field>
- <table>kjp_grp_art_angebot_tbl</table>
- <join>kjp_grp_art_angebot</join>
- <where>(TRUE)</where>
- </ydim>
+ <id>1</id>
+ <name>KJP-geförderte Gruppenangebote</name>
+ <desc>Art des Gruppenangebots</desc>
+ <basequery>
+ <table>master_tbl_eval_total_view</table>
+ <template>SELECT t.id, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_kjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
+ <where>(TRUE)</where>
+ </basequery>
+ <xdim>
+ <label>Anzahl</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl2</join>
+ </xdim>
+ <ydim>
+ <label>Art des Gruppenangebos</label>
+ <field>kjp_grp_art_angebot</field>
+ <table>kjp_grp_art_angebot_tbl</table>
+ <join>kjp_grp_art_angebot</join>
+ <where>(TRUE)</where>
+ </ydim>
</evaluation>
-
<evaluation>
- <id>2</id>
- <name>KJP-geförderte Gruppenangebote</name>
- <desc>Anzahl der Teilnehmer - Gesamt</desc>
- <basequery>
- <table>master_tbl_eval_total_view</table>
- <template>SELECT t.id, kjp_grp_anzahl_teilnehmer_weiblich, kjp_grp_anzahl_teilnehmer_maennlich, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_kjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
- <where>(TRUE)</where>
- <aggregate>(SUM(kjp_grp_anzahl_teilnehmer_weiblich) + SUM(kjp_grp_anzahl_teilnehmer_maennlich))</aggregate>
- </basequery>
- <xdim>
- <label>Anzahl</label>
- <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
- <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl2</join>
- </xdim>
- <ydim>
- <label>Insgesamt</label>
- <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl</field>
- <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl</join>
- </ydim>
+ <id>2</id>
+ <name>KJP-geförderte Gruppenangebote</name>
+ <desc>Anzahl der Teilnehmer - Gesamt</desc>
+ <basequery>
+ <table>master_tbl_eval_total_view</table>
+ <template>SELECT t.id, kjp_grp_anzahl_teilnehmer_weiblich, kjp_grp_anzahl_teilnehmer_maennlich, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_kjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
+ <where>(TRUE)</where>
+ <aggregate>(SUM(kjp_grp_anzahl_teilnehmer_weiblich) + SUM(kjp_grp_anzahl_teilnehmer_maennlich))</aggregate>
+ </basequery>
+ <xdim>
+ <label>Anzahl</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl2</join>
+ </xdim>
+ <ydim>
+ <label>Insgesamt</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl</join>
+ </ydim>
</evaluation>
-
<evaluation>
- <id>3</id>
- <name>KJP-geförderte Gruppenangebote</name>
- <desc>Anzahl der Teilnehmer - Männlich</desc>
- <basequery>
- <table>master_tbl_eval_total_view</table>
- <template>SELECT t.id, kjp_grp_anzahl_teilnehmer_maennlich, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_kjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
- <where>(TRUE)</where>
- <aggregate>(SUM(kjp_grp_anzahl_teilnehmer_maennlich))</aggregate>
- </basequery>
- <xdim>
- <label>Anzahl</label>
- <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
- <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl2</join>
- </xdim>
- <ydim>
- <label>Insgesamt</label>
- <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl</field>
- <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl</join>
- </ydim>
+ <id>3</id>
+ <name>KJP-geförderte Gruppenangebote</name>
+ <desc>Anzahl der Teilnehmer - Männlich</desc>
+ <basequery>
+ <table>master_tbl_eval_total_view</table>
+ <template>SELECT t.id, kjp_grp_anzahl_teilnehmer_maennlich, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_kjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
+ <where>(TRUE)</where>
+ <aggregate>(SUM(kjp_grp_anzahl_teilnehmer_maennlich))</aggregate>
+ </basequery>
+ <xdim>
+ <label>Anzahl</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl2</join>
+ </xdim>
+ <ydim>
+ <label>Insgesamt</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl</join>
+ </ydim>
</evaluation>
-
<evaluation>
- <id>4</id>
- <name>KJP-geförderte Gruppenangebote</name>
- <desc>Anzahl der Teilnehmer - Weiblich</desc>
- <basequery>
- <table>master_tbl_eval_total_view</table>
- <template>SELECT t.id, kjp_grp_anzahl_teilnehmer_weiblich, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_kjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
- <where>(TRUE)</where>
- <aggregate>(SUM(kjp_grp_anzahl_teilnehmer_weiblich))</aggregate>
- </basequery>
- <xdim>
- <label>Anzahl</label>
- <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
- <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl2</join>
- </xdim>
- <ydim>
- <label>Insgesamt</label>
- <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl</field>
- <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl</join>
- </ydim>
+ <id>4</id>
+ <name>KJP-geförderte Gruppenangebote</name>
+ <desc>Anzahl der Teilnehmer - Weiblich</desc>
+ <basequery>
+ <table>master_tbl_eval_total_view</table>
+ <template>SELECT t.id, kjp_grp_anzahl_teilnehmer_weiblich, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_kjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
+ <where>(TRUE)</where>
+ <aggregate>(SUM(kjp_grp_anzahl_teilnehmer_weiblich))</aggregate>
+ </basequery>
+ <xdim>
+ <label>Anzahl</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl2</join>
+ </xdim>
+ <ydim>
+ <label>Insgesamt</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl</join>
+ </ydim>
</evaluation>
-
<evaluation>
- <id>5</id>
- <name>KJP-geförderte Gruppenangebote</name>
- <desc>Anzahl der Teilnehmer</desc>
- <basequery>
- <table>master_tbl_eval_total_view</table>
- <template>SELECT t.id, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_kjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
- <where>(TRUE)</where>
- </basequery>
- <xdim>
- <label>Anzahl</label>
- <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
- <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl2</join>
- </xdim>
- <ydim>
- <label>12 bis 14 Jahre</label>
- <field>(SELECT COUNT(id) FROM master_tbl_eval_total_view) AS anzahl</field>
- <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl</join>
- <where>(kjp_grp_alter = 0 OR kjp_grp_alter2 = 0 OR kjp_grp_alter3 = 0)</where>
- </ydim>
- <ydim>
- <label>15 bis 18 Jahre</label>
- <field>(SELECT COUNT(id) FROM master_tbl_eval_total_view) AS anzahl</field>
- <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl</join>
- <where>(kjp_grp_alter = 1 OR kjp_grp_alter2 = 1 OR kjp_grp_alter3 = 1)</where>
- </ydim>
- <ydim>
- <label>19 bis 27 Jahre</label>
- <field>(SELECT COUNT(id) FROM master_tbl_eval_total_view) AS anzahl</field>
- <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl</join>
- <where>(kjp_grp_alter = 2 OR kjp_grp_alter2 = 2 OR kjp_grp_alter3 = 2)</where>
- </ydim>
+ <id>5</id>
+ <name>KJP-geförderte Gruppenangebote</name>
+ <desc>Anzahl der Teilnehmer</desc>
+ <basequery>
+ <table>master_tbl_eval_total_view</table>
+ <template>SELECT t.id, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_kjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
+ <where>(TRUE)</where>
+ </basequery>
+ <xdim>
+ <label>Anzahl</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl2</join>
+ </xdim>
+ <ydim>
+ <label>12 bis 14 Jahre</label>
+ <field>(SELECT COUNT(id) FROM master_tbl_eval_total_view) AS anzahl</field>
+ <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl</join>
+ <where>(kjp_grp_alter = 0 OR kjp_grp_alter2 = 0 OR kjp_grp_alter3 = 0)</where>
+ </ydim>
+ <ydim>
+ <label>15 bis 18 Jahre</label>
+ <field>(SELECT COUNT(id) FROM master_tbl_eval_total_view) AS anzahl</field>
+ <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl</join>
+ <where>(kjp_grp_alter = 1 OR kjp_grp_alter2 = 1 OR kjp_grp_alter3 = 1)</where>
+ </ydim>
+ <ydim>
+ <label>19 bis 27 Jahre</label>
+ <field>(SELECT COUNT(id) FROM master_tbl_eval_total_view) AS anzahl</field>
+ <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl</join>
+ <where>(kjp_grp_alter = 2 OR kjp_grp_alter2 = 2 OR kjp_grp_alter3 = 2)</where>
+ </ydim>
</evaluation>
-
-
-
<evaluation>
- <id>8</id>
- <name>Nicht KJP-geförderte Gruppenangebote</name>
- <desc>Art des Gruppenangebots</desc>
- <basequery>
- <table>master_tbl_eval_total_view</table>
- <template>SELECT t.id, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_nichtkjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
- <where>(TRUE)</where>
- </basequery>
- <xdim>
- <label>Anzahl</label>
- <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
- <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl2</join>
- </xdim>
- <ydim>
- <label>Art des Gruppenangebos</label>
- <field>nichtkjp_grp_art_angebot</field>
- <table>nichtkjp_grp_art_angebot_tbl</table>
- <join>nichtkjp_grp_art_angebot</join>
- <where>(TRUE)</where>
- </ydim>
+ <id>13</id>
+ <name>KJP-geförderte Gruppenangebote</name>
+ <desc>Dauer in Stunden</desc>
+ <basequery>
+ <table>master_tbl_eval_total_view</table>
+ <template>SELECT t.id, kjp_grp_dauer_stunden, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_kjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
+ <where>(TRUE)</where>
+ <aggregate>(SUM(kjp_grp_dauer_stunden))</aggregate>
+ </basequery>
+ <xdim>
+ <label>Anzahl</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl2</join>
+ </xdim>
+ <ydim>
+ <label>Gesamt</label>
+ <field>(SELECT COUNT(id) FROM master_tbl_eval_total_view) AS anzahl</field>
+ <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl</join>
+ <where>(TRUE)</where>
+ </ydim>
</evaluation>
-
<evaluation>
- <id>9</id>
- <name>Nicht KJP-geförderte Gruppenangebote</name>
- <desc>Anzahl der Teilnehmer - Gesamt</desc>
- <basequery>
- <table>master_tbl_eval_total_view</table>
- <template>SELECT t.id, nichtkjp_grp_anzahl_teilnehmer_weiblich, nichtkjp_grp_anzahl_teilnehmer_maennlich, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_nichtkjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
- <where>(TRUE)</where>
- <aggregate>(SUM(nichtkjp_grp_anzahl_teilnehmer_weiblich) + SUM(nichtkjp_grp_anzahl_teilnehmer_maennlich))</aggregate>
- </basequery>
- <xdim>
- <label>Anzahl</label>
- <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
- <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl2</join>
- </xdim>
- <ydim>
- <label>Insgesamt</label>
- <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl</field>
- <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl</join>
- </ydim>
+ <id>8</id>
+ <name>Nicht KJP-geförderte Gruppenangebote</name>
+ <desc>Art des Gruppenangebots</desc>
+ <basequery>
+ <table>master_tbl_eval_total_view</table>
+ <template>SELECT t.id, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_nichtkjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
+ <where>(TRUE)</where>
+ </basequery>
+ <xdim>
+ <label>Anzahl</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl2</join>
+ </xdim>
+ <ydim>
+ <label>Art des Gruppenangebos</label>
+ <field>nichtkjp_grp_art_angebot</field>
+ <table>nichtkjp_grp_art_angebot_tbl</table>
+ <join>nichtkjp_grp_art_angebot</join>
+ <where>(TRUE)</where>
+ </ydim>
</evaluation>
-
<evaluation>
- <id>10</id>
- <name>Nicht KJP-geförderte Gruppenangebote</name>
- <desc>Anzahl der Teilnehmer - Männlich</desc>
- <basequery>
- <table>master_tbl_eval_total_view</table>
- <template>SELECT t.id, nichtkjp_grp_anzahl_teilnehmer_maennlich, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_nichtkjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
- <where>(TRUE)</where>
- <aggregate>(SUM(nichtkjp_grp_anzahl_teilnehmer_maennlich))</aggregate>
- </basequery>
- <xdim>
- <label>Anzahl</label>
- <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
- <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl2</join>
- </xdim>
- <ydim>
- <label>Insgesamt</label>
- <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl</field>
- <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl</join>
- </ydim>
+ <id>9</id>
+ <name>Nicht KJP-geförderte Gruppenangebote</name>
+ <desc>Anzahl der Teilnehmer - Gesamt</desc>
+ <basequery>
+ <table>master_tbl_eval_total_view</table>
+ <template>SELECT t.id, nichtkjp_grp_anzahl_teilnehmer_weiblich, nichtkjp_grp_anzahl_teilnehmer_maennlich, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_nichtkjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
+ <where>(TRUE)</where>
+ <aggregate>(SUM(nichtkjp_grp_anzahl_teilnehmer_weiblich) + SUM(nichtkjp_grp_anzahl_teilnehmer_maennlich))</aggregate>
+ </basequery>
+ <xdim>
+ <label>Anzahl</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl2</join>
+ </xdim>
+ <ydim>
+ <label>Insgesamt</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl</join>
+ </ydim>
</evaluation>
-
<evaluation>
- <id>11</id>
- <name>Nicht KJP-geförderte Gruppenangebote</name>
- <desc>Anzahl der Teilnehmer - Weiblich</desc>
- <basequery>
- <table>master_tbl_eval_total_view</table>
- <template>SELECT t.id, nichtkjp_grp_anzahl_teilnehmer_weiblich, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_nichtkjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
- <where>(TRUE)</where>
- <aggregate>(SUM(nichtkjp_grp_anzahl_teilnehmer_weiblich))</aggregate>
- </basequery>
- <xdim>
- <label>Anzahl</label>
- <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
- <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl2</join>
- </xdim>
- <ydim>
- <label>Insgesamt</label>
- <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl</field>
- <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl</join>
- </ydim>
+ <id>10</id>
+ <name>Nicht KJP-geförderte Gruppenangebote</name>
+ <desc>Anzahl der Teilnehmer - Männlich</desc>
+ <basequery>
+ <table>master_tbl_eval_total_view</table>
+ <template>SELECT t.id, nichtkjp_grp_anzahl_teilnehmer_maennlich, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_nichtkjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
+ <where>(TRUE)</where>
+ <aggregate>(SUM(nichtkjp_grp_anzahl_teilnehmer_maennlich))</aggregate>
+ </basequery>
+ <xdim>
+ <label>Anzahl</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl2</join>
+ </xdim>
+ <ydim>
+ <label>Insgesamt</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl</join>
+ </ydim>
</evaluation>
-
<evaluation>
- <id>12</id>
- <name>Nicht KJP-geförderte Gruppenangebote</name>
- <desc>Anzahl der Teilnehmer</desc>
- <basequery>
- <table>master_tbl_eval_total_view</table>
- <template>SELECT t.id, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_nichtkjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
- <where>(TRUE)</where>
- </basequery>
- <xdim>
- <label>Anzahl</label>
- <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
- <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl2</join>
- </xdim>
- <ydim>
- <label>12 bis 14 Jahre</label>
- <field>(SELECT COUNT(id) FROM master_tbl_eval_total_view) AS anzahl</field>
- <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl</join>
- <where>(nichtkjp_grp_alter = 0 OR nichtkjp_grp_alter2 = 0 OR nichtkjp_grp_alter3 = 0)</where>
- </ydim>
- <ydim>
- <label>15 bis 18 Jahre</label>
- <field>(SELECT COUNT(id) FROM master_tbl_eval_total_view) AS anzahl</field>
- <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl</join>
- <where>(nichtkjp_grp_alter = 1 OR nichtkjp_grp_alter2 = 1 OR nichtkjp_grp_alter3 = 1)</where>
- </ydim>
- <ydim>
- <label>19 bis 27 Jahre</label>
- <field>(SELECT COUNT(id) FROM master_tbl_eval_total_view) AS anzahl</field>
- <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
- <join>anzahl</join>
- <where>(nichtkjp_grp_alter = 2 OR nichtkjp_grp_alter2 = 2 OR nichtkjp_grp_alter3 = 2)</where>
- </ydim>
+ <id>11</id>
+ <name>Nicht KJP-geförderte Gruppenangebote</name>
+ <desc>Anzahl der Teilnehmer - Weiblich</desc>
+ <basequery>
+ <table>master_tbl_eval_total_view</table>
+ <template>SELECT t.id, nichtkjp_grp_anzahl_teilnehmer_weiblich, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_nichtkjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
+ <where>(TRUE)</where>
+ <aggregate>(SUM(nichtkjp_grp_anzahl_teilnehmer_weiblich))</aggregate>
+ </basequery>
+ <xdim>
+ <label>Anzahl</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl2</join>
+ </xdim>
+ <ydim>
+ <label>Insgesamt</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl</join>
+ </ydim>
</evaluation>
-
-
-</evaluationset>
\ No newline at end of file
+ <evaluation>
+ <id>12</id>
+ <name>Nicht KJP-geförderte Gruppenangebote</name>
+ <desc>Anzahl der Teilnehmer</desc>
+ <basequery>
+ <table>master_tbl_eval_total_view</table>
+ <template>SELECT t.id, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_nichtkjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
+ <where>(TRUE)</where>
+ </basequery>
+ <xdim>
+ <label>Anzahl</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl2</join>
+ </xdim>
+ <ydim>
+ <label>12 bis 14 Jahre</label>
+ <field>(SELECT COUNT(id) FROM master_tbl_eval_total_view) AS anzahl</field>
+ <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl</join>
+ <where>(nichtkjp_grp_alter = 0 OR nichtkjp_grp_alter2 = 0 OR nichtkjp_grp_alter3 = 0)</where>
+ </ydim>
+ <ydim>
+ <label>15 bis 18 Jahre</label>
+ <field>(SELECT COUNT(id) FROM master_tbl_eval_total_view) AS anzahl</field>
+ <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl</join>
+ <where>(nichtkjp_grp_alter = 1 OR nichtkjp_grp_alter2 = 1 OR nichtkjp_grp_alter3 = 1)</where>
+ </ydim>
+ <ydim>
+ <label>19 bis 27 Jahre</label>
+ <field>(SELECT COUNT(id) FROM master_tbl_eval_total_view) AS anzahl</field>
+ <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl</join>
+ <where>(nichtkjp_grp_alter = 2 OR nichtkjp_grp_alter2 = 2 OR nichtkjp_grp_alter3 = 2)</where>
+ </ydim>
+ </evaluation>
+ <evaluation>
+ <id>14</id>
+ <name>Nicht KJP-geförderte Gruppenangebote</name>
+ <desc>Dauer in Stunden</desc>
+ <basequery>
+ <table>master_tbl_eval_total_view</table>
+ <template>SELECT t.id, nichtkjp_grp_dauer_stunden, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_nichtkjp_gruppenangebote_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
+ <where>(TRUE)</where>
+ <aggregate>(SUM(nichtkjp_grp_dauer_stunden))</aggregate>
+ </basequery>
+ <xdim>
+ <label>Anzahl</label>
+ <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl2</field>
+ <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl2</join>
+ </xdim>
+ <ydim>
+ <label>Gesamt</label>
+ <field>(SELECT COUNT(id) FROM master_tbl_eval_total_view) AS anzahl</field>
+ <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+ <join>anzahl</join>
+ <where>(TRUE)</where>
+ </ydim>
+ </evaluation>
+</evaluationset>
More information about the Mpuls-commits
mailing list