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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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