Hi @Mohsin1990
You can install Metabase on the same server as your ERPNext and use it to access your database tables. As an additional benefit, you can also use it’s default visualization methods to build a great looking dashboard.
Installation guide here