Forum Discussion
Creating a new table based on multiple criteria
- 8 years ago
Hi dandywong,
Your parentesis are misplaced so the all function is.working incorrectly.
The measure should beTest Table = FILTER ( ALL ( Projects[ProjectIdentifier], Projects[ProjectPhase], Projects[EnterpriseProjectTypeDescription], Projects[ScopeStatus] ), Projects[ProjectPhase] = "Completed" && Projects[ScopeStatus] = "Green" )
I also notice that you were missing the Project ScopeStatus on your ALL formula without it the filter wouldn't had context and the result would be incorrect.
Regards
MFelix
Hi dandywong,
You need to take out the comma after "Green". The && cannot be preceded by a comma.
Regards,
MFelix
Thanks MFelix!!!!
Sorry, I think I'm missing something....
Still getting an error.
- MFelix8 years agoSuper User
Hi dandywong,
Your parentesis are misplaced so the all function is.working incorrectly.
The measure should beTest Table = FILTER ( ALL ( Projects[ProjectIdentifier], Projects[ProjectPhase], Projects[EnterpriseProjectTypeDescription], Projects[ScopeStatus] ), Projects[ProjectPhase] = "Completed" && Projects[ScopeStatus] = "Green" )
I also notice that you were missing the Project ScopeStatus on your ALL formula without it the filter wouldn't had context and the result would be incorrect.
Regards
MFelix- dandywong8 years agoFrequent Visitor
Thank you MFelix! That did the trick!