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
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |