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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
lav-I101
Frequent Visitor

error for visual direct query with azure database

Hello,

i have published a model with below tables:

Customers table - was loaded into power bi desktop as a direct connect from azure database. I added a visual with columns from this table and get an error.

Dim.Customer table was loaded into power bi desktop in import mode from azure database. I added another visual with columns from this table and all works fine.

 Why am I getting an error for the visual with direct connect table from azure db, once published?

 

 

lavI101_0-1635855457654.png

 

lavI101_1-1635855701422.png

 

 error:

lavI101_2-1635855777307.png

 

 

 

 

 

4 REPLIES 4
lav-I101
Frequent Visitor

Hello,

i removed the personal gateway but the credentials are grayed out:

 

 

lavI101_0-1636357763446.png

 

Initially, when the personal gateway was enabled and i clicked on 'apply' the credentials became editable but without it, i dont see how i can edit them? 

They are the correct credentials, nonetheles, bc i entered them when the personal gateway was enabled. The report is still displaying error for the visual originating in azure via direct connect even after removing the personal gateway.

 

lav-I101
Frequent Visitor

I did enter the credentials in the dataset settings, the credentials are correct.

 

Not sure if it is related but i am getting the following error when i want to apply the personal gateway to the dataset; 

 

lavI101_0-1636103604388.png

 

 

 

 

Ok. What I was trying to say is that  you don't need a gateway. You just need to configure the data source credentials in the dataset settings. Turn off that gateway ando try adding the credentials down there. 

I hope make sense


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

ibarrau
Super User
Super User

Hi, have you entered the credentials for the DB in the Service? there is an option Data Credentials in the dataset settings (or schedule refresh menu) that will let you edit the credentials of the sources. You might need that before making it work in service.

The following link is for another thing, but check the picture to guide you where this data source credentials are just in case that's the issue: https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-data#deploying-a-personal-data-gatewa...

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.