Explanation
Validate the roles within Power BI Desktop
After you've created your roles, test the results of the roles within Power BI Desktop.From the Modeling tab, select View as.
A picture containing application Description automatically generatedThe View as roles window appears, where you see the roles you've created.Graphical user interface, text, application Description automatically generated


Select a role you created, and then select OK to apply that role.The report renders the data relevant for that role.
You can also select Other user and supply a given user.Graphical user interface, application Description automatically generated Select OK.The report renders based on what that user can see.
Reference:
https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls