I have 2 questions in the SSRS Query Designer for my SSAS tabular model. I create a calculated Member column that basically says, IF this other column = "Last Invoice Date", put "Last Invoice Date" as the value, otherwise, put a different column's value in, "FiscalMonthLastDay":
IIF([Invoice Date].[Relative Date].CurrentMember.MEMBER_CAPTION ="Last Invoice Date",
"Last Invoice Date",
[Invoice Date].[FiscalMonthLastDay].CurrentMember.MEMBER_CAPTION)
When i drag that new field in, it works but its creating extra rows in my results. I added before & after screen shot (erased some sensitive data). I can't figure out how to get it to not show the extra rows?
After:
My 2nd question is, i would then like to filter my data set to only where this new calculated member matches another column. So I am doing the MDX operator in the filters section and thought something like this would work, but i can't get it to (its the same formula as above):
If anyone knows where to get some good examples of how this MDX operator is used, that would be great !
Thanks !