Forum Discussion
PowerBI semantic model's parameters get removed/not recognized after uploading through API
- Anonymous1 year ago
Hi theflashczech,
Thank you for reaching out in Microsoft Community Forum.
Please follow below steps to resolve the error;
1.When deploying PBIX via PowerShell, parameters may not get promoted to the dataset metadata, causing the API to return an empty list.
2.Manually publish the PBIX once using Power BI Desktop to verify if parameters appear via the API.
3.Migrate to PBIP (Power BI Project) format for better DevOps support, where parameters are fully supported and accessible via REST APIs.
4.Use the GetDataset API to ensure the dataset is properly loaded and not in a partial or invalid state.
Please continue using Microsoft community forum.
If you found this post helpful, please consider marking it as "Accept as Solution" and give it a 'Kudos'. if it was helpful. help other members find it more easily.
Regards,
Pavan.
Hi theflashczech,
Thank you for reaching out in Microsoft Community Forum.
Thank you Deku for the helpful response.
As suggested by Deku, I hope this information was helpful. Please let me know if you have any further questions or you'd like to discuss this further. If this answers your question, please "Accept as Solution" and give it a 'Kudos' so others can find it easily.
Please continue using Microsoft community forum.
Regards,
Pavan.