- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Unexpected relationship behavior using DirectQuery
Hi PBI community,
I am experiencing an unexpected issue with a dimension table that comes from a DirectQuery (PowerBI model dataset) I use a data set to further build an adjusted data set from the same sources. The main model includes all dimensions and actual sales, while the new model contains forecast numbers. The tables are 1:1 in the design and use the same dimensions and in general, the performance is as expected until I noticed this issue.
The product table coming from the dataset doesn't include the values from the transaction that doesn't have a product key, but it is still counted in the total. This is different compared to how it acts if I create the same table in the local model as linked, as we have two types of blanks where all the numbers sum up to the total. See the picture below. both relationships are one-to-many.
So I do wonder if this is intentional or if there is something i do not consider? I would have expected the behavior to be identical but I guess dealing with blanks might be difficult with data coming from DirectQuery. Any suggestions on how to solve this or if this is just how it works for now.
BR
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @Stefan_38 ,
--When two tables are linked through a regular relationship, the table on the one-side might contain the additional blank row in case the relationship is invalid. Thus, if the many-side of a regular relationship contains values that are not present in the table on the one-side, then a blank row is appended to the one-side table. The additional blank row is not added to the target of a limited relationship.
Please Read this blog for more details:
Regular and limited relationships in Power BI
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @Stefan_38 ,
--When two tables are linked through a regular relationship, the table on the one-side might contain the additional blank row in case the relationship is invalid. Thus, if the many-side of a regular relationship contains values that are not present in the table on the one-side, then a blank row is appended to the one-side table. The additional blank row is not added to the target of a limited relationship.
Please Read this blog for more details:
Regular and limited relationships in Power BI
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
08-23-2024 01:54 AM | |||
12-22-2023 04:01 PM | |||
09-22-2021 04:19 PM | |||
11-18-2022 02:46 PM | |||
08-28-2024 12:15 PM |
User | Count |
---|---|
86 | |
81 | |
53 | |
39 | |
37 |
User | Count |
---|---|
105 | |
85 | |
48 | |
42 | |
41 |