A user-defined subset of a cube, whereas a view is a user-defined subset of tables and columns in a relational database.