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
anna2109
Regular Visitor

Connect a workbook that changes name to a Power BI dataflow

Hello everyone,

 

I have a spreadsheet that is being located in a specific folder in Sharepoint. The content of the spreadsheet is every year exactly the same, however every year this spreadsheet is being re-created and saved with the same name but with different Financial year at the end. 

What I have to do somehow is to create a dataflow using the spreadsheet but I want the dataflow every year to get the data from the new spreadsheet with the new financial year. 

 

Has anyone tried to do something similar?

 

Many Thanks

2 REPLIES 2
ppm1
Solution Sage
Solution Sage

You could parse the year out of the filename to create a year column, and then use the Table.Max function to keep only the latest record/row (then extract the contents of that to get your updated data).

 

Pat

Microsoft Employee
Syndicate_Admin
Administrator
Administrator

This is easy to do when you use the SharePoint Folder connector (which is generally recommended anyway) rather than any file connector,.

 

Buit - if this only changes once a year then you are probably wasting your time trying to automate this,.

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