Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
I'm using Databricks SQL partner connect to connect to Power BI. The report works in Power BI desktop in direct query mode, but when model is published online, i get this error:
Couldn't load the data for this visual
DataSource.Error: ODBC: ERROR [42000] [Microsoft][Hardy] (80) Syntax or semantic analysis error thrown in server while executing query. Error message from server: org.apache.hive.service.cli.HiveSQLException: Error running query: org.apache.spark.sql.AnalysisException: The limit expression must be integer type, but got bigint
Note: The same model works in import mode when published online.
Solved! Go to Solution.
solution that worked:
Publishing the report in a non-premium capacity.
The error results from the row limit under workloads in premium capacity.
solution that worked:
Publishing the report in a non-premium capacity.
The error results from the row limit under workloads in premium capacity.
Hi @MarKha ,
Thank you for sharing! Please consider marking your answer as a solution. This will help many more people. Thanks in advance.🤗
Best Regards,
Gao
Community Support Team
Hi @MarKha,
I found a post on the forum reporting a similar error. He solved the problem by changing the data type.
Here you can change the data types of fields and measures, republish to the service, and check the results.
Solved: OLE DB or ODBC error: [DataSource.Error] ODBC: ERR
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Thank you for looking into this. Unfortunately, this solution will not work, because i'm using a measure and the error doesn't seem to be related to the data type of a column.
Using the column does not result in an error, but when i apply Count on the same column, the error occurs.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
37 | |
30 | |
18 | |
13 | |
8 |
User | Count |
---|---|
50 | |
39 | |
32 | |
15 | |
13 |