I need to add a new dimension to my OLAP cube to filter some rows.
Essentially if the users select "yes" it should appear all rows. If the users select "no" it should appear the rows identified.
I have a column in my factual table with 0 and 1 (no/yes)..
My problem is that I need to "ignore" this column if the users select yes and only look for it if the select no..
I thought on a Junk dimension but for this I need to have two attributes.
Any suggestions
Thanks
By "filtering some rows in cube" you mean apply filter if [No] member is selected in your dimension, correct? Otherwise show all measures like there is no filter.
Can you use SCOPE redirection to [All] member when [Yes] is selected?
This should work for every measure that you have in cube.
Moreover, even if cube ALTER is not allowed, you can achieve it in two steps way:
E.g. [CY 2013] = your [Yes]:
But please try SCOPE as a first. Because it can be applied to any measure, even not created yet.