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
kishordute
Regular Visitor

Help in Power Bi Query writing

I have source data in dremio and excel base data base uploaded in the power bi workbook.

Now I am trying to build a SQL query which will process in the source section, where the data from Dremio and e Data loaded from Excel will work as table in this query.

 

E.g. 

Source = Value.NativeQuery(Dremio.DatabasesV370("dremio.com:1010", "Disabled", null, null, null, []),

              "Select * from Dremiodatabase LEFT JOIN" & EXCEL_DATA & "ON  Dremiodatabase.Unique = EXCEL_DATA.Unique"

Here highlighted in red EXCEL_DATA actually works as refrence to the table imported in power bi.

 

However  while excuting the query  getting this error :  (step 'Source') references other queries or steps, so it may not directly access a data source. Please rebuild this data combination.

Please help!

1 ACCEPTED SOLUTION

Those are small tables. Load them as is and do the filtering in DAX.

View solution in original post

3 REPLIES 3
kishordute
Regular Visitor

Dremiodatabase has more than 10 L of rows data and EXCEL_DATA have 84K of rows data

Those are small tables. Load them as is and do the filtering in DAX.

lbendlin
Super User
Super User

Do as they ask. Rebuild this data combination.

 

How many rows in the "Dremiodatabase"  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.