Can we automatically set dashboard variables based on logged in user?

I am working on a dashboard for a service company. The company will have employees that use the dashboard and see all customer data. There will also be customers that use the dashboard, but should see only data for their company. There are a few thousand customer companies.

On the highest level dashboard, you can select a company and all the panels on that dashboard and drill-downs will be for the selected company.

My question, is there any way to automatically set a specific company if a customer logs in or set to ‘All’ if an employee logs in? I haven’t been able to find a way to do this yet.

Thanks for any help you can provide.

Found answer here: