Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

View all the Fabric Data Days sessions on demand. View schedule

Reply
AllanBerces
Post Prodigy
Post Prodigy

Sumx- Per Week

Hi good day,

Pls need assistance on how can i get the sum per week base from Phase and Trade.

AllanBerces_1-1723305930652.png

Thank you

 

1 ACCEPTED SOLUTION

Hi @Ashish_Mathur @sivarajan21 @mickey64 thank you to all your reply, i got the solution on my query.

 

Thank you

View solution in original post

8 REPLIES 8
Ashish_Mathur
Super User
Super User

Hi,

On week 27, there is only 1 combination of Com and Mech.  Shouldn't the answer be 1?  In Week 28, for the same combination of Com and Mech, shouldn't the answer be 3?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi @Ashish_Mathur @sivarajan21 @mickey64 thank you to all your reply, i got the solution on my query.

 

Thank you

Anonymous
Not applicable

Hi, @AllanBerces 

Glad to know that you appear to have found a solution.

 

Could you please share your solution and mark it as a solution? This will help other members of the community who are experiencing similar problems to yours to be able to find a solution faster. Thank you.

 

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

sivarajan21
Post Prodigy
Post Prodigy

Hi @AllanBerces ,

 

PFA measure to achieve your outcome

Sumxperweek = 
CALCULATE(COUNTAX(Trade,Trade[Phase]),ALLEXCEPT(Trade,Trade[Phase],Trade[Week No.]))

 

The result is:

sivarajan21_0-1723393638645.png

 

If you are satisfied with this, please accept it as a solution and give a kudos.

Thanks in advance!

AllanBerces
Post Prodigy
Post Prodigy

BTW i required it as Calculated Column

mickey64
Super User
Super User

For your reference.

mickey64_0-1723309113207.png

 

Hi @mickey64 Thank you for the reply, but i need it as Calculated Column.

 

 

For your reference.

Sum_Count = CALCULATE(SUM(DATA[Count]),ALLEXCEPT('DATA','DATA'[Week No.],'DATA'[Phase],'DATA'[Trade]))

 

Sum_Outcome = CALCULATE(SUM(DATA[Outcome]),ALLEXCEPT('DATA','DATA'[Week No.],'DATA'[Phase],'DATA'[Trade]))

 

mickey64_0-1723346318062.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors