Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Tabular Model processing SQL Agent Job failure

I have set up a SQL Agent job to process my tabular model db, but I am getting the following non-descript error.

 

The tabular model processes fine processing it manually, but when I do it via SQL Agent job it fails almost instantly. We have done all the checks on credentials, logins, rights.

 

Any ideas/suggestions?

 

Executed as user: svcAccStmSQLAgentAcc. Microsoft.AnalysisServices.Xmla.XmlaException: OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E.   at Microsoft.AnalysisServices.Xmla.XmlaClient.CheckForSoapFault(XmlReader reader, XmlaResult xmlaResult, Boolean throwIfError)   at Microsoft.AnalysisServices.Xmla.XmlaClient.CheckForError(XmlReader reader, XmlaResult xmlaResult, Boolean throwIfError)   at Microsoft.AnalysisServices.Xmla.XmlaClient.SendMessage(Boolean endReceivalIfException, Boolean readSession, Boolean readNamespaceCompatibility)   at Microsoft.AnalysisServices.Xmla.XmlaClient.SendMessageAndReturnResult(String& result, Boolean skipResult)   at Microsoft.AnalysisServices.Xmla.XmlaClient.ExecuteStatement(String statement, String properties, String& result, Boolean skipResult, Boolean propertiesXmlIsComplete)   at Microsoft.AnalysisServices.Xmla.XmlaClient.Execute(String command, String properties, String& result, Boolean skipResult, Boolean propertiesXmlIsComplete)   at Microsoft.SqlServer.Management.Smo.Olap.SoapClient.ExecuteStatement(String stmt, StatementType stmtType, Boolean withResults, String properties, String parameters, Boolean restrictionListElement, String discoverType, String catalog)   at Microsoft.SqlServer.Management.Smo.Olap.SoapClient.SendCommand(String command, Boolean withResults, String properties)   at OlapEvent(SCH_STEP* pStep, SUBSYSTEM* pSubSystem, SUBSYSTEMPARAMS* pSubSystemParams, Boolean fQueryFlag).  The step failed.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I have found an issue in my SQL view where I combine multiple columns of which the nature is the same, but the columns are not the same data type eg varchar and int.

 

Casting them to be the same solved my problem

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

I have found an issue in my SQL view where I combine multiple columns of which the nature is the same, but the columns are not the same data type eg varchar and int.

 

Casting them to be the same solved my problem

Anonymous
Not applicable

Hi @Anonymous,

AFAIK, XMLA write operations on datasets authored in Power BI Desktop and published to a Premium workspace require enhanced metadata, did you enabed this on your dataset?

Using enhanced dataset metadata in Power BI Desktop - Power BI | Microsoft Learn

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.