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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
dannecr
Regular Visitor

rolling inventory level over time

Hi community,

 

I got kind of an easy question for you but somehow I am stuck at the moment.

Maybe you can help me out with my issue? 🙂

 

I do have the following table as the data source:

Articlegoods out - dategoods out - quantity
ABC-1Dez 225000
ABC-1Feb 23790
ABC-1Mrz 233951
DEF-2Jan 2333
DEF-2Feb 23700
DEF-2Apr 235000

 

Showing for 2 articles the goods out dates & qty.

So from article ABC-1 I would have today a stocklevel of a total of 9741 pcs.

By end of December 5000 pcs are shipped out. So the stocklevel would have reduced to only 4741 pcs.

This continues till end of February where the last items of this article are shipped out and the stocklevel drops to 0.

 

I am now looking for a way to show this in a new table.

The new table should preferably look somehow like the example below:

ArticleABC-1DEF-1
Okt 2297415733
Nov 2297415733
Dez 2247415733
Jan 2347415700
Feb 2339515000
Mrz 2305000
Apr 2400

 

Any suggestions on how to set up such kind of a table?

The amount of possible is not limited; also the goods out days and the qty are not limited.

(Just limited in this example here for a better understanding)

 

Would be highly appreciated if you could support me 🙂

Thanks in advance for your outstanding support.

2 REPLIES 2
Anonymous
Not applicable

Hi @dannecr ,

Is there a calendar table in the model? Or a column for sorting [goods out - date]? What is [goods out - date]s data type?

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Hi Gao,

thanks for your message.

So far there is not a calendar table included in the model; also a column for sorting [goods out - date] is not yet implemented.

The [goods out - date] column is originally a date type but was converted to a text type. E.g. "15/12/2022" is converted to "Dez 22" --> Date.ToText([goods out - date], "MMM.yyyy"))

 

The input table has only the 3 columns as shown in the example.

[Article] [goods out - date] [goods out - quantity]

 

All [goods out - date] values are in the future.

I wanna show the current stock level based on [goods out - quantity].

And once- goods are shipped out I want to display the new stock level.

 

Thanks 🙂

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