Forum Discussion
Error generating an embed token with a composite model
- 4 years ago
KevinSnow when you say that you have "A connection to a global dataset ..." I believe this is what the limitation refers to as "DirectQuery connection to a Power BI datasets". Your first dataset is connected to the second dataset in direct query mode (regardless of the fact that they reside in different workspaces).
This limitation in Power BI embedded is expected to be lifted in a few weeks, but currently it's not supported.
KevinSnow when you say that you have "A connection to a global dataset ..." I believe this is what the limitation refers to as "DirectQuery connection to a Power BI datasets". Your first dataset is connected to the second dataset in direct query mode (regardless of the fact that they reside in different workspaces).
This limitation in Power BI embedded is expected to be lifted in a few weeks, but currently it's not supported.
AmosHersch Do you have an updated ETA on the lifting of this restriction as it is still in place.
- AmosHersch4 years agoMicrosoft Employee
Hi leroymeares ,
The limitation was removed.
You can see brief instructions for generating an embed token which will allow this scenario here:
Thanks,
Amos
- LeroyM4 years agoFrequent Visitor
Amos
Thank you for the update.
I am using GenerateTokenRequest from the Microsoft.PowerBI.Api.V2.Models namespace and i cannot find a constructor where i can pass in a list of datasets, it seems the dataset property is a string. Do you know if i can pass a list with a seperator in this string?
Leroy
- AmosHersch4 years agoMicrosoft Employee
Seems like you're using an old version of Power BI C# SDK which is deprecated AFAIK, see here from 2.5 years ago:
Announcing Power BI APIs .NET SDK v3 | Microsoft Power BI Blog | Microsoft Power BI
The latest package is here: NuGet Gallery | Microsoft.PowerBI.Api 4.9.0
From the Readme in github repo: https://github.com/Microsoft/PowerBI-CSharp :
Install-Package Microsoft.PowerBI.Api