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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Summation of a column on a matching criteria from another column in same table

Hi 

 

I have a table with following structure 

 

Month Source Price %age %AgePrice
Jun-20A1.2480.576
Jul-20A1.3480.624
Aug-20A1.4480.672
Jul-20B1.7200.34
Aug-20B1.78200.356
Jul-20C1.7200.34
Aug-20C1.8200.36
Sep-20C1.78200.356

 

Where %age Price is a calculated Column which is Price * %age 

 

I have to now calculate another column which should be sum of %agePrice for all different sources matching on a Month 

Such that my output be like 

Required Sum price Month 
0.576Jun-20
1.304Jul-20
1.388Aug-20
0.356Sep-20

 

e.g. For June 2020 , Required Sum price = =E2

JUL 2020 - =E3+E5+E7 and so on. Is there a way to do this in PowerBI Query 

 

Thanks for help in advance 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

All , i have been able solve this myself by using Summarize function, All i did was Summarized the source table data into a new Table and Sum it on the prices that I want summation on . I will now mere this table along with the source table such that complete set  of data could be represented in a Matrix.

 

Thanks

View solution in original post

5 REPLIES 5
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Add columns to a matrix directly.

Capture15.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi Maggie 

 

I have created an appended table with data from different tables consisting of various sources "Table 1". Now , i need to calculate another column "Required Sum price" which is Sum of %age Prices from all Sources for a given Month. I am stuck at how to calculate this sum matching on month and make this new column part of the same appended table such that it could all be represnted in a matrix. 

 

Hope that clarifies

Thanks

Anonymous
Not applicable

@v-juanli-msft , Team 

 

Could you please help with the tricks to how this summation could be done. I am new to PowerBI and your help will be appreciated . Thanks 

Anonymous
Not applicable

All , i have been able solve this myself by using Summarize function, All i did was Summarized the source table data into a new Table and Sum it on the prices that I want summation on . I will now mere this table along with the source table such that complete set  of data could be represented in a Matrix.

 

Thanks

Anonymous
Not applicable

I would rather like to have new calculated values appended in the same Source table , With Source being as D , Month, %age price as 1 and then calculated price as summation of values from different rows. Given this needs to represented in a matrix eventually, i feel would be  the best way to do it ?

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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 Kudoed Authors