Thanks for your question.
I believe that's not possible as you need "Device Group View" permission in order to see the "Analytics" tab that also has as dependency "Device Templates View" and "Device Instances View" . See how to Create a custom role doc.
Please let me suggest that you follow Azure IoT support and help options and vote for the feature request on IoT Central here: https://feedback.azure.com/forums/911455-azure-iot-central/suggestions/39997120-show-hide-features-via-custom-roles . Others will vote on your request and we will prioritize it's implementation.
Source: MSDN