Forum Discussion
Key Influencer Error..."Failed to Resolve Name 'AI.SAMPLESTRATIFIED'....
Same problem here.
Windows 10, .NET 4.8, Power BI feb 2020.
Any ideas?
Regards Arne Schram
1. Can you try to double check the .Net version? I follow https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed and do (Ctrl +X, A) to open PowerShell and copy ` (Get-ItemProperty "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Release`, I got 528040, matches .Net 4.8.https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed#minimum-version
2. Open Assembly Binding Log Viewer in Windows by typing "fuslogvw" in Win Search, https://docs.microsoft.com/en-us/dotnet/framework/tools/fuslogvw-exe-assembly-binding-log-viewer
Delete all (clean), then open the PowerBI influencer visual, after that, click Refresh button in fuslogvw viewer, you should see missing dlls.
- Anonymous6 years agoNot applicable
Thanks for your reply
My .Net version is 0x00080ea8 (528040)
Fuslogvw (started via Visual Studio 2019 Developer Command Prompt v16.3.4 as admin) was and remains (Power BI started as admin) empty.
Perhaps important: Adding a categorie in Analyze seems to work, No fields in "Explain by" is returned. After adding a field in "Explain by" the error occures.
- lisahua466 years agoMicrosoft Employee
Have you hit refresh button in fuslogvw after you open powerbi and go to key influencer visual ? I mean, open fuslogvw, then open PowerBI, and drag some fields to key influencer visual.
Also, can you elaborate more? - " Adding a categorie in Analyze seems to work, No fields in "Explain by" is returned. After adding a field in "Explain by" the error occures."
You mean you change from numerical fields to categorical fields in Analyze and it fixed the AI.SAMPLESTRATIFIED cannot be resolved issue? The AI.SAMPLESTRATEFIED seems a dll loading issue and should be consistent no matter what specified in Analyze and Explain By. We need at least one field in both Analyze and Explain By to trigger the AI calculation.