If anyone knows why the below formula in Formula tool is returning (?=.*\\b\\b) everytime then let me know....I'm just following CHATGPT
IIF(Length(Trim([K1_2]))>0, "(?=.*\\b" + Regex_Replace([K1_2], "([.^$|()\\[\\]{}*+?\\\\])", "\\\\$1") + "\\b)", "")
thanks, and this workflow will work every time with a new set of invoices....
And if you can..confirm co-pilot is correct in breaking down the steps you advise?
Recommended Step-by-Step Approach
Each row in your primary dataset (e.g., from <File>Proprietary data.xlsx) should be given a unique recordid. This allows you to track and group results accurately throughout the workflow.
Take the text from the first column (e.g., “GB Unitary Fees 2 Country Related Fees”) and split it into individual words. This transforms each record into multiple rows—one for each word—making it easier to match against your word mapping source.
From your mapping file (e.g., <File>Split_Mappings for discussion .xlsx), extract all relevant words or phrases that represent standardized categories. Assign a recordid to each entry in this source as well.
Use a Join tool to match each word from your exploded dataset against the word mapping source. This identifies which words from your raw data appear in the mapping reference.
Use a Summarize tool to:
Use another Summarize tool to:
@Dots1982 - hey - my recommendation here is use these instructions/my instructions --- see the results. You have to put tool to canvas and start doing/learning and stop asking for hand holding from community/copilot/chatgpt or whatever.