Depending on the requirements, sometimes it is necessary to do some categorizations which does not included in the dimension data. In such scenarios we may have to add a dimension attribute which currently does not exists with the dimension data.
We can do it in the MDX query as below.
You can set the measure value based on the required logic.
We can do it in the MDX query as below.
WITH
MEMBER [DimBranch].[Branch].[Dummy] AS
'0',
SOLVE_ORDER = 0
SELECT
{[Measures].[CONTRIBUTION
USECASE]} ON COLUMNS,
NON EMPTY Union(
[DimBranch].[Branch].Members,
{[Branch].[Dummy]}) ON ROWS
FROM
[Sales]You can set the measure value based on the required logic.
No comments:
Post a Comment