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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Dataflow Failed - Internal Error

Hi All,

 

Recently a dataflow which was working stopped working for us. I found which entity was causing the error – an entity called 'LicenseRenewals'. I checked out its query and it was all good. No gateway involved, the source is AzureSQL.

 

As a test I thought I’d recreate it. So I renamed ‘LicenseRenewals’ to ‘LicenseRenewalsFailed’ and made a new entity in the same dataflow called ‘LicenseRenewals’.

 

Here’s where things got really bizarre. Because having done this the new ‘LicenseRenewals’ entity failed, but original ‘LicenseRenewalsFailed’ entity began to work!

 

Seems that it doesn’t like the name… ‘LicenseRenewals’. If I change it to ‘LicenseRenewal’ (dropping the s) then it works also.

 

Any ideas as to what could be causing this problem? I have seven data that flows are failing – I’d rather get them working than have to change the names of the entities and update the underlying datasets - assuming I need to touch those.

 

Seems this is an issue for others too posting on an older thread (hence perhaps no response) which claimed a similar issue which was fixed:

 

https://community.powerbi.com/t5/Service/Dataflows-always-fail-to-refresh-due-to-quot-internal-error...

 

All assistance greatly appreciated.

 

@joebrown42 - hope you don't mind me tagging you but trying to pull this issue forward and thought you might be interested in any responses I get!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi All,

 

Seems that during a dataflow refresh a file was created didn't get cleared out - and the presence of this file blocked subsequent refreshes.

 

Our Licenses entity has a number of tables, but the refresh always failed when it got to the LicenseRenewals table. In Azure Storage explorer I could see there was also a LicenseRenewals.CSV file in the Licenses folder, but no such file exists for the other folders.

 

 

Snag_3a6d920f.png

On a whim I renamed this file and the extract worked again. Basically this file should not be there. These 'root' CSV files get created during data extract, then moved to their respective snapshot folder, then the 'root' CSV is removed and the next folder updated.

 

MS Support indicated that, for some as yet unknown reason, it looks like in our case the 'root' CSV file was not removed, and therefore on the next refresh it failed because it's trying to create a LicenseRenewals.CSV file but a duplicate is already present so it bombs out with the 'internal error' message in the logs.

 

So - the solution in our case was to remove/rename the offending 'root' CSV file.

 

We're using our own ADLSGen2 storage, so current working theory is that some interuption happened to that which stopped the file being removed normally and left this file as a hangover. But thats speculative. 

 

Hopefully this answer helps others!

View solution in original post

7 REPLIES 7
v-xuding-msft
Community Support
Community Support

Hi @Anonymous ,

Recently, there is a known issue about Dataflows. See the message below.https://powerbi.microsoft.com/en-us/support/

Power BI Customers using the enhanced compute engine preview feature for Dataflows may experience refresh issues with their premium capacity. As a workaround, users can disable the "Enhanced Dataflows Compute Engine (Preview)" feature in the Admin portal. Engineers are working on a fix and expect it to be deployed by end-of-day 11/15/2019.

 

Do you use that feature? If so, please wait for the issue fixed. If not, maybe you need to create a support ticket to understand why it happened and how to solve it.

How to create a support ticket in Power BI  

 

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Kudos are nice too.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

We're not using premium - and I see no option for the feature you referenced in the admin portal.

Anonymous
Not applicable

And another four dataflows started failing since yesterday - so now i'm up to eleven failures.

 

I'll contact support.

Hi @Anonymous ,

Did you solve the issue? Can you please share us some messages? More people who encounter the same issue will benefit here.

 

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Kudos are nice too.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

No update as yet - still with support, has been escalated.

Anonymous
Not applicable

And still with support. The issue got referred to the Azure team to check the ADLS Gen2 was set up correctly with the proper service access - they're happy the access is there, so now we're back to the PBI team. 

Anonymous
Not applicable

Hi All,

 

Seems that during a dataflow refresh a file was created didn't get cleared out - and the presence of this file blocked subsequent refreshes.

 

Our Licenses entity has a number of tables, but the refresh always failed when it got to the LicenseRenewals table. In Azure Storage explorer I could see there was also a LicenseRenewals.CSV file in the Licenses folder, but no such file exists for the other folders.

 

 

Snag_3a6d920f.png

On a whim I renamed this file and the extract worked again. Basically this file should not be there. These 'root' CSV files get created during data extract, then moved to their respective snapshot folder, then the 'root' CSV is removed and the next folder updated.

 

MS Support indicated that, for some as yet unknown reason, it looks like in our case the 'root' CSV file was not removed, and therefore on the next refresh it failed because it's trying to create a LicenseRenewals.CSV file but a duplicate is already present so it bombs out with the 'internal error' message in the logs.

 

So - the solution in our case was to remove/rename the offending 'root' CSV file.

 

We're using our own ADLSGen2 storage, so current working theory is that some interuption happened to that which stopped the file being removed normally and left this file as a hangover. But thats speculative. 

 

Hopefully this answer helps others!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors