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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Back2Basics
Helper IV
Helper IV

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors
Top Kudoed Authors