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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.