sql server - Retrieve data from cube using several members of the same dimension -
i trying retrieve data cube, problem have need select several members same dimension, among other dimensions cube. tried using member concatenation in mdx query this:
with member [dimtime].[newdate] [dimtime].[dimtime].properties("day")+" "+[dimtime].[dimtime].properties("month")+" "+[dimtime].[dimtime].properties("year") select non empty{ [measures].[count] on columns, [dimtime].[newdate] on rows [sample] but error because using several times dimtime. trying other dimensions values, want retrieve dates. have idea of how this?
what have result this:
where new_date concatenation of day_month_year, , grouped other dimensions.
thanks in advance.
unsure trying achieve.
in ms's advwrks this:
select non empty [measures].[internet sales amount] on columns ,non empty [date].[calendar].[date] on rows [adventure works]; it gives result:
in advwrks date dimension looks this:
i think need work on cube structure


Comments
Post a Comment