Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am a bit confused about this.
I have an identical formula in 2 different, but comparable Excel Workbooks. The formula is as follows TEXTJOIN("-";TRUE;C12:L12)
Howe,ver when loading the documents to PowerQuery, one behaves as expected, but the second yields an Error, which I cannot find the reasoning for.
Excel formula result | Power Query result |
Hyundai Power Transformers USA-United States-Alabama-Montgomery-54 Weeks | Hyundai Power Transformers USA-United States-Alabama-Montgomery-54 Weeks |
Delta Star East -U.S-Virginia -Lynchburg-58-62 weeks | DataFormat.Error: Invalid cell value '#NAME?'. |
- The formula does not in Excel yeild a #N/A result
- Cells containing the formula in both documents are formatted as 'General'
@JOLBR
Is there any blank cells between C12 to L12 in row 2, try change the data type to only text in power query, blank(text), null, and 0 can miss identified and could bring errors in PQ.
Paul Zheng _ Community Support Team
Hi Paul,
Thanks for the suggestions.
There are blank cells in the range, but there are blank cells for both files. That is why I do not understand why one file works while the other fails in loading that particular cell value.
Tried changing the resulting cell to "text" but that did not help.
However what did help was to, overwrtie the function --> save the file --> open the file again --> copy the function from below cell (identical) and save the file agian. Then the cell was loaded correctly in PQ
You say the Excel workbooks are different, but comparable. How comparable? Both .xlsx? Both formulas in tables? Any named ranges in one and not the other? Any missing values that are causing the #NAME error?
Hi,
Thank you for your interest and response.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.