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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
SamiaSouissi
Regular Visitor

Using the file modified by power query as a source of information for the next month

Hello, 

I'm working on building a report to track a Key Performance Indicator (KPI).

 

SamiaSouissi_0-1710495155633.png

 

Among the source files for this graph is a historical file containing all data dating back to 2016. Each month on this file, I need to add a data row that will be considered for the following month. For this month, I imported the historical file containing data up to February 2024 and made transformations to incorporate the new data row (from other files extracted from SAP).

 

SamiaSouissi_2-1710495869907.png

 

The constraint is that for the next month, I want my source historical file to include the March row, meaning when I update my graph, I want March to remain in the history and April to be added. My question is, is this possible given that the source historical file only contains info up to February? Do I need to manually add the row to the source file since it wouldn't be advantageous to use Power BI in this case, as my goal is to automate the creation of this graph? 

Thank you 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Using self reference on a semantic model is asking for trouble big time, and should be avoided as much as possible.

 

Store your historical snaphots further upstream.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Using self reference on a semantic model is asking for trouble big time, and should be avoided as much as possible.

 

Store your historical snaphots further upstream.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.