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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors