Load the sample Metric View for these code samples
Before starting, make sure you have Tabular Editor 3 open and have a Tabular model opened, or create a new model.
This how-to uses a sample e-commerce Metric View representing sales data with three dimension tables (product, customer, date) joined to a fact table (orders).
Use either method below to load it (either "download and load" or "copy and deserialize"),
then follow along with the rest of this how-to.
You can run either command in the same C# script as the rest of this example,
or you can run it first, in its own C# script, and the rest of the example in its own C# script.