Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 57 | |
| 44 | |
| 42 | |
| 20 | |
| 18 |