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

Change source from Dataflow to Server

Hi community,

 

I’m looking to change the source of an already built report from dataflow to server.

I tried on settings > Option but it just won’t let me change.

Can anyone help me on advanced query?

 

  • From server the source code is

let

    Source = Sql.Database("ServerName", "DataBaseName"),

    dbo_V_Table name = Source{[Schema="dbo",Item="TableName "]}[Data]

in

    dbo_V_Table

  • From dataflow the source code is

 

let

    Source = PowerBI.Dataflows([]),

    #" workspaceIdNumber= Source{[workspaceId=" workspaceIdNumber "]}[Data],

    #" dataflowIdNumber = #" workspaceIdNumber "{[dataflowId=" dataflowIdNumber "]}[Data],

    Table1 = #" dataflowIdNumber "{[entity="Table"]}[Data],

    #"Filtered Rows" = Table.SelectRows(Table1, each true),

….

In

  #"Filtered Rows3"

1 ACCEPTED SOLUTION

Thank you @Anonymous but I have already solved the issue. I have to change "Table1" to "dbo_table". 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @ brunovarela

From what I can see the Dataflow source code also processes the data?
In this case:
1. Delete first four steps in the Dataflow (until Filtered rows)
2. In Filtered rows manually replace Table1 with the name of your Server query. Do not forget to put it like #"query name" if it has spaces.

Kind regards,
JB

Thank you @Anonymous but I have already solved the issue. I have to change "Table1" to "dbo_table". 

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.