Could not load type ‘Microsoft.AnalysisServices.SpAddin.ReportGallery.ReportGalleryView’

Recently, I have installed the power pivot in SharePoint 2013 and then configured the power pivot service application in the Central Administration.
I tried creating a Pivot Gallery and it is successful. When I opened the pivot gallery library, it is showing the below error: 
I am sure some feature is not activated but couldn’t find it. Then, checked the Central Administration -> System Settings -> Manage Farm Solutions -> powerpivotwebapplicationsolution

This solution should be deployed to the web application in which have created the pivot gallery.

Happy learning! Please share this post if it helps you!