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
fabiolamelo
Helper II
Helper II

Budget table Issue - duplicate amount instead of update

Hi experts,

 

I am working in one financial project, that there is a table called budget and the amount of the budget could be change anytime.

 

I am struggling with refreshing data, because when the "budget amount" changed, the power bi understand that is a new transaction and not a update of the collumn. As you can see in the following example:

 

Budget table

CODE |COMPANY NAME |CODE                     |AMOUNT |COMP_CODE|DOC_NO |TRAN_DATE |TRAN_DESC
FABI   |FABI NAME           |BUDGET.FABI.2016 |369          |XXX                 |XXXX      |01-Jul-16      |Period Balance budget transaction

 

Alteration the budget instead of 369 is 400. The power bi understand 2 different transaction instead of just update the amount.

CODE |COMPANY NAME |CODE                     |AMOUNT |COMP_CODE  |DOC_NO|TRAN_DATE |TRAN_DESC

FABI   |FABI NAME           |BUDGET.FABI.2016 |369          |XXX                 |XXXX      |01-Jul-16      |Period Balance budget transaction
FABI   |FABI NAME           |BUDGET.FABI.2016 |400          |XXX                 |XXXX      |01-Jul-16      |Period Balance budget transaction

 

Note: The only collumn that was changed is "Amount" 

Also,I`m using the API to get the data and unfortunatelly I can`t share it because is a confidential data.

 

Is there is any solution that I can use to the power bi just update the amount without create a new row?

 

Thanks 

Fabi Melo

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@fabiolamelo , Ideally power bi refresh should overwrite the data. I think you are getting two rows from the source.

 

you can refer to this blog , if this can help

https://exceleratorbi.com.au/remove-duplicates-keep-last-record-power-query/

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@fabiolamelo , Ideally power bi refresh should overwrite the data. I think you are getting two rows from the source.

 

you can refer to this blog , if this can help

https://exceleratorbi.com.au/remove-duplicates-keep-last-record-power-query/

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks @amitchandak 

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