User Profile
cl27274
Copper Contributor
Joined 4 years ago
User Widgets
Recent Discussions
Excel Query not working on different computer
Hello, I have an excel workbook with a query. The workbook is in a folder on One Drive. I can run the query just fine from my computer. One of my co-workers can run the query just fine from their computer. But another co-worker can't run the query, it gives them an error: I tried deleting this transformation and the next transformation was also giving an error. I tried deleting that one as well and the next transformation also gave the same type of error. Not sure why this is happening. Thank you for the help1KViews0likes0CommentsPower Query - Expression.Error: Illegal characters in path, cell value as input
Hello, I have a function GetValue(), that gets the value from a cell that I named "Query". However when I then try to run the query, it gives me an error : Expression.Error: Illegal characters in path This is the M code: let value = Text.From(Excel.CurrentWorkbook(File.Contents(GetValue("Query")))), Source = value in Source I tried adding Text.From to see if it would change anything but it didn't. I can't quite seem to understand why it's not working. The value = Odbc.Query(...), i then make source = value. Thank you for the helpSolved6.7KViews0likes5CommentsA connection was successfully established with the server, but then an error occurred during the pre
@Sergei Baklan I'm trying to use parameters in power query. I am now having a new error appear: DataSource.Error: Microsoft SQL: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) Details: DataSourceKind=SQL DataSourcePath= (some server name) Message=A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) ErrorCode=-2146232060 Number=10054 Class=20 I'm connecting to a Linux server, OS: 3.16.0-4-amd64. Typically, when connecting to it I go to get Data -> Odbc -> and then select the DSN and paste my SQL statement in the advanced options ... and it works perfectly Now I'm trying to use the following M code and it is giving me the error shown above Source = Sql.Database(Server, Database,.....) Thank you for the help19KViews0likes1CommentParameterized Sql Statement: Expression.Error: This native database query isn't currently supported
Hello, I have a query in excel that loads without any issues. I have tried adding parameters to the query(SQL - statement), but this leads to this error: Expression.Error: This native database query isn't currently supported. I tried looking at the M code and seeing if I could turn query folding off, as from looking around on different forums this is what came up as a solution, however I don't have that option. I was wondering if any would know if there any other potential solutions to my problem. An extra detail: The query itself isn't a select * from some_table, its a call to a procedure that has inputs that I would like to parameterize in excel. Let me know if you need more details, also if this is the right forum to post this on. Thank you for the help!Solved12KViews0likes8Comments
Groups
Recent Blog Articles
No content to show