Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

In Power BI, a model relationship connects loaded tables so filters can propagate between them; a Power Query merge joins query data while it is being prepared. Use relationships to shape how report users filter and group data, and use merges when you deliberately need to combine or reshape rows before loading them. The right choice starts with clear fact and dimension tables, reliable keys, and a deliberate decision about which rows should survive.

How should you structure a Power BI data model?

Start by deciding what each table represents. Dimension tables hold descriptive attributes used to filter and group results; fact tables hold observations or events that users summarize. Microsoft’s star-schema guidance puts it plainly: “Dimension tables enable filtering and grouping.” In a common star schema, a dimension sits on the one side of a one-to-many relationship and a fact table sits on the many side. See Microsoft’s star-schema guidance.

Keep each fact table at a consistent grain: define what one row represents, such as one sales line or one shipment, and do not mix records at different levels of detail without a reason. A model with distinct dimensions connected to facts usually makes it easier to group and filter measures consistently than one large table that mixes descriptive attributes and transactional rows.

Use dimensions to connect facts that share business concepts

If two fact tables need to be analyzed by the same customer, product, or date, connect each fact to an appropriate shared dimension. This gives report users common filtering and grouping paths without directly joining the facts together. Keep the dimensions’ keys unique so they can serve reliably on the one side of their relationships.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

What does relationship cardinality mean?

Cardinality describes how key values match between two model tables. The one side must contain unique values; the many side can contain duplicates. Power BI supports one-to-many (1:*), many-to-one (*:1), one-to-one (1:1), and many-to-many (*:*) relationships. The displayed order depends on which table is selected as the starting point. Microsoft explains the options in Model relationships in Power BI Desktop.

  • One-to-many (1:*): Each key value on the one side identifies at most one row there and can match multiple rows on the many side. This is the common dimension-to-fact pattern.
  • Many-to-one (*:1): The same pattern viewed from the many-side table toward the unique-key table.
  • One-to-one (1:1): Key values are unique on both sides. Use it only when the tables genuinely have a one-to-one correspondence.
  • Many-to-many (*:*): Key values can repeat on both sides. This can be useful for particular modeling cases, but it is not a substitute for checking the data’s meaning and the filter behavior users need.

Power BI may autodetect relationships when data is loaded, but detection does not confirm that the inferred key, cardinality, or filter path matches the intended model. Check key uniqueness and test report behavior. If duplicates appear on a relationship’s one side at refresh, refresh can fail; Microsoft’s relationship management guidance covers creating and maintaining relationships.

How does cross-filter direction affect reports?

Cross-filter direction controls how a filter on one related table affects the other. In the usual one-to-many dimension-to-fact pattern, filters travel from the dimension on the one side to the fact on the many side. A relationship can also be configured for bi-directional filtering, which allows filters to travel both ways.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Bi-directional paths can be useful when a specific report requirement calls for them, but they can create ambiguous paths in models with loops or multiple fact tables sharing dimensions, and may hurt performance. Prefer the simplest direction that delivers the intended report behavior. Before enabling both directions, check whether another path already connects the tables and verify that filtering produces the expected results. See Microsoft’s relationship concepts and relationship management guidance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When should you use a many-to-many relationship?

A many-to-many relationship allows repeated key values on both sides, but directly relating two fact tables this way can restrict how users group and filter data and can expose data-integrity problems. For general reporting, Microsoft advises against making a direct many-to-many relationship between fact tables the default design.

Instead, look for the business dimensions that describe both facts—such as date, customer, or product—and relate each fact to those dimensions with one-to-many relationships. That structure gives users common ways to filter both facts. Use a direct many-to-many relationship only when the data model and required behavior justify it, and validate the resulting filter paths. Microsoft’s many-to-many relationship guidance discusses the trade-offs.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

What are active and inactive relationships?

Only one relationship between a given pair of Power BI model tables can be active at a time. The active relationship supplies the default filter path for reports. An inactive relationship is available to a DAX calculation that explicitly invokes it, commonly with USERELATIONSHIP.

A typical example is a date dimension related to a fact table by both order date and ship date. One path can be active for ordinary report filtering, while a measure can use the inactive path to calculate by the other date role. An inactive relationship is not an independently selectable default path for normal report interactions. If report authors need to use both date roles as separate slicers or axes at once, duplicating the role-playing date dimension may be more suitable. Read Microsoft’s active versus inactive relationship guidance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Other DAX functions can alter or use relationships in calculations: CROSSFILTER changes or disables propagation for a calculation, RELATED and RELATEDTABLE access related values in row context, and TREATAS applies values from a table expression as filters to otherwise unrelated columns. These are calculation-level tools, not replacements for a model whose table roles and relationships make sense.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

