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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
anvikuttu
Advocate I
Advocate I

Dataflow refresh issue

Hi Team,

When I refresh dataflow I am getting rather an unusual error msg "Error: PipelineException: Internal error DirectQueryUnexpectedEndOfStream. ." The data is just more than a million records, however, with smaller data, I don't get this issue. Any ideas?

Additional info: I have a power bi premium license.

Let me know if you need any more information.

thank you in advance.
Error: PipelineException: Internal error DirectQueryUnexpectedEndOfStream. . RootActivityId = 00236128-be0d-4928-92ec-f106613b9932.Param1 = PipelineException: Internal error DirectQueryUnexpectedEndOfStream.  Request ID: fa559a00-f9eb-fe41-56f8-7bc742893de0. 

1 ACCEPTED SOLUTION
anvikuttu
Advocate I
Advocate I

I think the issue is now resolved. There were a couple of let statements within the M query, which caused this issue. Though this step was technically correct, the PBI service was not able to handle this calculation. So I separated out these queries as separate tables and then did the joins. With smaller data, these multiple let statements didn't create problems.

View solution in original post

3 REPLIES 3
anvikuttu
Advocate I
Advocate I

I think the issue is now resolved. There were a couple of let statements within the M query, which caused this issue. Though this step was technically correct, the PBI service was not able to handle this calculation. So I separated out these queries as separate tables and then did the joins. With smaller data, these multiple let statements didn't create problems.

anvikuttu
Advocate I
Advocate I

SQL Server. 

BeaBF
Super User
Super User

Hi @anvikuttu !

What is the data source?

 

BF

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.