What is the API name of the system permission View Analytics on Communities pages
?
This system permission is not getting retrieved from my org.
Welcome to SSE!
Have you Enabled Analytics Features ?
https://help.salesforce.com/articleView?id=bi_help_setup_basic.htm&type=5