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.
The composite model contains two parts
1) A small internal dataset that is populated based on report parameter values
2) A connection to a global dataset in a separate workspace. The global dataset is refreshed nightly and contains a long-running pull from Azure Blob Storage. It goes directly to the blob account and not through a gateway connection.
I did not find where the case we are trying to perform is listed as a limitation, but maybe I missed it?
lbendlin - I will look into getting a support ticket created for this if it's not something that is under a known limitation.
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.
- leroymeares4 years agoRegular Visitor
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