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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

RE: Summing Of Values From The Same Column In A Table

 

Screenshot (595).png

 

Dear all,

How can I add all of the values belonging in the, "MFT COMBINED" column before I find the mean value of it?

 

I would appreciate any assistance that is given.

1 ACCEPTED SOLUTION

Hi @Anonymous 

 

You can replace #"Previous Step" in @latimeria 's code with the last step name from Applied Steps pane of the query. For example, in the following image, the last step is "Added Custom2". It is added after its previous step "Removed Columns3". So you can find "Removed Columns3" in its step code in the formula bar. If you want to add a step after "Added Custom2", you can right click on "Added Custom2" and select Insert Step After option. Then paste below code in the formula bar to get the mean value in a new column.  

Table.AddColumn(#"Added Custom2", "Custom", each List.Average(#"Added Custom2"[MFT COMBINED]))

vjingzhang_0-1663568360484.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

3 REPLIES 3
latimeria
Solution Specialist
Solution Specialist

Hi @Anonymous ,

Is it what you are looking for?

Table.AddColumn(#"Changed Type", "Custom", each List.Average(#"Previous Step"[MFT COMBINED]))

 

Anonymous
Not applicable

Hi @latimeria ,

Thank you for taking your time out to reply to the issue that I am facing. However, because it is already a different day from the time that I posted that query, the code which you have suggested does not work for me as it no longer has previous steps available to go back to. However, I still appreciate the effort that you have put into the reply. If you happen to be able to suggest another coding for my issue, please do!

Yours sincerely,
Kaili.

Hi @Anonymous 

 

You can replace #"Previous Step" in @latimeria 's code with the last step name from Applied Steps pane of the query. For example, in the following image, the last step is "Added Custom2". It is added after its previous step "Removed Columns3". So you can find "Removed Columns3" in its step code in the formula bar. If you want to add a step after "Added Custom2", you can right click on "Added Custom2" and select Insert Step After option. Then paste below code in the formula bar to get the mean value in a new column.  

Table.AddColumn(#"Added Custom2", "Custom", each List.Average(#"Added Custom2"[MFT COMBINED]))

vjingzhang_0-1663568360484.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Top Kudoed Authors