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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register 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
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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