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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
jagtaps
Frequent Visitor

Table in Query editor

Hello,

 

I have a table containing the Cost Types which are repeating for 12 rows (representing 12 months data), i have per month cost update in uploaded data.

 

Can you add column in table and cumulate the costs based on cost types??

 

Regards,

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @jagtaps 

 

Your expected output is not clear to me. If your data is similar to below and you want to get the total cost per cost type, you can group by Type column and calculate the sum of Cost column. 

vjingzhang_0-1646723069742.png

vjingzhang_2-1646723328232.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

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @jagtaps 

 

Your expected output is not clear to me. If your data is similar to below and you want to get the total cost per cost type, you can group by Type column and calculate the sum of Cost column. 

vjingzhang_0-1646723069742.png

vjingzhang_2-1646723328232.png

 

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

PhilipTreacy
Super User
Super User

Hi @jagtaps 

Sounds like you want to Group the Cost Types and sum the costs in the months column.

Please supply some sample data as a text file/table (copy and paste here) or supply your file.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.