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
Naverie
Helper I
Helper I

SQL Server

Hi,

 

We have a report we have created using sql server connections and then tables created on the fly in Power BI.

 

The business is now wanting to publish this report but aren't able to as the data needs to be converted to SQL.

 

However, from what I can gather (and I am certainly no expert) as long as the data is coming via a direct query to connect to the tables then this should be able to be published. There are some tables that need to be looked at as the below error message shows when trying to load the report, but once these are sorted you should still be able to transform the data within Power BI?

Naverie_0-1619182659419.png

 

If someone could help that would be greatly appreicated as I don't want to have to create all these new tables in SQL if not needed.

 

TIA

 

 

1 ACCEPTED SOLUTION
luisrh
Responsive Resident
Responsive Resident

I would suggest that you choose one way.  In PBI RS you cannot mix Import and direct query data sources.   When you say on the Fly,  are these being created thru M functions or are they dependent on joins to directquery data sources?   If you are going to stage data this way,  it's probably best you do that on the SQL end or just use import.    Again, all that depends on your use case,  but what you are wanting to do is not doable in PBI RS.  

View solution in original post

1 REPLY 1
luisrh
Responsive Resident
Responsive Resident

I would suggest that you choose one way.  In PBI RS you cannot mix Import and direct query data sources.   When you say on the Fly,  are these being created thru M functions or are they dependent on joins to directquery data sources?   If you are going to stage data this way,  it's probably best you do that on the SQL end or just use import.    Again, all that depends on your use case,  but what you are wanting to do is not doable in PBI RS.  

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