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
abehrmann
Helper II
Helper II

Keeping some averages of certain columns while overriting the data file

I have a few reports built that all connect to one .xlsx file.  I recieved an updated copy of the report daily and overwrite the previos version.

 

There is a column in the table that goves the me duration of the request in that row and an associated status

 

Request #         Status             Days in Current Status

R1016CLOSED_Cancelled469.9541666
R1017CLOSED_Cancelled469.9375

 

 

If i created a new table in BI that averaged the days in current status for each status would i be able to keep the existing average and update it based on the new file data.

1 ACCEPTED SOLUTION

The data has to be somewhere. Power BI refreshes by purging all data and getting it fresh when it imports. Even with incremental refreshes on large data sets, it ensures the data all exists and periodically does a full refresh.

 

So you need to figure out a way to keep the old data. Put it in SQL tables, do the file combine, etc. But whatever it is, if you want it in your report, it has to exist outside of Power BI to bring in. 



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

View solution in original post

5 REPLIES 5
edhans
Super User
Super User

Yes. You just use the Get Data feature, and import the table from Excel. Next time you refresh it will load the new rows with the old ones. It should be a true Excel Table in Excel, not a range of cells.



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

im not sure i am following, I create a new table in excel and link it to the existing file, when the existing file is overwrited the table will update with existing and historic data?

No. Sorry. I thought the files were cumulative.

 

Then what you want is to NOT overwrite the files, but keep adding files. See this article. Now when you refresh, it will get ALL files in that folder. 



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

I have a gateway and scheduled refresh for that file so overwriting is a more efficient way to do this, if the report is sent to me multiple times a day but is cumulative it will get cumbersome very fast

 

Are there any alternitive solutions to this?

The data has to be somewhere. Power BI refreshes by purging all data and getting it fresh when it imports. Even with incremental refreshes on large data sets, it ensures the data all exists and periodically does a full refresh.

 

So you need to figure out a way to keep the old data. Put it in SQL tables, do the file combine, etc. But whatever it is, if you want it in your report, it has to exist outside of Power BI to bring in. 



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.