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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
snuvvula
New Member

How to set values before SELECT statement in powerbi

Hello,

 

I am using PowerBI Desktop version and trying to connect Impala Datasource (Big Data). I am trying to set this value before my query execution, however this fails with following error as shown below. 

 

Can someone point me in right direction please? Thanks in advance!

 

--SET ALLOW_ERASURE_CODED_FILES=1;

--SELECT * FROM mydb.mytable LIMIT 10;  ---> sample query

 

Error:

 

snuvvula_0-1700570090471.png

 

2 REPLIES 2
lbendlin
Super User
Super User

Does Impala have a concept of views or SP?  Those can help you mask the issue and make Power BI believe it talks to a raw table.

Hi @lbendlin , Thanks very much for the response and feedback.

There is no native support for views and stored procedures in Impala. However this can be exposed via Hive and query through Impala. thanks!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.