Forum Discussion
Dynamically get own datasetID
- 1 year ago
Investigated a bit further, and as it is a cyclic event, then I don't think it is possible.
I made the solution so I have to get the ID after first publish, then I can set it using parameters, even in the pipeline.
Hi kdqdk I dont think Power BI does provide a direct way to dynamically retrieve the Dataset ID of a published report into the semantic model from within Power BI itself.The workaround would be to use REST API Through Azure
If this post helped please do give a kudos and accept this as a solution
Thanks In Advance
Yes, REST API is also what I expect.
However, I'm looking for the solution, e.g. code snippets, because I can't see a way for it to identify itself.
- Akash_Varuna1 year agoSuper User
Hi kdqdk Could you go through this
https://community.fabric.microsoft.com/t5/Developer/Access-Power-BI-API-with-Python/m-p/189165?utm_source
In this thread there are a bunch of links related to REST API