Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

cube error

$
0
0
hello

the followoing mdx query supposed to fecth all the energy route under plants-control centre-process

select NON EMPTY {[Measures].[Kwh Consumed]} ON COLUMNS,
NON EMPTY Crossjoin(Hierarchize(Union(Union(Crossjoin({[Company.Default].[Allcompany]}, {([plant.default].[AllPlants], [Energy route.default].[All Energy route.defaults])}), Crossjoin({[Company.Default].[Allcompany]}, Crossjoin([plant.default].[AllPlants].Children, {[Energy route.default].[All Energy route.defaults]}))), Crossjoin({[Company.Default].[Allcompany]}, Union(Union(Crossjoin({[plant.default].[NB31]}, [Energy route.default].[All Energy route.defaults].Children), Crossjoin({[plant.default].[NB31]}, [Energy route.default].[PCC1].Children)), Crossjoin({[plant.default].[NB31]}, [Energy route.default].[PCC1].[CANE HADLING].Children))))), {[Date.default].[All Date.defaults]}) ON ROWS
from [NB31]


but only getting first values.

help me out thanks in adv..

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>