Hi Benedict,
A dimension is like a characteristic in BW. Let's take this example:
Dimension 1 | Dimension 2 | Measure 1 |
---|---|---|
FRANCE | PRODUCT A | 100 |
CHINA | PRODUCT A | 50 |
US | PRODUCT B | 20 |
So it makes perfect sense to use a OR operator for an analytical privilege on a dimension. Restrictions happen in the WHERE clause so if I'm authorized to see France and China, it will look like (just to give you an idea):
SELECT .... WHERE DIMENSION 1 = FRANCE OR CHINA
If you try this with a AND operator you will never retrieve anything as there is no dimension with a value France and China.
F the AND operation is also logical for the 2 dimensions, if you are authorized to Product B in addition of France and China. You need a AND condition otherwise you'll see non authorized information.
SELECT .... WHERE (DIMENSION 1 = FRANCE OR CHINA) AND DIMENSION 2 = PRODUCT B
Result should be empty as they were no Product B sold in France or China.
Hope I was clear enough