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..
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..