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
astarkey
Frequent Visitor

Add a new rows to a custom table after dataset refresh

Is it possible to add new rows of data to a table following a dataset refresh?
I basically want to somehow snapshot certain counts at the pointvof refresh....

I report on the size of a fleet of equipment and that can change but there is no date field in the original database for me to track the fluctuation in fleet size etc...

If I could somehow snapshot this count at each refresh of my dataset I could at least show a trend line against this fleet size.

Any help would be great!!
1 REPLY 1
Greg_Deckler
Super User
Super User

Two possible ways of going about this (probably more). One would be to use an R Script step in your query to snapshot the data to something like a SQL Server database using RODBC module. Another approach would be to leverage the PowerApp integration to manually enter the data after each refresh. There may be a Flow solution as well. Typically though, when needing to snapshot data, the R approach in the query is the way to go. You can then create a query to pull this data into your data model for use as historical reference.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

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!

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.