Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
I want to retrieve the contents of my dataset_ID.
Through this link https://learn.microsoft.com/fr-en/rest/api/power-bi/datasets/get-dataset-in-group, I was able to obtain the group_id and the dataset_id using the following query:
GET https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-dataset-in-group
Now, I would like to retrieve the contents of each dataset_ID.
How to proceed? I would need help with this.
Thank you in advance for your assistance.
Solved! Go to Solution.
Hi @Christ-M ,
As you are facing a 404 error while retrieving tables please check these troubleshooting steps:
1) The Service principal is still active in AAD and Access token is getting generated via the Service principle.
2) Double-check that all the variable IDs you have entered, such as tenant_id, dataset_id are accurate and correctly formatted.
3) Try your API call from third party tool such as postman once to confirm everything works correctly.
Thanks and Regards
Hi @Christ-M ,
We are following up once again regarding your query. Could you please confirm if the issue has been resolved?
If the issue has been resolved, we kindly request you to share the resolution or key insights here to help others in the community. If we don’t hear back, we’ll go ahead and close this thread.
Should you need further assistance in the future, we encourage you to reach out via the Microsoft Fabric Community Forum and create a new thread or reopen this thread. We’ll be happy to help.
Thank you for your understanding and participation.
Thank you for your answers, @freginier
it does not correspond to my need.
My question is how to retrieve data from a table when it’s not a push API.
Can I have a request that shows how to do it or a code that shows how to do it?
Thank you for your contribution
Hello,
I am really not sure then.
Sorry I couldn't help more 😅
I allow to put my basic code here acr I’m looking for a solution
import requests
1. I receive an error when retrieving tables: Error 404, message: Dataset xxxxx is not Push API dataset, and it leaves me table retrieval error.
2. What solutions I can do or even how to change my code to get the tables and their content.?
3. If I want to use the Endpoint XMLA, how can I use it? What documentation should I turn to for Using XMLA ?
4. Is there a solution to my problem? how to correct the message Dataset is not Push API dataset.?
Hi @Christ-M ,
As you are facing a 404 error while retrieving tables please check these troubleshooting steps:
1) The Service principal is still active in AAD and Access token is getting generated via the Service principle.
2) Double-check that all the variable IDs you have entered, such as tenant_id, dataset_id are accurate and correctly formatted.
3) Try your API call from third party tool such as postman once to confirm everything works correctly.
Thanks and Regards
@freginier I allow to put my basic code here acr I’m looking for a solution
import requests
1. I receive an error when retrieving tables: Error 404, message: Dataset xxxxx is not Push API dataset, and it leaves me table retrieval error.
2. What solutions I can do or even how to change my code to get the tables and their content.?
3. If I want to use the Endpoint XMLA, how can I use it? What documentation should I turn to for Using XMLA ?
4. Is there a solution to my problem? how to correct the message Dataset is not Push API dataset.?
Hey there!
Please try these steps to get your solution:
1. Use the Power BI API to Retrieve Tables in a Dataset
API Endpoint: GET https://api.powerbi.com/v1.0/myorg/groups/{group_id}/datasets/{dataset_id}/tables
(This returns the list of tables in the dataset.)
2. Retrieve Table Rows (Dataset Contents)
Once you have the table names, you can fetch the rows using:
API Endpoint:GET https://api.powerbi.com/v1.0/myorg/groups/{group_id}/datasets/{dataset_id}/tables/{table_name}/rows
(This returns all rows in a specific table of the dataset.)
3.
Make sure your API call includes an authorization token. You need:
Power BI API Permissions: Dataset.Read.All , Dataset.ReadWrite.All
You must authenticate using OAuth 2.0 via Azure Active Directory (AAD).
How to Authenticate:
- Register an Azure AD App for Power BI.
- Get an OAuth token.
- Use the token in your API request headers: Authorization: Bearer {access_token}
Hope this helps!
😁😁
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
50 | |
32 | |
27 | |
26 | |
25 |
User | Count |
---|---|
62 | |
49 | |
29 | |
24 | |
23 |