Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
marierasmu123
New Member

Fabric Virtual Table in Power App

Hello everyone,

I am attempting to use the connection to Microsoft Fabric through a virtual table in Dataverse for my Power App. I have  create the table and integrate it into an app. However, I am not authorized to perform any actions with it.

 

I encounter this error when I try to edit a row or create a new one in my virtual table.

marierasmu123_0-1704445496332.png

 

Has anyone succeeded in doing this?

4 REPLIES 4
Lado_Kvara
New Member

You have to create the table in Fabric Warehouse with Primary Key constraint. It'll work.

1. Create your table in Lakehouse.

2. Create empty table in Warehouse

CREATE TABLE [dbo].[table_name](
column1 varchar(10),
column2 varchar(10),
...
id BIGINT NOT NULL -- This will be the Primary Key and has to be NOT NULL
)

-- Add Primary Key Constraint
ALTER TABLE [dbo].[table_name] ADD CONSTRAINT pk_id PRIMARY KEY NONCLUSTERED (id) NOT ENFORCED

3. Load data

-- Insert data into table
INSERT INTO [dbo].[table_name]

4. Create Virtual Table in Power App

pavanmanideep
Helper III
Helper III

Hi,

 

Fabric is an all in one SAAS Based analytics platform, its not a standard database. From where are you fetching data to virtual table?

 

 

If I have answered your question, please mark your post as Solved.

If you like my response or got a direction forward to proceed, please give it a Thumbs Up. Appreciate your Kudos. You can accept more than one post as a solution.

 

Cheers,

PMDY

pavanmanideep
Helper III
Helper III

Hi,

 

Do you have Guid Column in your fabric datasource?

 

If I have answered your question, please mark your post as Solved.

If you like my response, please give it a Thumbs Up.

You can accept more than one post as a solution.

 

Cheers,

PMDY

No, I don't have that, but even if I had, I don't see any option to create new rows through a power app and down to a fabric database, if a GUID needs to be generated from the app. Previously I used the identity type in SQL, but I can't find a similar function in fabric, so I'm also looking for a way to generate some kind of GUID in fabric.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors