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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
TPC
Regular Visitor

how to build this model data

Hi,

I have an inventory report that is extracted on a monthly basis. 

So the column headers remain the same each month except the data. 

There is no date reference available in the files.

My goal is to store the monthly inventory files in a folder (get data from folder containing the files with monthly add on, so the folder will contain Jan 2023, Feb 2023, Mar 2023, etc inventory files, and they are combined into one spreadsheet to track inventory evolution.

Any advice on how the data model can be built? To note that date reference is not available in the data. 

1 ACCEPTED SOLUTION

Hi @TPC 

Glad to hear that it is what you need.

What you can do is create a new column from example and extract the date from the file name. 

In the screenshot below, I generated the Date column form the Name column. 

HughLa_1-1676887368546.png

 

Hope that you come right with this.

Hugh

 

 

 

 

 

View solution in original post

3 REPLIES 3
HughLa
Resolver IV
Resolver IV

TPC
Regular Visitor

hi @HughLa ,

 

Thanks alot! And that is the solution I needed. However, I have one further question. After the date column is extracted, it is not in date format. When I left click on the top left hand of the "date column" that has been created to extract the date from the file name, it gives an error. Could you show me the way to solve this please?

 

 

Hi @TPC 

Glad to hear that it is what you need.

What you can do is create a new column from example and extract the date from the file name. 

In the screenshot below, I generated the Date column form the Name column. 

HughLa_1-1676887368546.png

 

Hope that you come right with this.

Hugh

 

 

 

 

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors