cancel
Showing results for 
Search instead for 
Did you mean: 
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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors