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

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

Reply
Yazid
Helper I
Helper I

Reformating a table by removing duplicate rows

Dear,

 

Here is my issue, within my table, I have to calculate a cumulative sum over specific rows.

 

Actually, for each value project_Nbr, i have to take into account the corresponding amount.

 

However, this table has duplicate rows which complicate the calculation of the running sum over the rows.

 

See below a snap from Excel expliciting the matter:

 

 

Yazid_0-1717012206103.png

 

Thanks in advance for your support.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Yazid ,

Below is my table:

vxiandatmsft_0-1717031422059.png

You can remove the duplicate in the PowerQuery:

vxiandatmsft_1-1717031488448.png

The final output is shown in the following figure:

vxiandatmsft_2-1717031674176.png

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

Do you have a Date column?  If yes, then it is easy enough to solve.


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

Hi @Yazid ,

Below is my table:

vxiandatmsft_0-1717031422059.png

You can remove the duplicate in the PowerQuery:

vxiandatmsft_1-1717031488448.png

The final output is shown in the following figure:

vxiandatmsft_2-1717031674176.png

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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