问题
Any idea why this: = Table.AddColumn(#"Merged Columns", "Custom", each Text.BeforeDelimiter("ABCDEFG","E"))
Is giving me this:
?
My expectation is that this would populate each cell in the column "Custom" with "ABCD". I've checked and rechecked the spelling. What am I missing?
回答1:
This function was recently added to Power BI Desktop (April 2017 update) and even more recently to Power Query in Excel. So probably you are using the function in an environment where it is not yet available.
If I copy and paste your code, it is working just fine (and as you expected).
来源:https://stackoverflow.com/questions/43936040/having-trouble-with-text-beforedelimiter