Change dashboard data source to database