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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors