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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Back2Basics
Resolver I
Resolver I

Merge not working

I keep getting the following error:
Query 'Merge2' (step 'Expanded Workbook(2)') references other queries or steps, so it may not directly access a data source. Please rebuild this data combination.

This is the merged query:
let
Source = Table.NestedJoin(#"Matching(3)", {"Unique ID"}, #"Workbook(2)", {"Unique ID"}, "Workbook(2)", JoinKind.RightOuter),
#"Expanded Workbook(2)" = Table.ExpandTableColumn(Source, "Workbook(2)", {"Unique ID", "What WG SFS Intervention level is intervention best suited to? (Dropdown) See note!", "What WG thematic outcome(s) does the intervention deliver? (Dropdown - select all that apply in descending order of delivery magnitude)"}, {"Unique ID.1", "What WG SFS Intervention level is intervention best suited to? (Dropdown) See no", "What WG thematic outcome(s) does the intervention deliver? (Dropdown - select al"})
in
#"Expanded Workbook(2)"

 

 

I have tried lots of different things. Looked at https://www.excelguru.ca/blog/2015/03/11/power-query-errors-please-rebuild-this-data-combination/  but can't get it to work. 

2 REPLIES 2
KT_Bsmart2gethe
Impactful Individual
Impactful Individual

Hhi @Back2Basics ,

 

Please check if any error in queries/steps highlighted in red below:

Source = Table.NestedJoin(#"Matching(3)", {"Unique ID"}, #"Workbook(2)", {"Unique ID"}, "Workbook(2)", JoinKind.RightOuter),

 

If you merge 2 queries into a new one, it usually refers to the query name which does not usually start with "#".

 

Regards

KT

v-jingzhang
Community Support
Community Support

Hi @Back2Basics 

 

It seems the step 'Expanded Workbook(2)' only refers to the 'Source' step, so it looks a little weird here. Can you remove the step 'Expanded Workbook(2)' and see if there is any error when it only has the Source step?

 

Best Regards,
Community Support Team _ Jing

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors