Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi everyone:
I've succesfully installed the On-Premesis gateway for Power BI, flow, apps, etc... and connected it succesfully to my on-premesis sql server 2012 database. However I cannot for the life of me figure out how to now add a data set from the connection....am I missing something? The only options for data set related to a sql server instance is azure - and I need to use my on premesis source....
Please help!
Solved! Go to Solution.
Hi @tylerhahn3,
From your description, it seems that you connect to on-premise SQL Server database in desktop use DirectQuery mode, right?
As you already installed the on-premise data gateway, you can go to Power BI service click Manage Gateways, create a SQL Server data source use the same connection information as in desktop. After publish the report to service, the dataset will be configured to use data gateway. For detail steps, see: Manage your data source - SQL Server.
Best Regards,
Qiuyun Yu
Hi @tylerhahn3,
From your description, it seems that you connect to on-premise SQL Server database in desktop use DirectQuery mode, right?
As you already installed the on-premise data gateway, you can go to Power BI service click Manage Gateways, create a SQL Server data source use the same connection information as in desktop. After publish the report to service, the dataset will be configured to use data gateway. For detail steps, see: Manage your data source - SQL Server.
Best Regards,
Qiuyun Yu
Hi Qiuyun yu
I am facing the same issue but with ssas live connection. I dont know what to put in username field and password field. Can you help me?
Ok, so I feel a bit stupid - but I was trying to use the web interface for Power BI to create a new dataset - which doesn't apparently have a directquery option to connect to an on premesis gateway. I just opened the desktop app, and ta-da, there is the option to use a sqlserver source. I'm not sure I understand the purpose of the gateway though, if I can't connect to my on premesis sql server to use directquery (or some other method of querying the connected database data source).
So I'd still love your help,
Tyler
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 |