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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
JCLai
New Member

Two queries with same function but different results

Hi all,

 

I am trying to filter the data from two different sources in between two dates. It was working fine up until I added some more functions. Right now one of the step is giving me what I want and the other throws an error. The function I have added works fine and they are simple function so I am suspecting something is wrong with Power Query.

 

The code works as intented as this query.

JCLai_1-1683285922277.png

 

but it throws an error at the other one. The error starts from this step. 

JCLai_0-1683285904172.png

They are both in the same excel file, refering to somewhat similar files.

 

Anyone could help me on this?

 

1 ACCEPTED SOLUTION
Payeras_BI
Solution Sage
Solution Sage

Hi @JCLai ,

Find here an explanation and how to solve it.

 

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain

View solution in original post

2 REPLIES 2
Payeras_BI
Solution Sage
Solution Sage

Hi @JCLai ,

Find here an explanation and how to solve it.

 

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain

It works! Thank you for your help.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.