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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
PowerbiDev12
New Member

Fifo concept in power query

I have mentioned one table and  what i want , it's like FIFO concept 

1. i have some of Items and amounts and publiction, so i want to show payments as publication wise and need split amount based on invoice number .

 

Eg 1:

PowerbiDev12_0-1676808073200.png

 

 

 

Eg 2:

PowerbiDev12_1-1676808103031.png

Payments Logic : Invoice number 1

1st row Collection(3000) - Amount(1000)=Payments1(2000)

2nd row Payments1(2000) - Amount(500) = Payments2(1500)

3rd row Payments2(1500) - Amount(1500) = Payments3(0)

4th row Payments3(0) - Amount(2000) = Payments4(0)

 

 

 

Please let me know if you have solution

 

 

Thanks & Regards,

Sakthivel

2 REPLIES 2
bhelou
Responsive Resident
Responsive Resident

hi , please if you can share some sample with the queries , ill try to help you . 

i will give sample data , please try with this and let me know if got solution. 

 

PowerbiDev12_0-1677595947968.png

 

 

 

 

Thanks 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors