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
LalaLee
Regular Visitor

Merge Queries

Hi,

 

I am trying to get data from dataset B and C to dataset A based on common variables block and address.  I was able to port data from dataset B but had issue with dataset C.  The results return are all null.  The relationship is the same for both dataset.  Would anyone be able to advise?

 

I have tried to amend the variable type to number once I ported over but the null value still there and is for all the data.

 

4 REPLIES 4
PwerQueryKees
Super User
Super User

You set all type to number you write. Very good! Matching on text values is very demanding on your data quality. 

So that's not it.

Please share some sample data and your M Code, so we can have a look at your troubles...

Screenshots of all files in the UI of power query, showing all types, would suffice I think....

Watever
Frequent Visitor

Can you share some of the data tables with us ?

 

I had issues with this a few times where I had special character in there, you could use trim or something similar.

 

I understand you are mergin A to B and then the result to C.

Have you try to merge table A to table C, to see if you get results ? or B to C then to A.

You would be able to identify the tables that are causing you issues.

 

Also, do you have automatic data type enabled or not ? Sometimes PowerQuery will change the dataset to another type then what you want/need and it doesn't show in the preview. I prefer to not have this and just change it myself.

 

BeaBF
Super User
Super User

@LalaLee Hi!

Ensure that the block and address columns in both Dataset A and Dataset C are of the same data type (e.g., Text, Number).
Even if the data types are the same, inconsistencies can arise due to leading/trailing spaces or invisible characters, so try to put a Trim on text column, both in table A and Table C.

 

Let me know.

 

BBF

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.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.