Forum Discussion
Anonymous
4 years agoNot applicable
Conditional Column with sum function
Hi all, Want to ask how can I do a formulation for STOP TIME column as per below excel formula. Already done successfully in DAX but I want to do it in the power query (M language) since I want t...
- 4 years ago
Use below formula in a custom column
= if List.Contains({"ZN04","ZN05","ZN19","ZN20"},[Value Key]) then List.Sum({[Activity 1],[Activity 2],[Activity 3],[Activity 4],[Activity 5],[Activity 6]}) else 0
Vijay_A_Verma
Most Valuable Professional
4 years agoUse below formula in a custom column
= if List.Contains({"ZN04","ZN05","ZN19","ZN20"},[Value Key]) then List.Sum({[Activity 1],[Activity 2],[Activity 3],[Activity 4],[Activity 5],[Activity 6]}) else 0Anonymous
4 years agoNot applicable