How to create medical revenue dashboard and lab revenue dashboard

I want to create medical sales invoice and lab test invoice but both doctype are same how i differentiate
create medical dashboard to see how many revenue generated by daily,weekly,monthly same like wise lab how to create