How is a Power Query merge different from a model relationship?

Question Power Query merge Model relationship
When does it act? During query preparation, before data is loaded into the model. In the semantic model, when model queries and report filters are evaluated.
What does it do? Matches rows from two queries and adds a nested table of right-side matches, which can then be expanded or aggregated. Connects columns in loaded tables and establishes filter-propagation behavior.
What controls row retention? The selected join kind determines which unmatched rows are retained. It does not act like a selected Power Query inner join that permanently removes nonmatching rows.

For regular one-to-many relationships, Power BI’s engine can expand tables at query time using left-outer semantics. That is an internal evaluation behavior, not a join kind chosen during Power Query preparation. For this distinction, see Microsoft’s star-schema guidance and relationship evaluation documentation.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Which Power Query merge kind should you choose?

A merge matches one or more pairs of columns in two queries. The result initially contains a nested table column for matches from the second query; expand that column to bring selected fields into the first query, or aggregate its matches. Choose the join kind according to which side’s unmatched rows must remain.

Join kind Rows retained Useful when
Left outer All rows from the first (left) query, plus matching rows from the second. The first query is the row set to preserve and matching attributes are optional.
Right outer All rows from the second (right) query, plus matching rows from the first. The second query’s rows must all remain.
Full outer All rows from both queries, including unmatched rows. You need to retain unmatched records from either side for comparison or follow-up.
Inner Only rows with matches in both queries. Nonmatching rows should be excluded from the merged result.
Left anti Rows from the first query that have no match in the second. You need to identify first-query records without a corresponding lookup or counterpart.
Right anti Rows from the second query that have no match in the first. You need to identify second-query records without a corresponding counterpart.

These are row-retention rules for the merge operation, not relationship settings. Microsoft describes the merge workflow and join kinds in Merge Queries Overview.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

How do you avoid merge-key and row-count problems?

  • Use keys that represent the intended match. Similar-looking columns are not necessarily equivalent identifiers.
  • Make paired key columns compatible in data type. Their column names do not need to match.
  • For composite keys, select corresponding columns in the same order on both queries. A mismatched selection order can pair the wrong fields.
  • Check uniqueness where you expect a lookup. If the right-side key has duplicate values, one left row may match multiple right rows. Expanding those matches can increase the merged output’s row count.
  • Compare row and match counts after the merge. Investigate unexpected growth or loss before loading or relying on the result.

These checks matter whether the merge is intended to enrich a fact query or reconcile unmatched records; the expected output shape should be known before choosing how to expand the nested matches.

What is query folding, and why does it matter?

Query folding is Power Query’s attempt to translate supported transformation steps into operations the data source can execute. Folding can be full, partial, or absent. Whether a step folds depends on the connector, source, and transformation sequence; a merge is not guaranteed to fold simply because it is a merge. Structured sources with query engines commonly support folding, while CSV and Excel files do not provide a source query engine for this kind of folding.

Microsoft’s Power BI guidance says tables in DirectQuery and Dual storage modes must achieve query folding. For Import models built on relational sources, folding can improve refresh performance by letting the source perform supported work; when steps run in Power Query’s mashup engine instead, avoid making that engine do unnecessary work on large datasets. Check the folding indicators or diagnostics for the actual connector and steps rather than assuming. See Understanding Query Evaluation and Query Folding in Power Query.

A practical decision sequence

  1. Define table roles and grain. Decide what one row in each fact table represents and which descriptive dimensions should filter or group it.
  2. Validate relationship keys. Confirm that the intended one-side key is unique and that the proposed cardinality reflects the loaded data.
  3. Choose the filter path. Use the normal one-to-many direction unless a specific requirement justifies bi-directional filtering; check for alternate or ambiguous paths.
  4. Decide whether the rows need to be reshaped. If so, merge in Power Query and choose a join kind based on which unmatched records should remain. If the tables should stay separate and interact through report filters, model them with relationships.
  5. Validate the result and execution location. Check merge match and row counts, test report filtering, and inspect folding behavior where source execution matters.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.