How to create a dashboard view