Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Greetings,
I am using Power BI Desktop for Report Server, May 2022 version. I am getting unexpected results when performing a Merge of two tables using an Inner Join. Below are the tables and results.
Table 1 (RCM Room Activity Patient Types) :
NOTE: There are a LOT more rows in the actual table. I just limited to these rows as they illustrate the issue.
Table 2 (Note Categories by Patient Type):
Results:
The M code for the step is as follows:
I am not understanding why rows with Patient Types 'P' and '3' are being filtered out; I see why Patient Type 'A' is filtered out. Is there something I am missing, or is this a bug, or some sort of weird side-effect, or...? Any help or insight is appreciated. Thanks in advance.
Solved! Go to Solution.
UPDATE:
I figured it out. There were extra spaces in the Pt Type column of Table 2.
I feel sufficiently foolish. ☹️
Additional Info:
The same issue occurs using a Left Outer Join:
UPDATE:
I figured it out. There were extra spaces in the Pt Type column of Table 2.
I feel sufficiently foolish. ☹️
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.