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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
rgupta20
Regular Visitor

Power Query based on date parameter

 

Hi Folks,

 

I have file to import in the Power BI which gets updated everyday ,and file name changes with date string on it.I want to import the file of last date on it.

 

For example today (02/10/2018)I have a file to import is

report_20180209.csv

next date(02/11/2018) i want the imported file to be

report_20180210.csv

 

I am trying to find out the proper way create parameter based on date

 

Thanks for your help

2 REPLIES 2
v-jiascu-msft
Employee
Employee

Hi @rgupta20,

 

Could you please mark the proper answer as solution?

 

Best Regards!
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
RolandsP
Resolver IV
Resolver IV

One option might be to create a query based on data imported from folder: Get Data -> Folder. Then you make sure that you have in this folder the most recent file you need to import. Then it is not important what is the name of the file. Power Bi will import just the file you have in this folder.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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