Forum Discussion
PC2022
Helper III
1 year agoCONTAINS formula or something else?
I need to calculate sum score based on criteria that all 5 review phases evaluations are present for the project ID. For example, for the project below, the score shouldn't get calculated, as only 2 ...
- 1 year ago
Use CONTAINSSTRING instead.
PC2022
Helper III
1 year agoUsed Containsstring. Doesn't give error anymore but not returning any results although i know there are projects where all phases evals exist.
EvalJobComp = CALCULATE(SUMX(crb87_consultantevaluation,
([EvalDesignComp30] * 0.7) + ([EvalConstrComp] * 0.3)),
CONTAINSSTRING(crb87_consultantevaluation[Review Phase], "30% Design") &&
CONTAINSSTRING(crb87_consultantevaluation[Review Phase], "60% Design") &&
CONTAINSSTRING( crb87_consultantevaluation[Review Phase], "100% Design") &&
CONTAINSSTRING( crb87_consultantevaluation[Review Phase], "Mid-Construction") &&
CONTAINSSTRING( crb87_consultantevaluation[Review Phase], "Construction/Final"))
- lbendlin1 year ago
Super User
what happened to the ORs ? Your filter needs to say II, not &&