Bonjour tout le monde,
je travaille actuellement sur les cubes olap de jasper, aprés avoir choisi le serveur R-olap de jasper ,j'ai établi la connexion au datawarehouse,puis j'ai écrit le schéma XML suivant pour tester :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| <?xml version="1.0"?>
<Schema name="creation_env">
<Cube name="creation_env">
<Table name="table_fait_creation_env"/>
<Dimension name="dim_environement" foreignKey="id_dim_env">
<Hierarchy hasAll="true" primaryKey="id_dim_env" primaryKeyTable="dim_environement">
<Table name="dim_environement"/>
<Level name="nomenv" column="nom_env" type="String" uniqueMembers="false"/>
<Level name="datereel" column="date_reel" uniqueMembers="false"/>
<Level name="dateprev" column="date_prev" uniqueMembers="false"/>
<Level name="respect" column="respect" uniqueMembers="false"/>
</Hierarchy>
</Dimension>
<Dimension name="dim_client" foreignKey="id_dim_client">
<Hierarchy hasAll="true" primaryKey="id_dim_client" primaryKeyTable="dim_client">
<Table name="dim_client"/>
<Level name="nom_client" column="nom_client" type="String" uniqueMembers="false"/>
<Level name="id_pays" column="id_pays" uniqueMembers="false"/>
<Level name="etat" column="etat" uniqueMembers="false"/>
<Level name="date_depot" column="date_depot" uniqueMembers="false"/>
</Hierarchy>
</Dimension>
</Cube>
</Schema> |
je l'ai telechargé à partir de jasper ,et finalement je veux faire une Analysis Views,et dans la partie requetes MDX j'ai mis :
1 2 3 4 5
|
SELECT
dim_client.MEMBERS ON COLUMNS,
dim_environement.MEMBERS ON ROWS
FROM creation_env |
mais j'obtiens toujours l'erreur suivante :
The following is not a valid MDX Query: Mondrian Error:Hierarchy '[Measures]' is invalid (has no members)
et même quand je mets :
1 2 3 4 5 6
|
SELECT
[dim_client].[1] ON COLUMNS
FROM creation_env |
j'obtiens l'erreur suivante :
The following is not a valid MDX Query: Mondrian Error:MDX object '[dim_client].[1]' not found in cube 'creation_env'
avez-vous une idée sur ce qui ne va pas dans tous ces étapes?!!
j'ai vraiment besoin de résousdre ce problème pour avancer,car mon but c'est de faire un reporting à partir du datawarehouse en passant par des cubes Olap.
je vous remercie d'avance
Partager