define distributed member mdx filtering measure's value
i need interpretation distributed member mdx (this sas olap, nonetheless i'd conclude answers work opposite olap implementations anyway).
the new measure's value should distributed an existent magnitude requesting an additional filter condition. i suspect clearer an example:
- existing measure: "total traffic"
- existing dimension: "direction" ("in" "out")
- i need emanate distributed member "incoming traffic", equals "total traffic" an additional filter (direction = "in")
the problem i don't know mdx i'm unequivocally avaricious news (so contemptible newbie question). best i adult is:
([measures].[total traffic], [direction].[(all)].[in])
which roughly works, solely cells specific direction:

so looks "intrinsic" filter instruction overridden possess filter). i need an intersection "intrinsic" filter own. stomach feeling intersecting [direction].[(all)].[in] unparalleled coords cave being evaluated, nonetheless it's tough know i need but initial reading adult theme :)
[update] i finished adult
iif([direction].currentmember = [direction].[(all)].[out],
0,
([measures].[total traffic], [direction].[(all)].[in])
)
..but during slightest sas olap causes additional queries achieved (to calculate value [in]) underlying information set, i didn't end.
Comments
Post a Comment