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

Key Influencer Error..."Failed to Resolve Name 'AI.SAMPLESTRATIFIED'....

My colleague and I have a PowerBi report linked to a SQL query that was written in Visual Studio. The query feeding the datset examines sales between this year and last year by department, percent changes between this year and last year, and acategorical variable that says 'sales flat/increasing/decreasing' based on the percent change values. 

 

When we went to the Key Influencers visual and used the categorical variable in the 'Analyze' section, and tried to add another variable in the 'Explain By', we get an error saying:

 

"Failed to resolve name 'AI.SAMPLESTRATIFIED'. It is not a valid table, variable, or function name."

 

This pops up regardless of the variable used. Has anyone else rain into this or a similar error?

10 REPLIES 10
Community Support Team
Community Support Team

Re: Key Influencer Error..."Failed to Resolve Name 'AI.SAMPLESTRATIFIED'....

HI @aelfering ,

 

I can use my table on key influencer visual without any issue. What fields you used on this visual ? Can you please share some detail information and same data to help us clarify this?

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |
DavidS524 Regular Visitor
Regular Visitor

Re: Key Influencer Error..."Failed to Resolve Name 'AI.SAMPLESTRATIFIED'....

I recieve the same error when trying to use the Key Influencer visual. Unfortunately I am not able to provide any data but I get the error regardless of which fields I pull in.

 

Here is a screenshot:

 

Key Influencer Error.PNG

DejanSarka Frequent Visitor
Frequent Visitor

Re: Key Influencer Error..."Failed to Resolve Name 'AI.SAMPLESTRATIFIED'....

Hi!

 

I am getting the same error, and since there was a question about the data: I tried with the AdventureWorksDW2017 database, the dbo.vTargetMail view.

danneelss Visitor
Visitor

Re: Key Influencer Error..."Failed to Resolve Name 'AI.SAMPLESTRATIFIED'....

Same issue here. I tried with a lot of different types of data and datasources, but always receive the same error message.

 

daeverett Frequent Visitor
Frequent Visitor

Re: Key Influencer Error..."Failed to Resolve Name 'AI.SAMPLESTRATIFIED'....

Has there been a resolution for this? I have the same error.

DejanSarka Frequent Visitor
Frequent Visitor

Re: Key Influencer Error..."Failed to Resolve Name 'AI.SAMPLESTRATIFIED'....

Still the same error in May 2019 PBI Desktop update. Can MS provide any official answer?

Thanks!

daeverett Frequent Visitor
Frequent Visitor

Re: Key Influencer Error..."Failed to Resolve Name 'AI.SAMPLESTRATIFIED'....

Agreed. For detail, my error is with version 2.67.5404.801 64-bit (March, 2019).

Super User
Super User

Re: Key Influencer Error..."Failed to Resolve Name 'AI.SAMPLESTRATIFIED'....

You need to have a recent copy of the .Net framework on your machine for this visual to work. (I think either 4.7 or maybe 4.8) If you are on Win 10 you should already have this, but for Win 7 you may need to install this manually. 

DejanSarka Frequent Visitor
Frequent Visitor

Re: Key Influencer Error..."Failed to Resolve Name 'AI.SAMPLESTRATIFIED'....

Thank you, works now!
Dejan Sarka

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 61 members 1,239 guests
Please welcome our newest community members: