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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

On EVERY .pbix file when I go to query editor: "Underlying connection was closed: an unexpected err"

EVERYTIME I open a .pbix file to make a change, I have to re-authenticate my Microsoft credentials for EVERY data source, and then I end up receiving the below error.

I am the ONLY report author, the global admin for Microsoft at our firm...I have no idea what is going wrong here.

Feedback Type:
Frown (Error)

Timestamp:
2023-10-25T17:14:47.7554308Z

Local Time:
2023-10-25T13:14:47.7554308-04:00

Session ID:
a3116283-6bb0-4ebe-8fdc-48abdc7b3414

Release:
July 2023

Product Version:
2.119.986.0 (23.07) (x64)

Stack Trace:
Microsoft.Mashup.Host.Document.SerializedException
at Microsoft.Mashup.Evaluator.EvaluationHost.OnException(IEngineHost engineHost, IMessageChannel channel, ExceptionMessage message)
at Microsoft.Mashup.Evaluator.MessageHandlers.TryDispatch(IMessageChannel channel, Message message)
at Microsoft.Mashup.Evaluator.MessageHandlers.Dispatch(IMessageChannel channel, Message message)
at Microsoft.Mashup.Evaluator.ChannelMessenger.ChannelMessageHandlers.TryDispatch(IMessageChannel channel, Message message)
at Microsoft.Mashup.Evaluator.MessageHandlers.Dispatch(IMessageChannel channel, Message message)
at Microsoft.Mashup.Evaluator.Interface.IMessageChannelExtensions.WaitFor[T](IMessageChannel channel)
at Microsoft.Mashup.Evaluator.RemotePreviewValueSource.PreviewValueSource.WaitFor(Func`1 condition, Boolean disposing)
at Microsoft.Mashup.Evaluator.RemotePreviewValueSource.PreviewValueSource.get_TableSource()
at Microsoft.Mashup.Evaluator.Interface.TracingPreviewValueSource.get_TableSource()
at Microsoft.Mashup.Host.Document.Analysis.PackageDocumentAnalysisInfo.PackagePartitionAnalysisInfo.SetPreviewValue(EvaluationResult2`1 result, Func`1 getStaleSince, Func`1 getSampled)

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.119.986.0","ModuleName":"","Component":"Microsoft.Mashup.Evaluator.EvaluationHost","Error":"Microsoft.Mashup.Host.Document.SerializedException - Microsoft.Mashup.Host.Document.Evaluation.ErrorEvaluationResult","MethodDef":"OnException","ErrorOffset":"","ErrorCode":""}

OS Version:
Microsoft Windows NT 10.0.23565.0 (x64 en-US)

CLR Version:
4.8 or later [Release Number = 533320]

Peak Virtual Memory:
71.4 GB

Private Memory:
999 MB

Peak Working Set:
1.49 GB

IE Version:
11.1000.23565.0

User ID:
4ab761f4-5fd0-43e6-9c72-76bf56fabdb5

Workbook Package Info:
1* - en-US, Query Groups: 4, fastCombine: Disabled, runBackgroundAnalysis: False.

Telemetry Enabled:
True

Model Default Mode:
Import

Model Version:
PowerBI_V3

Enabled Preview Features:
PBI_sparklines
PBI_scorecardVisual
PBI_NlToDax
PBI_fieldParametersSuperSwitch
PBI_horizontalFusion
PBI_setLabelOnExportPdf
PBI_newCard

Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_qnaLiveConnect
PBI_b2bExternalDatasetSharing
PBI_enhancedTooltips
PBI_angularRls
PBI_onObject
PBI_dynamicFormatString
PBI_oneDriveSave
PBI_oneDriveShare
PBI_gitIntegration

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

DPI Scale:
125%

Supported Services:
Power BI

Status: Investigating

Hi  @apmulhearn ,

 

Make sure that your data source settings are correct and that the credentials you’re using are valid.
Ensure that you’re using the latest version of Power BI Desktop. Sometimes, updating to the latest version can resolve issues.
This issue might be resolved by enabling the Fast Combine feature within Power Query. You can do this by going into Options => Project Options => Enable "Allow combining data from multiple datasources."

 

Best regards.
Community Support Team_Caitlyn

Comments
v-xiaoyan-msft
Community Support
Status changed to: Investigating

Hi  @apmulhearn ,

 

Make sure that your data source settings are correct and that the credentials you’re using are valid.
Ensure that you’re using the latest version of Power BI Desktop. Sometimes, updating to the latest version can resolve issues.
This issue might be resolved by enabling the Fast Combine feature within Power Query. You can do this by going into Options => Project Options => Enable "Allow combining data from multiple datasources."

 

Best regards.
Community Support Team_Caitlyn