I am building an OData Web Service using WebAPI and OData v4.
I am wondering if this new version of OData is capable of understanding Dimension, Measures and Cubes and is able to execute Queries from the data.
How would I be able to configure that?
From the Overview of the protocol spec you can see that:
So there isn't anything preventing you from modelling cube data using OData.
One way that I can think of is to consider every entity set as a cube, in which some properties & navigation properties of each entity are the dimensions it has. And it has a bunch of measure properties as its measures. Thus, by querying the entity set, you get the whole cube. And you can use some simple query to query it:
This is only my own simple model. For more complicated cube representation and queryability, OData V4 has this aggregation extension to help you better modelling it. You can have a look at this example data model it has to modelling cube data.