Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello,
I'm trying to do a equivalent of "vlookup" that has the "closest match" in Power Query. But given the data that I had, am trying to know how I can create date from string range (i.e. Feb 23 - Mar 1)
As screenshot shows below, my PQ data is shown below and my desired result is shown in Excel range column K to M
Because it's file name and there's many variations, what would be the best way to get the "start" and "end" date and then "fill in the gaps" of the date, which then finally assign the rate based on the period.
I have attached the Excel File https://docs.google.com/spreadsheets/d/17foxYBLODLDD75nsUygweLCSyjL9UwBf/edit?usp=sharing&ouid=10270...
Thank you in advanced
Solved! Go to Solution.
I was able to play and google around and was able to resolve it.
What I did is create a 2 columns to get the 'start date' and 'end date' based on the text, and these 2 columns are date type.
After which from (https://www.youtube.com/shorts/V6lEUNvbXug), I was able to create the list of dates from these 2 date columns
I was able to play and google around and was able to resolve it.
What I did is create a 2 columns to get the 'start date' and 'end date' based on the text, and these 2 columns are date type.
After which from (https://www.youtube.com/shorts/V6lEUNvbXug), I was able to create the list of dates from these 2 date columns
Hi @JustDavid,
Thank you for the update, I'm glad to hear you were able to resolve it. Thanks for sharing the approach you used as well, it will be helpful for other community members who come across a similar scenario.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.