Forum Discussion
Eiji77
7 years agoHelper II
and or
New GOAL = FILTER('Table 2',’Table 2'[STATUS]="D"||Table2'[STATUS]="E"&&RELATED('Table 1'[STATUS]<>"E") Is this formula correct?
- Anonymous7 years ago
AND and OR are functions in the DAX, so maybe you can write it as follow:
New Goal = FILTER ( Table2, AND ( OR ( Table2[STATUS] = "D", Table2[STATUS] = "E" ), RELATED ( Table1[STATUS] ) <> "E" ) )
Anonymous
7 years agoNot applicable
AND and OR are functions in the DAX, so maybe you can write it as follow:
New Goal =
FILTER (
Table2,
AND (
OR ( Table2[STATUS] = "D", Table2[STATUS] = "E" ),
RELATED ( Table1[STATUS] ) <> "E"
)
)