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
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
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