Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
While creating data model in Fabric datawarehouse, I ends up with following error.. Its not allowing me anymore to establish any relationship further with Facts and Dims. Its a bug in the environment and not letting me move ahead.
Does anyone know about this problem and have any solution to fix it, would be highly appriciated.
Solved! Go to Solution.
It could be that when the model relationships were created, there was an error registering those relationships in the physical model and hence not visible in the system tables.
What I would do to "clean up and start fresh" is:
I'm getting a similar error when trying to make basic adjustments to my Semantic Model connected to a Warehouse. All I'm trying to do is set SUMMARIZE BY to NONE, or specify a Display Folder or mark a column as HIDDEN.
IMHO, Fabric still has a long way to go before it is really solid.
Proud to be a Super User! | |
thanks for looking at this issue. Am trying to build a relationship between fact and dim tables, some worked. but after a certain point, the Fabric Datawarehouse environment didn't allow the addition of any new relationships. Every time it gives the same error.
My dataset is a bit heavy with some facts keeping millions of records. Dealing with large table data seems the cause of the issue though MS is in their product showcase talking about billions of records in the dataset.
Without establishing the right relation, I can't consume data at the PowerBI reporting layer. Not sure if anyone else has encountered a similar issue.
I am stuck!
You can check the relationships in the Warehouse by querying the system tables. Run the query below on your Warehouse using a SQL query and see what relationships you have. FYI you can create relationships either in the model view or using SQL (Primary, foreign, and unique keys - Microsoft Fabric | Microsoft Learn). You may find you need to remove relationships using SQL and then re-add them.
Thanks Andy, This looks great and flexible. I just checked the query on one of the facts in my model, and viewed this as well from PBIX file that is connected with a live connection to the Fabric DWH. The query is surprisingly showing me two FKs, though the model view is showing more relations -
Why am I missing the other two relations?
It could be that when the model relationships were created, there was an error registering those relationships in the physical model and hence not visible in the system tables.
What I would do to "clean up and start fresh" is:
Hi Andy, following your guidance, have dropped all the FK constraints and recreated them through SQL. It seems working, could see Relations in the visual model. But there is one issue, all the relations are appearing as Inactive, have to make them Active one by one manually - bit inefficient! Is there a waymaking them Active through the SQL statement?
AFAIK no, the relationships will appear as inactive until you activate them in the model view. Theory is you may wish to create FKs in the warehouse but not actually activate them in the model. Eg scenarios where you have multiple FK from one table to another (PBI only supports 1 active relationship)
This sounds very logical. Earlier when I had the same issue, I dropped all the objects; created a fresh one, and built the relationships. I'll do it again but this time I will keep an eye on what's going on in the sys tables just to ensure it aligns with my model design. Thank you so much, though it is a bug we have to accept it.
I dont think having billions of records is an issue, although that does require your model to be well optimised.
The issue could be how you are modelling this data and by the looks of it, that is the problem having so many joins in your model will definitely create an issue, it looks like a 3rd normal form model you are using, but for that many records, and tables you really need to denormalise some of your tables and use a star schema approach.
With the limited information you have given me that is the best advice I can give. The answer is mostly always in the model.
Proud to be a Super User!
Thanks! In fact, the model is fully based on the Star Schema. I have approximately 20 Facts and 6 Dims, and I do not have any inactive/multiple Joins. That is of surprise to me, shouldn't see any issue in design causing the failure. It's a bug in Product IMO in handling large models. Thanks anyway for your advice!
are you able to create screenshots of what you trying to do? have you duplicated a column?
Proud to be a Super User!
ah, i misssed the dim_ tables
you know the error message you get and under that, out of curiosity, when it says see details, what does that provide when you click the see details arrow down?
Proud to be a Super User!
Check out the November 2025 Fabric update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!