Having trouble with Text.BeforeDelimiter

家住魔仙堡 提交于 2020-01-05 04:04:17

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!