It works with the exception of the new entries into the database. Those are just left blank when it should return the original search value (the new entry) when it does not find it in the Excel source.
The measure I created = LOOKUPVALUE(Excel[Clean_Name], Excel[Customer_Name], Server[Customer_Name]) does the job of retrieving the Clean name as expected. To use my example from the previous post, the slicer returns only 'ACME' instead of listing ACME Inc., Acme, Co., etc.
However, a new entry into the db, let's say Acme LLC, is left blank in the table and not displayed in the filter even though the record can be located in the data.
Adding the alternate clause in the LOOKUPVALUE function such as "False Account" works and any blanks get filled. I would like it to return the original search value, the new db entry (Acme LLC). The slicer would show both "Acme" and "Acme LLC" until the quarterly review of the Excel file and the Acme LLC entry is updated.
I get the error "A single value for column 'Customer_Name' in table 'Sudden Impact Reporting' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result."
The base logic behind this is
1. Compare the Server[Customer_Name] with Excel[Customer_Name
2. If found, return Excel[Clean_Name]
3. If not return Server[Customer_Name]
Is it just syntax that I have wrong or am I missing another statement in this?