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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Ben1981
Frequent Visitor

Building a historic table from a daily dataset

Hi, 

 

I run a SQL query into a PBI report that has a daily snapshot of data but there is a requirement for historical data which our SQL server does not provide.

I'm pretty sure I've heard of people using PBI/PBI dataflows to create some sort of historical dataset where I could run my daily SQL query and store the results but I don't know how it's done. 

Is anyone aware of this or know how it's done, would be grateful if you explain the process or point in the right direction?

 

Thnaks

 

1 ACCEPTED SOLUTION

Hi, I found the solution and it is possible to do by a bit of work around which basically involves you feeding a dataflow into itself. 

It's not ideal but when you don't have access to the right tools and need a job doing, you have to find a way.

Thanks,
Ben

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

I'm pretty sure I've heard of people using PBI/PBI dataflows to create some sort of historical dataset where I could run my daily SQL query and store the results

Whoever says that is a snake oil salesperson.  Power BI has no memory, has no guarantee of storage, and should not be used for this.  Store your snapshots in a reliable system upstream, or better yet use a data source that is not snapshot based but can reconstruct any point in the past.

 

Incidentally the Delta Lake Parquet format may be able to accomplish something similar in the future. Delta Lake Time Travel | Delta Lake

Hi, I found the solution and it is possible to do by a bit of work around which basically involves you feeding a dataflow into itself. 

It's not ideal but when you don't have access to the right tools and need a job doing, you have to find a way.

Thanks,
Ben

Ignore my warning at your own peril. The moment you have to make even the smallest change to your dataflow your history will go poof!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors