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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
jmvidal
Helper II
Helper II

How to buil info with historical values

HI,

I want to keep track of the evolution of stocks.

Today I capture a table from our ERP with:

currentdate, product, stock, value

 

Is there any way I could store this info so I could get the evolution of stock? something like:

 

2020-04-15, product, stock, value
2020-04-16, product, stock, value

etc

 

Thanks!

3 REPLIES 3
v-gizhi-msft
Community Support
Community Support

Hi,

 

Do you have any date column when capture these data from your ERP like this?

2.PNG

If not, can you capture the data import Date by other way?

When you successfully capture this date everyday, try to create a calendar table first.

Then you can easily make a comparsion between calendar table date and this import date that if equals, return three columns data.

 

Best Regards,

Giotto

 

amitchandak
Super User
Super User

@jmvidal , Refer if this can help

https://www.thebiccountant.com/2017/01/11/incremental-load-in-powerbi-using-dax-union/

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks for your answer.

I am afraid this is not what I need: as far as I understood, having two tables and make a union with them might work when having historical data and recent data, in order to avoid loading large quantities of rows.

I my case, I need to keep yesterday's rows, then add today's rows, then add tomorrow's rows and so on, because I need to know (in my example) the stock I am having every single day and see the evolution.

Thanks!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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