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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
tj200
New Member

Connecting data to Power BI

Hi,

 

I am relatively new to Power BI and have a bit of IT knowledge but not very extensive when it comes to SQL server and ODBC connections.

 

I know I can connect Power BI to an SQL Server through an ODBC connection (I believe this is the best way?). I have all the credentials I need to do this.

 

What I really want is a one way live connection to the data from the server to Power BI, I don't want Power BI updating data on the SQL server under any circumstances. Can anybody recommend a way of doing this?

 

Any help would be appreciated

 

Thanks

 

 

2 ACCEPTED SOLUTIONS
Greg_Deckler
Super User
Super User

I would not use ODBC to connect to a Microsoft SQL Server. I would use the SQL Server connector instead and it has an option for Direct Query (Live) connection.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

@tj200,

It is one way connection, in other words, when you change data in Power BI, it will not update source data of SQL Server database. 

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

I would not use ODBC to connect to a Microsoft SQL Server. I would use the SQL Server connector instead and it has an option for Direct Query (Live) connection.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Hi Greg,

 

Thank you for replying. Using the SQL Server connector is it a one way (read only) connection? I really don't want to be able to update the servers data from Power BI. Or is it not possible to only have a one way connection?

 

Thanks 

@tj200,

It is one way connection, in other words, when you change data in Power BI, it will not update source data of SQL Server database. 

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors