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
mfernandezcdp
New Member

POWER BI WITH SQL SERVER

Good afternoon, I wanted to ask you if there is a way to connect a SQL SERVER database with power bi online (without having to do it with POWER BI desktop). If it can't be done, I wanted to know, if by creating the table in power bi desktop (linking it with local sql server) and then publishing it in the web portal, there is a way for it to update automatically. I await your reply. Thanks a lot

1 ACCEPTED SOLUTION
JosefPrakljacic
Solution Sage
Solution Sage

If I understand you correctly, you want to connect an on-premise SQL server with Power BI?

You could create a DataFlow and then create a report based on that. In my opinion, you would not have to rely on Power BI Deskop.

But I would still recommend you to use Power BI Desktop.

In order to keep the data set up to date, you need a gateway. You can find information on this here.

 

Please don't forget to give a 👍 and accept the post as solution. (If it helped 😅)
Have a nice day!

BR,
Josef
Graz - Austria

View-my-LinkedIn-profile-image-3-300x140.png.png

View solution in original post

2 REPLIES 2
v-robertq-msft
Community Support
Community Support

Hi, @mfernandezcdp 

According to your description, you want to connect to SQL Server database in Power BI Service instead of desktop. I think you can go to “Get data”->” Published dataset” to connect to another dataset that uses Directquery to connect to the SQL Server database. But the prerequisite is that you have configured the gateway for the data source in this workspace. Then you can create a report and display the newest data on it.

If you don’t have access to any dataset using Directquery to connect to the SQL Server database, you can take the advice of JosefPrakljacic to create a Data Flow connecting to the SQL Server database, which is also a possible way to achieve this.

 

Best Regards,

Community Support Team _Robert Qin

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

JosefPrakljacic
Solution Sage
Solution Sage

If I understand you correctly, you want to connect an on-premise SQL server with Power BI?

You could create a DataFlow and then create a report based on that. In my opinion, you would not have to rely on Power BI Deskop.

But I would still recommend you to use Power BI Desktop.

In order to keep the data set up to date, you need a gateway. You can find information on this here.

 

Please don't forget to give a 👍 and accept the post as solution. (If it helped 😅)
Have a nice day!

BR,
Josef
Graz - Austria

View-my-LinkedIn-profile-image-3-300x140.png.png

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

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.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

Top Solution Authors