cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lagomar Frequent Visitor
Frequent Visitor

Power BI Machine Learning run/refresh error when using dataflow (gateway)

Attempting to run a ML regression and receiving the following error on the ML entity:

"Error: An error happened while reading data from the provider: 'An internal error occurred.'.. RootActivityId"

 

Gateway is connected for data in SQLServer but the AIInsight extensions cannot be added to the gateway.

 

ML has worked in the past with the same setup but now will not run.

3 REPLIES 3
Community Support Team
Community Support Team

Re: Power BI Machine Learning run/refresh error when using dataflow (gateway)

HI @lagomar ,

It is hard to troubleshoot without any detail information, can you please share more detail information to help us clarify your scenario?(e.g. detailed error message with activity/request id, snapshot, detail operation steps...)

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI
lagomar Frequent Visitor
Frequent Visitor

Re: Power BI Machine Learning run/refresh error when using dataflow (gateway)

Hi @v-shex-msft ,

Thanks for your response. For data privacy reasons I cannot include screenshots but here are the steps that I am taking to create my dataflow and implement the ML capabilities:

 

1. Create workspace, enabling dedicated capacity

2. Create dataflow

3. Add new entities - SQL Server database

4. login using database credentials (basic authentication kind)

5. Select on-premises gateway under connection credentials (gateway opened and logged in on my desktop)

6. Select table

7. Select 'Transform data'

8. Filter date range, and locational data

9. Save & close

10. Name dataflow

11. Refresh data

12. Apply ML model to entity (SQL Server data I just added)

13. Select Historical outcome field, in my case an integer value representing travel days

14. Select regression as model type

15. Select Base Entities for model

16. Name model, SAVE & REFRESH

17. Error after less than one minute on the refresh: Error: An error happened while reading data from the provider: 'An internal error occurred.'.. RootActivityId = 8bf235fc-cc18-4e05-9296-9b4d91d9d7b7.Param1 = An error happened while reading data from the provider: 'An internal error occurred.' Request ID: 8b28cf2e-af9c-af35-c587-7cc16bf2ba62.

 

Training data entitiy completed successfully but when the regression entity runs there is an error. I've tried using ML models  (not just regression) with different historical outcome fields and received same error.

 

Note: This error does not occur when I refresh entity with no ML model applied.

 

Thanks for your help!

 

 

Community Support Team
Community Support Team

Re: Power BI Machine Learning run/refresh error when using dataflow (gateway)

HI @lagomar ,

According to your description, it seems like a compatibility issue between power bi dataflow and Azure ML datasource, I'd like to suggest you open a support ticket to get further support from power bi team.

Support Ticket.gifsubmit a support ticket

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors