Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I am using an API to refresh my semantic model and I am getting this error :
Invalid dataset. This API can only be called on a Model-based datasetI get this error when my API call is triggered.
Solved! Go to Solution.
It is either you are using DQ or Live connection.
The dataset refresh API doesn't support DirectQuery mode dataset (or Live Connection) because the reports in DQ mode gets the latest data everytime you want to query it, so no need for a refresh.
powerbi - logic apps, refresh a dataset of power bi - Stack Overflow
direct qiery
It is either you are using DQ or Live connection.
The dataset refresh API doesn't support DirectQuery mode dataset (or Live Connection) because the reports in DQ mode gets the latest data everytime you want to query it, so no need for a refresh.
powerbi - logic apps, refresh a dataset of power bi - Stack Overflow
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.