mdx - How to return the LastDate as a measure -
mdx - How to return the LastDate as a measure -
this expression:
with fellow member [date].[calendar].[lastdate] tail( nonempty( [date].[calendar].members, [measures].[internet sales amount] ) ).item(0) fellow member [measures].[measurex] [date].[calendar].[lastdate].member_value select { [measures].[measurex] } on columns [adventure works];
the result this:
how configure measurex
returns lastly date in [date].[calendar]
dimension?
the formula of calculated fellow member cannot homecoming member; utilize iccube function ;-) ssas perhaps creating set of 1 fellow member might trick you. accessing fellow member done using notation: myset(0).
hope helps.
mdx
Comments
Post a Comment