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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.