I need to find out the number of days in Month based on Time dimension. Time dimension is Month when Jan is selected it has to return 31 as value.
0
votes
2 Answers
0
votes
0
votes
The below sample shows how to get the count. Please note the below query only show the idea how to do this. Your cube will note have these attributes you you need to replace them
with member measures.t as Count(([Date].[Month of Year].&[1],[Date].[Day of Month].[Day of Month].members)) select {measures.t} on columns from [Adventure Works]