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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.