Embedded analytics based on virtual data models