Forum Discussion
Visualization getting an error
I looked for a solution for this but couldn't find any.
All the visualization works fine, but if I want to add a custom column I did on Desktop to be shown in one of the visualizations, it takes a while to load, and finally I get this error:
It seems to be a memory issue, but the column loads fine in desktop. I'm having trouble just with this visualization.
I'd appreciate any guidance. Thanks in advance!
7 Replies
- ribisht17Super User
Anonymous
This is more on the Power BI service side, what is the error if you click on See details?
>>>Error "Couldn't retrieve the data for this visual.... - Microsoft Power BI Community
Regards,
Ritesh
Regards,
Ritesh
- AnonymousNot applicable
Thanks for the reply.
If I click on see details, that sign shows up. And if I click on Copy details to clipboard, I get a list of exceptions.
This is the first stack trace:
Stack Trace:
System.IO.IOException: Stream was too long.
at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.IO.StreamWriter.Write(String value)
at Microsoft.DataShaping.Common.Json.JsonValueUtils.WriteEscapedJsonString(TextWriter writer, String inputString)
at Microsoft.DataShaping.InternalContracts.JsonStreamingStructureWriter.WriteSimpleEncodedValue(Object value)
at Microsoft.DataShaping.InternalContracts.DataShapeResultWriter.DictionaryValuesWriter.WriteValues(String identifier, Boolean isTypeEncoded, IReadOnlyList`1 values)
at Microsoft.DataShaping.Processing.DataShapeResultGeneration.DataShapeResultGenerator.WriteValueDictionaries(DictionaryEncodingCoordinator dictEncoding, String dataShapeId, DataShapeWriter writer, CalculationGenerationTelemetry calcTelemetry)
at Microsoft.DataShaping.Processing.DataShapeResultGeneration.DataShapeResultGenerator.ProcessDataShape(DataShape dataShape, DataShapeWriter writer)
at Microsoft.DataShaping.Processing.DataShapeResultGeneration.DataShapeResultGenerator.GenerateImpl()
at Microsoft.PowerBI.ReportingServicesHost.DataShapingTelemetryService.RunInActivity(ActivityKind activityKind, Action action)
at Microsoft.DataShaping.Processing.DataShapeProcessor.<ExecuteQueryAndWriteResult>d__2.MoveNext()- ribisht17Super User
Looks like related to c# - Failed to write large amount of data to stream - Stack Overflow memory/big data as you have already mentioned there
Regards,
Ritesh