Forum Discussion
Warehouse Table writeback supported from PowerApps?
Hi,
I am following documented scenario and trying to create a table with primary key in Fabric DataWarehouse, but looks like even provided sample did not work here.
HimanshuS-msft can you help please? Thanks.
source: Primary, foreign, and unique keys - Microsoft Fabric | Microsoft Learn
- KevinConanMSFT3 years agoMicrosoft Employee
Greetings Anonymous! This is a recently discoverd issue that we are working on resolving. If you run the statements seperately they work. The issue happens when you try to run them at the same time.
- Anonymous3 years agoNot applicable
Thanks KevinConanMSFT it was very helpful for as right now.
charrington thanks for your time and investigaton. What I am trying to achieve is only to build star schema above Lakehouse (silver) data in Warehouse (Gold) layer.
As using SCD2 for dimensions, I want to create surrogate key there and not to use Id from source system.
- charrington3 years agoAdvocate V
Anonymous Welcome!
You might wanna look also at this thread in case you haven't come across it, discussing identity fields. The Guid trick might help or not in your case, not sure.
- charrington3 years agoAdvocate V
Hi Anonymous
I just tried and got the same error as you...weird...I am 100% sure it was working when I posted the issue.It looks they are doing a lot of changes...they will probably fix it at some point.
But anyway the Primary key is not very useful right now in Fabric. You cannot enforce it. So it's more for performance only. Not sure what you wanted to acheive with this. It's not meant for transactional data, at least for now.
Thanks