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
PBI_newuser
Post Prodigy
Post Prodigy

How to store old data before refreshing to plot a chart

Hi, I want to store the old data so that I can know the open cases count for each day as screenshot below.
How can I do that?

Capture.PNG

1 ACCEPTED SOLUTION
4 REPLIES 4
edhans
Super User
Super User

Power BI is a read-only product. It cannot efficiently store archival data. You need your source system to maintain copies of data, either in a separate table, the same table but with dated records, or if your data is file based, save a different file for each time data is saved then combine the files using the File Combine functionality for CSV, XLSX, PDF, and other flat files.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Hi @amitchandak ,

The old data can be stored, but once i made some changes in pbix file and publish it again, all the old data has gone.

How can I solve this?

@PBI_newuser That was why I said you cannot efficiently do this in Power BI. There are hacks and tricks, but this is not a robust solution. To save data, you need to get the ALM Toolkit.

 

All of this is really meant for very VERY large datasets where you don't want to push the data up with every sync. The trick that Christopher Webb shows on his blog is really cool, but as you can see, it is not sustaninable without a lot of extra work on your part to keep both sets of data there in the event of a republish.

 

My advice stands as before. Find a workflow that can properly store data for prior periods.

 

But if you want to continue down this path, get the ALM Toolkit mentioned above and start reading through that material on how to manage data already stored in the service and avoid overwriting it.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

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.