Showing results for 
Search instead for 
Did you mean: 
New Member

DAX code to sum by group


I have 2 tables A and B with 1 key valid relation between them 

what I need is to sum by Workweek the price for each color, appreciate your advice with what need to solve this, 


ScreenHunter_01 Jul. 18 15.56.jpg









Thank you 

Super User II
Super User II

Could you clarify what is in Table A and what is in Table B (and the relationship between them)?  It's not clear from your picture.


If you want to post the data (instead of a picture) that is always helpful.

Helpful resources

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors