cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lagomar
Regular 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
Community Support

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
Regular 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!

 

 

Highlighted
Community Support
Community Support

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
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications