You are preparing data in Power Query for a Power BI report. The query named Sales contains 75 000 transaction rows with a CustomerID column. Another query named Customers contains one row per customer with the same CustomerID key and several demographic columns. You need a single result that preserves the 75 000 sales rows while adding the demographic columns from Customers to each matching transaction. Which action should you perform?
Merge Customers with Sales by CustomerID using a Right Anti join.
Append the Customers query to the Sales query.
Append the Sales query to Customers and then remove duplicates on CustomerID.
Merge Sales with Customers by CustomerID using a Left Outer join.
To enrich each sales transaction without changing the row count, you must perform a merge, not an append. A merge joins two tables horizontally by matching one or more key columns. Using Sales as the primary (left) table with a Left Outer join adds the selected columns from Customers to every matching Sales row and returns exactly the same 75 000 rows. An append stacks tables vertically and would either double the row count or add unmatched rows, while right-anti, right-outer, or other join types would remove or add rows depending on matches.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a Left Outer Join in Power Query?
Open an interactive chat with Bash
How is a merge different from an append in Power Query?
Open an interactive chat with Bash
Why is a Right Anti Join incorrect for this scenario?
Open an interactive chat with Bash
Microsoft Power BI Data Analyst
Prepare the data
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .