Forum Discussion
saavedrag12
4 years agoFrequent Visitor
How to create a summary measure across multiple columns?
Hello, I'm trying to create a dynamic measure that will provide with a total headcount across mutilple fields (columns). Please see image below for example: I would like a measure that w...
v-zhangti
Community Support
4 years agoHi, saavedrag12
Please check the following methods.
Measure =
CALCULATE (
MAX ( Table_Headcount[Headcount] ),
FILTER (
ALL ( Table_Headcount ),
[Contractor] = SELECTEDVALUE ( Table_Headcount[Contractor] )
)
)
Is this the output you expect? If not, please tell the result you expect, showing it in pictures.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
saavedrag12
4 years agoFrequent Visitor
Hello,
The Calculate function does not allow me to utilize the filter function for the second argument.
- v-zhangti4 years ago
Community Support
Hi, saavedrag12
Is it possible to show a picture of the problem you encountered and the results you expect?
Best Regards