Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello to everyone,
my Power BI project rely on a tabular model created and deployed throught Visual Studio to SQL Server. I'm stucked in the process of refreshing data with SQLAgent because of my lack of knowloadge of an appropriate command to elaborate my model data. Basically I need a command that can do the same of the following Visual Studio screenshot:
which eleborates databases, tables and partitions.
I've been using the following command which clearly only updates the model schema and not the data within:
{
"refresh": {
"type": "automatic",
"objects": [
{
"database": "database_name"
}
]
}
}
What should I use to refresh data correctly? Thanks in advance, Gabriele.
copy that script into a file with a .mdx extension and tell your agent to run that script file.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |