Forum Discussion
santiago01
7 years agoFrequent Visitor
Calculate Sum based on another column
Hello, I have a table with projects and hours. Each project has a corresponding proposal number. How can I create a measure that adds all the hours for the corresponsing proposal and sh...
- 7 years ago
You can create a measure using DAX below:
SumProjectHours = CALCULATE(SUM('Table'[Hours]), ALLEXCEPT('Table', 'Table'[Project_Number], 'Table'[Proposal Number]))Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yuta-msft
7 years agoCommunity Support
You can create a measure using DAX below:
SumProjectHours = CALCULATE(SUM('Table'[Hours]), ALLEXCEPT('Table', 'Table'[Project_Number], 'Table'[Proposal Number]))
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.