Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
MarKha
Frequent Visitor

Limit expression must be integer type, but got bigint

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.

1 ACCEPTED SOLUTION
MarKha
Frequent Visitor

solution that worked:

Publishing the report in a non-premium capacity.

The error results from the row limit under workloads in premium capacity. 

View solution in original post

4 REPLIES 4
MarKha
Frequent Visitor

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

v-cgao-msft
Community Support
Community Support

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.

vcgaomsft_0-1653034937776.png

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.

MarKha_0-1653050300293.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors