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 there,
I tried this formula, but it didn't work:
Any idea on how to fix this?
Hi dandywong,
You need to take out the comma after "Green". The && cannot be preceded by a comma.
Regards,
MFelix
- dandywong8 years agoFrequent Visitor
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!