Forum Discussion

LucaA1's avatar
LucaA1
Copper Contributor
May 07, 2019
Solved

M Language Syntax problem from Excel 2013 to 2016

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.

  • 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.

     

7 Replies

Resources