You reached the limit for dashboards run as the logged-in user. - Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
aditya raoaditya rao 

You reached the limit for dashboards run as the logged-in user.

Hi Experts,

While deploying dashboards to another org , i am gettign this error called "You reached the limit for dashboards run as the logged-in user." , can anyone help me how to solve this or another way to deploy. Thanks in advance
Best Answer chosen by aditya rao
Amnon KruviAmnon Kruvi
Hi Aditya,

For performance reasons, there is a limit of how many dashboards you can have in an org that run as the logged in user, and not as a predefined user in the dashboard settings. If you can't deploy yours, it means you have reached that limit.

You'll need to find another dashboard on your production org that is set to run as the logged in user and either delete it, or set it to run as a specific user.

All Answers

Amnon KruviAmnon Kruvi
Hi Aditya,

For performance reasons, there is a limit of how many dashboards you can have in an org that run as the logged in user, and not as a predefined user in the dashboard settings. If you can't deploy yours, it means you have reached that limit.

You'll need to find another dashboard on your production org that is set to run as the logged in user and either delete it, or set it to run as a specific user.
This was selected as the best answer
Guy KeshetGuy Keshet
Hi Aditya
as you probably know, you cant usually go arounf limits
Your options are:
1. IF the user has existing dashboards in the org she/he no longer use - dlete them
2. change the running user for the dashboards you are tryong to deploy
 
aditya raoaditya rao
Hi Keshet,

Thanks for the responce ,I have retrived the package and in the running user section , i have given my name and tried to deploy but its showing same error.
 
Guy KeshetGuy Keshet
Hi Aditya
The issue is related to dymanic dashboard that are run as the logged in user, nt the running user
have a read here: https://help.salesforce.com/articleView?id=000003688&language=en_US&type=1
the help article will help you detect the 'offending' dashboards.
You need to evaluate if any of them can be removed - not that you should first change them to static reports and that you should clear the recycling bin after deleting them

There is also the queisotn of how many reports are you deploying - you might break the limit just with the amount of reports on your deployment package.
If that is the case, you need to consider if any of your packaged reports can be changed to static

if none of the above helps, the solution is $$$ - you can purchase additional limtis from Salesforce
Sakthivel MadeshSakthivel Madesh
++
Register your upvote - https://trailblazer.salesforce.com/ideaView?id=08730000000IRSu

Alternative solutions to fix, refer the salesforce article - 
Find the dynamic dashboards in my organization - https://help.salesforce.com/articleView?id=000326117&type=1&mode=1 (https://help.salesforce.com/articleView?id=000326117&type=1&mode=1)