Models in Stories

When you import a data file into a new story, a “private” or “embedded” model is created in the background, containing your data and dimension information.

Unlike models created on the Models page, these private models are saved with the stories, and they don't appear in the public models list on the Models page.

Refreshing a Model in a Story

You can refresh a private model inside a story by uploading another file. The contents of the uploaded file either replace, or are appended to, the existing content in the model. Follow these steps to refresh a model in a story:

  1. With a story open in Data Manipulation view (), select (Refresh Data).
  2. Choose a source file.
  3. Choose whether the new data will replace, or be appended to the existing data.
  4. Select Finish.
Publishing a Model in a Story

You can publish a model in a story to create a new public model based on the information in the private model. Reasons for publishing a private model include:

  • If you want a public model that uses the same file and the same column settings as an existing private model, you don't need to create that public model from scratch.
  • You may no longer have the original uploaded file, and therefore wouldn't be able to create a public model using that file.

Follow these steps to publish a model in a story:

  1. With a story open in Data Manipulation view (), select (Publish Model).
  2. Type a model name, and a description (optional).
  3. Select Create.

A new public model, independent of the original private model, is created, and appears in the public models list on the Models page.

The original private model remains unchanged, and the story that contains it does not reference the new public model.

Note

There may be differences between the public model and the original private model in the story:

  • The dimension member IDs of a dimension in the public model can be different from the IDs in the corresponding dimension in the model inside the story. If you create a formula in the story that references dimension member IDs, the equivalent formula in the public model may refer to different dimension member IDs. However, in charts, both models will show the same dimension member values when you choose to display member descriptions instead of member IDs (dimension description is the default option for charts).
  • Models in stories can have simple date dimensions (with drill down not enabled). After publishing, the corresponding dimensions in the public model would have dimension members represented as strings.