A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
@JML
I don't know if I am having the same problem as you but it sounds like it. I have a model that refreshes once a day and usually takes about 7-10 minutes. The refresh is triggered by a SQL Agent job which runs a full refresh on the model.
{
"refresh": {
"type": "full",
"objects": [
{
"database": "Model_FCP"
}
]
}
}
When it does hang up, I have let it run for as long as 8 hours and it will not complete and killing then restarting the job does not work. I have done some testing and it will be a single table in the model that is locking up on refreshing, but not always the same table.
What I have had to do is change the partition definition on all of the tables, then the refresh will run. The change I make to the partition definition is meaningless, it actually changes nothing. It seems like there is something "corrupted?" in the model and making this change resets it.
The change I make is this:
from:
"query": "SELECT [dbo].[vMEMBER].* FROM [dbo].[vMEMBER] WHERE [Client ID] = 'FCP'"
to
"query": "SELECT [dbo].[vMEMBER].* FROM [dbo].[vMEMBER] WHERE [Client ID] = 'FCP' AND [Client ID] IS NOT NULL"
I make that same change to every table and the refresh will run fine. The next time it locks up (in a week or so) I change it back and it will refresh again.
I don't know if this information will help you or if you have found a solution to the problem but I thought I would share. If you do have a solution I would love to hear it.
Regards,
John