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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
RobRayborn
Helper IV
Helper IV

Power Query record add

I need to use Power Query in Power BI to retreive one row of 5 - 6 columns of daily records and store them under the date retrieved.

At the time of day that will specify, I need to collect that day's date, the Units and $ on hand at that time

On the next day at that same time I need to do the same thing, but now I need to add this row of data to the row of data from the previous day, and so on until decide to remove old data.
Transactions take place during the day, so i need a snapshot of the On Hand Units and $, and be able to track the trend over days, months, years.
How can I do this?

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @RobRayborn 

 

Power Query is not a good tool to do this job. Every time when you refresh data in Power BI, it will query data from the data source to get the new data to replace the old data in the model. It cannot make a snapshot of the historical data or store the historical data. Since your data source only has the data of the current date, Power Query can only get the data of that date. It cannot store the data retreived in previous dates in the model. 

 

You can consider storing the historical data along with the retreived date into a database or a file at a scheduled time every day. Then connect Power BI to this database/file to get all historical data and create a report for analysis. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @RobRayborn 

 

Power Query is not a good tool to do this job. Every time when you refresh data in Power BI, it will query data from the data source to get the new data to replace the old data in the model. It cannot make a snapshot of the historical data or store the historical data. Since your data source only has the data of the current date, Power Query can only get the data of that date. It cannot store the data retreived in previous dates in the model. 

 

You can consider storing the historical data along with the retreived date into a database or a file at a scheduled time every day. Then connect Power BI to this database/file to get all historical data and create a report for analysis. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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