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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 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.