May 07 2019 01:01 AM
Hi All,
i cant figure out why i am getting this problem after passing from excel 2013 to 2016 (upgrading to Office 365).
The syntax seems correct and also Power Query editor says that it is fine but then the step is considered wrong.
=Text.Select(Text.Start([IdRisorsa],2),{"A".."Z"})
The formula worked perfectly in excel 2013 then, with the passage to the new version, it started giving error. The error is "Expression.Error: The name 'Text.Select' wasn't recognized. Make sure it's spelled correctly."
Moreover the exact same formula works on another PC and other Power query users confirmed the formula works fine on their computers. I cant understand what is going on. If i insert the formula in formula bar everything is ok.
pls help really important.
May 07 2019 01:34 AM
@LucaA1 , I may only repeat the screenshort from here https://community.powerbi.com/t5/Desktop/M-Language-Syntax-problem-from-Excel-2013-to-2016/td-p/6844... but made in Excel Power Query - it works. Moreover, if you type it in formula bar and have no such error that's not the syntax of the function itself. Most probably that's what around it. If you could provide small sample file it'll be easier to say what that could be.
May 07 2019 03:12 AM
Data of that model are sensitive, but i am gonna share this other book with a sample, and text.select still doesn't work.
Can you help me?
thanks
Luca
May 07 2019 03:30 AM
@LucaA1 , I was no able to reproduce, just refreshed and it works (attached). If you check here
what is your Power Query version?
May 07 2019 03:49 AM
May 07 2019 04:33 AM
Solution@LucaA1 , I didn't find the version history, but 2.49 is mentioned more than an year ago. Text.Select also was introduced about an year ago. Perhaps your version is bit old.
You may check if function is supported or not in your version. Start blank query, in formula bar type
= #shared
and you will see list of all supported for your version functions. Better to transform that list into the table and sort ascending - it'll be easier to check.
May 07 2019 05:19 AM
ty. You are right, it looks like not supported but i dont undestand why. I moved from Excel 2013 to Excel 2016 but not updated?
btw i think that was the problem
ty again
bye
Luca
May 07 2019 06:36 AM
Luca, with O365 it shall be fresh version after the update. If you share your version from here
it'll be more clear how old is it. In opposite to PQ the history of office versions is available.
May 07 2019 04:33 AM
Solution@LucaA1 , I didn't find the version history, but 2.49 is mentioned more than an year ago. Text.Select also was introduced about an year ago. Perhaps your version is bit old.
You may check if function is supported or not in your version. Start blank query, in formula bar type
= #shared
and you will see list of all supported for your version functions. Better to transform that list into the table and sort ascending - it'll be easier to check.