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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

_xlnm._FilterDatabase

I am receiving this error across three sheet names from an excel document in Power Query Editor. This dashboard is now not presenting the data and power query editor is unable read the sheet names? Can anyone help me with this?

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

Based on my web search, it seems that you might have encountered a step-level error caused by a change in the sheet name of your data source. One possible solution is to modify the Transform File function in your query with a try statement that can handle different sheet names. For example:

let Source = Excel.Workbook (Parameter1, null, true), Sheet1_Sheet = try Source { [Item=“Sheet1”,Kind=“Sheet”]} [Data] otherwise Source { [Item=“Sheet2”,Kind=“Sheet”]} [Data], #“Promoted Headers” = Table.PromoteHeaders (Sheet1_Sheet, [PromoteAllScalars=true]) in #“Promoted Headers”

You can replace Sheet1 and Sheet2 with the appropriate names for your data source. You can find the Transform File function on the left side of the Power Query Editor window. For more information on how to deal with errors in Power Query, you can check out this article: Dealing with errors - Power Query | Microsoft Learn

 

Best regards,

Community Support Team_yanjiang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

Based on my web search, it seems that you might have encountered a step-level error caused by a change in the sheet name of your data source. One possible solution is to modify the Transform File function in your query with a try statement that can handle different sheet names. For example:

let Source = Excel.Workbook (Parameter1, null, true), Sheet1_Sheet = try Source { [Item=“Sheet1”,Kind=“Sheet”]} [Data] otherwise Source { [Item=“Sheet2”,Kind=“Sheet”]} [Data], #“Promoted Headers” = Table.PromoteHeaders (Sheet1_Sheet, [PromoteAllScalars=true]) in #“Promoted Headers”

You can replace Sheet1 and Sheet2 with the appropriate names for your data source. You can find the Transform File function on the left side of the Power Query Editor window. For more information on how to deal with errors in Power Query, you can check out this article: Dealing with errors - Power Query | Microsoft Learn

 

Best regards,

Community Support Team_yanjiang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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