It depends on the Requirement and data in hand, as per the data shared there are only 3 common dates between sales and Budget TAble, so you would need to find a common field that connects both the table and create a connection and then derive Month, week , quarter etc from that common field and build your visualization accordingly.