The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
hello,
It looks like it is not possible to create keys or index on a table in the warehouse.
is this right?
the messsage says: primary key or unique keyword is not supported in the create table statement in this edition of sql server.
and not sure if my fabric warehouse should be upgraded?
current version: 12.0.2000.8 oct 22 2024
thanks
Solved! Go to Solution.
You could use row_number or hashing your rows to get unique values for every row.
Hi, @arkiboys2
Thanks for FabianSchut‘s reply. As he said, currently Warehouse doesn't support the creation of unique indexes and there are some limitations for primary keys, you can try his method for your data and if it doesn't work, it's recommended to submit an idea for here and the product team will take note of such a need.
Related Link: New tab (powerbi.com)
Tables in data warehousing - Microsoft Fabric | Microsoft Learn
Best Regards,
Yang
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
Hi, it is true that it is not possible to create keys or index on a table in the warehouse. Here is the documentation that mentions that limitation: https://learn.microsoft.com/en-us/fabric/data-warehouse/tables#limitations
is there a workaround?
You could use row_number or hashing your rows to get unique values for every row.