The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a Power BI report built on a proxy dataset (used for row-level security, parameterization, etc.). That proxy dataset in turn is created on top of a core DirectQuery dataset. In order to generate an embed token for the report, I need both:
The proxy dataset’s ID (so I can call the GenerateToken endpoint with the right dataset)
The underlying core dataset’s ID (so that DirectQuery queries actually run against the real model)
What I’ve Tried
Using GetReportInGroup to retrieve the report metadata. This returns the proxy dataset’s GUID but provides no indication of the core dataset’s GUID.
Calling GetDataSourcesInGroup on the proxy dataset to inspect its data source connection details. While I can see that it’s pointing to my AnalysisServices endpoint and database name, there’s still no dataset GUID exposed.
Questions
Is there a REST API endpoint or property on one of the existing endpoints that returns the core dataset’s GUID, given only the proxy dataset’s GUID?
If not, what’s the best practice to programmatically discover that core dataset ID in a fully automated (non-manual) flow?
Thanks in advance for any pointers!
Solved! Go to Solution.
No, there is currently no REST API endpoint that directly returns the underlying/core dataset ID (from a DirectQuery for Power BI dataset) given only the proxy dataset ID. The metadata is internally present, but not surfaced via the public Power BI REST API.
Please mark this post as solution if it helps you. Appreciate Kudos.
No, there is currently no REST API endpoint that directly returns the underlying/core dataset ID (from a DirectQuery for Power BI dataset) given only the proxy dataset ID. The metadata is internally present, but not surfaced via the public Power BI REST API.
Please mark this post as solution if it helps you. Appreciate Kudos.
User | Count |
---|---|
37 | |
15 | |
14 | |
13 | |
9 |
User | Count |
---|---|
46 | |
44 | |
20 | |
18 | |
18 |