Umesh
Umesh

Reputation: 1

Need to establish relation between tables in create semantic API for PowerBi

Currently i am able to create semantic layer through fabric API
(https://learn.microsoft.com/en-us/rest/api/fabric/semanticmodel/items/create-semantic-model?tabs=HTTP&tryIt=true&source=docs#code-try-0)

In above API i am passing request body which can contain multiple tables definition(in Base64 Format) but currently i am unable to provide relationships among those tables.

can someone please help on how to provide relationships among provided tables in request body in create semantic API

Thanks in advance !!

Upvotes: 0

Views: 42

Answers (1)

David Browne - Microsoft
David Browne - Microsoft

Reputation: 89361

Create some relationships manually, download the model with the Get Semantic Model API and examine the model definition. You'll see the relationships in the model definition.

Upvotes: 0

Related Questions