Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi team,
I have prepared this excel file which has power query with the help of this forum but it is not loading the data as there is fuzzy vlookup and more records in concur file. Can someone please help me on this. Also data file path given inside. is it possible to pick from the excel cell.
Please help me.. not sure how to attach the file here.
Solved! Go to Solution.
Hi @vinayaka123,
Thank you for reaching out and providing details about your Power Query setup. I understand you're encountering issues with data not loading, particularly when using fuzzy matching with larger datasets, and you're interested in dynamically setting the file path from an Excel cell.
Fuzzy matching in Power Query can be resource-intensive, particularly with large datasets. Here are some recommendations to enhance performance:
Yes, it's possible to set the file path dynamically using a cell value in Excel. Here's how:
Source = Excel.Workbook(File.Contents(Excel.CurrentWorkbook(){[Name="SourcePath"]}[Content]{0}[Column1]), null, true)
This method allows you to change the file path directly from the Excel sheet without modifying the query each time. For more details, refer to the Power Query parameters documentation.
Additional steps:
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you for using Microsoft Community Forum.
thank you so much... still i couldn't.. can I share the all the files with you.. how to share the file
Hi @vinayaka123,
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
Thank you for using the Microsoft Community Forum.
i have zip file which has 4 excel files.. requesting here for the performance optimization.
Hi @vinayaka123,
Thank you for your continued effort in trying to resolve this we appreciate the details you've shared so far.
Currently, the forum platform does not support direct ZIP or full file uploads. To help you efficiently, we recommend the following:
Please extract a sample subset of your data from the four Excel files, including only the necessary steps in your Power Query to demonstrate the fuzzy matching and loading issue. Remove any sensitive or unrelated information.
While preparing the sample, consider: Testing your fuzzy merge logic on a smaller dataset to identify the bottleneck. Reviewing each query step for transformation overhead and buffering smaller tables as previously suggested (Table.Buffer()). Simplifying your merge keys, if possible, to improve match performance.
Once uploaded, please describe: The expected output. Where the slowness or error occurs (which step, if any, in the query). Any specific goals you're trying to achieve (e.g., dynamic file path and fast fuzzy join).
We will be happy to assist you once we have this information.
Thank you for using the Microsoft Community Forum.
Hi @vinayaka123,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @vinayaka123,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @vinayaka123,
Thank you for reaching out and providing details about your Power Query setup. I understand you're encountering issues with data not loading, particularly when using fuzzy matching with larger datasets, and you're interested in dynamically setting the file path from an Excel cell.
Fuzzy matching in Power Query can be resource-intensive, particularly with large datasets. Here are some recommendations to enhance performance:
Yes, it's possible to set the file path dynamically using a cell value in Excel. Here's how:
Source = Excel.Workbook(File.Contents(Excel.CurrentWorkbook(){[Name="SourcePath"]}[Content]{0}[Column1]), null, true)
This method allows you to change the file path directly from the Excel sheet without modifying the query each time. For more details, refer to the Power Query parameters documentation.
Additional steps:
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you for using Microsoft Community Forum.
Thank you so much for your help.. I have changed background run.. it is working..
Hi @vinayaka123
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi,
still it takes lot of time below is the particular step which is creating problem. i have 90k line itesm which has a text column i am trying to identify if any keyword match in this sentence. each text consists a one or two sentences.
Any alternative for this 😞
Table.AddColumn(merge, "Keyword_Match", each List.Accumulate(
Table.ToRows(Key_W),
null, // Initialize with null or an empty value
(a, b) =>
if a <> null then // If a match has already been found, keep it
a
else if Text.PositionOf(Text.Lower([T_Merge]), Text.Lower(b{0})) >= 0 then
b{1} // Found a match, return the corresponding value
else
null // No match yet
))
Hi @vinayaka123,
Thank you for your follow-up. I understand you are experiencing performance issues when matching keywords from a lookup table against a large text column (~90k rows) using List.Accumulate. This slowdown is expected due to Power Query's evaluation of nested operations, especially when a transformation like Table.ToRows() is recalculated for each row.
To enhance performance, I recommend the following optimizations:
Buffer your keyword table using Table.Buffer to ensure it is evaluated only once.
M Query:
let
// Step 1: Buffer the keyword lookup table
KeyWBuffered = Table.Buffer(Key_W),
// Step 2: Create a function to find the first matching keyword
FindKeyword = (txt as text) as nullable text =>
let
lowercaseText = Text.Lower(txt),
match = List.First(
List.Transform(
KeyWBuffered[Keyword],
(kw) =>
if Text.PositionOf(lowercaseText, Text.Lower(kw)) >= 0 then
Record.Field(
Table.SelectRows(KeyWBuffered, each Text.Lower([Keyword]) = Text.Lower(kw)){0},
"ReturnValue"
)
else null
),
each _ <> null
)
in match,
// Step 3: Add the new column with keyword match
Output = Table.AddColumn(merge, "Keyword_Match", each FindKeyword([T_Merge]))
in
Output
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you for using Microsoft Community Forum.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.