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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.