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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Power bi data set and SQL server

Hi All,

 

Can we create a report based on "Power BI Datasets" and data from SQL Server - "SQL Query".

Business scenario:

  1. There is a online excel file where users will update data regularly, power bi dataset created for this as this data is almost live.
  2. There is similar data coming from sql server, sql query accessing this data straight from database.

Now i want to compare both data sets and identify the matches/mismatches.

So, how can my report access both data sets above Or is there any other options that i need to consider (Live excel data with SQL Query data)?

 

Any help would be highly appriciated.

 

Regards,

Chandu.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

If you connect the LC(live connection) data source, you cannot connect to other data sources. Similarly, after connecting a data source, you cannot connect to the LC data source. You can change the data set of LC mode to DQ(Direct Query) mode, and then connect to the data source of SQL Server (import mode or DQ mode is fine).

 

Reference: Using DirectQuery for datasets and Azure Analysis Services (preview) - Power BI | Microsoft Docs

 

 

Best Regards,

Stephen Tao

 

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

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

 

If you connect the LC(live connection) data source, you cannot connect to other data sources. Similarly, after connecting a data source, you cannot connect to the LC data source. You can change the data set of LC mode to DQ(Direct Query) mode, and then connect to the data source of SQL Server (import mode or DQ mode is fine).

 

Reference: Using DirectQuery for datasets and Azure Analysis Services (preview) - Power BI | Microsoft Docs

 

 

Best Regards,

Stephen Tao

 

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

 

hmahesh94
Helper I
Helper I

You have connect using Import instead of Direct Query/Live connection.

Anonymous
Not applicable

No, it doesn't work that way. As soon as we add the second data source it will display the below message. 

 

ChanduK_0-1636059669497.png

 

hmahesh94
Helper I
Helper I

Yes. You can connect to multiple sources from a single report on Power BI.

 

Connect to one source at each time and load it and it should work.

 

Please give it a like and Accept it as a solution if you think my answer helped.

 

Cheers!

 

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.