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

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -