Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
If I have a report which is getting data from a dataset 1 which itself is getting data from another dataset 2, how to get dataset 2 id through report id as we can only know id of dataset 1, using api getDatasets(group id, report id).
Till now, I'm using an approach not very performant, which is like once I get datasource for dataset 1, I compare datasource name with all datasets database connection names, to filter out parent datasets.
As you can see in above, each time a call to get all datasets is time consuming.
Is there any better way to do this using either one or multiple api calls?
This step is followed as part of my approach, however, there is no dataset id in response, only datasource information.
"server" points to the workspace
"database" points to the dataset