Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

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?

15 Replies

  • danneelss's avatar
    danneelss
    Regular Visitor

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

     

    • Anonymous's avatar
      Anonymous
      Not applicable

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

      • Anonymous's avatar
        Anonymous
        Not applicable

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

        Thanks!

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI Anonymous ,

     

    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

    • Anonymous's avatar
      Anonymous
      Not applicable

      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.

  • Anonymous's avatar
    Anonymous
    Not applicable

    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:

     

  • Anonymous's avatar
    Anonymous
    Not applicable

    I have the same issue! It works fine on my colleague's desktop even though we have all the same settings/versions...

  • Anonymous's avatar
    Anonymous
    Not applicable

    Same problem here.

     

    Windows 10, .NET 4.8, Power BI feb 2020.

     

    Any ideas?

     

    Regards Arne Schram