Excel Catalogues per Fact Group
What this covers
A model with several fact groups appears in Excel and other XMLA tools as several catalogues: one for the whole model and one for each fact group. This article explains what each catalogue holds, how they are named, which one to connect to, and what the related refusals mean.
The idea
A PivotTable lets you drag any field next to any measure. In a model with several lines of figures, many of those combinations have no meaning: a target set by month and region cannot be shown by merchant. In the whole-model catalogue such a combination is refused when you drop the field.
A fact group catalogue shows one line only: its measures and the fields those measures can be shown by. Everything in its field list works with everything else in it, so the PivotTable behaves like one over a single-fact model.
| Catalogue | Holds | Use it for |
|---|---|---|
| Whole model | Every measure and field you are allowed to see | Comparing lines on the fields they share, for example payments against targets by month |
| One fact group | That group's measures and the fields they can be shown by | Detailed analysis of one line, down to its own fields |
The catalogues are views of the same deployed model. The numbers, the security rules and your persona's limits are the same through every one of them.
Shared fields, such as Region, can group figures from several fact groups. In the whole-model catalogue, the field lists the values visible to you across those groups. In a fact group's catalogue, it lists only that group's values. A region present in actuals but absent from budget has an empty budget figure; it does not disappear from the comparison. Values hidden by your security rules do not appear.
How the catalogues are named
| View | Catalogue name | Example |
|---|---|---|
| Whole model | tenant__project__model |
acme__p1__modelz |
| One fact group | tenant__project__model__factgroup |
acme__p1__modelz__payments |
| A persona's view | tenant__project__model__persona |
acme__p1__modelz__analyst |
| A persona's view of one fact group | tenant__project__model__persona__factgroup |
acme__p1__modelz__analyst__payments |
- The cube inside each catalogue has the catalogue's name.
- The description says it in words, for example Model Z Payments (Analyst).
- A model with one fact group is listed exactly as before: the whole model and its persona views, nothing more.
- The list is always in the same order: the whole model, its fact groups, then each persona with its fact groups.
- A persona's list holds only the fact groups that persona has at least one measure of. A group it cannot use is not listed and cannot be reached by typing its name.
Connect to a fact group catalogue
- Follow the Excel XMLA Connection Guide up to the database list.
- Choose the catalogue of the fact group, for example
acme__p1__modelz__payments, and its cube. - Build the PivotTable. The field list holds that group's measures and fields only.
A workbook can hold several connections. A common layout is one sheet per fact group for detail, and one sheet on the whole-model catalogue for the comparison between lines.
What can go wrong
| Message or symptom | Cause | What to do |
|---|---|---|
| "Model metadata is temporarily unavailable. Retry the request; Tessallite did not return an incomplete catalogue." | Tessallite could not read the model's field list at that moment. It shows no list instead of a partial one, so a missing field is never mistaken for a field that does not exist. | Refresh or reconnect. If the message stays, tell your administrator. |
| "Catalog not found" for a fact group name | The persona you connect as has no measure of that group, or the group was renamed | Pick the catalogue from the list instead of typing it. Ask the modeller if a group you expect is missing. |
| "Catalog ... is ambiguous: it fits more than one view of the model (...). Give the persona and the fact group different names." | A persona and a fact group of the same model have the same name, so one catalogue name stands for two views | The modeller renames the persona or the fact group. Tessallite does not guess between them. |
| A saved workbook points at a catalogue that is no longer listed | The fact group was removed or renamed in a later deployed version | Reconnect the workbook to the catalogue with the new name. |
| In the whole-model catalogue, a field dropped next to a measure is refused with "The measures [list] are not available by the dimensions [list] in model [name]." | The measure is not recorded by that field | Use a field the lines share, or open the fact group's own catalogue. See Questions Across Fact Groups. |
Good practice
- Give fact groups short, plain names. The name becomes part of the catalogue name users see.
- Keep persona names and fact group names different within a model.
- Use the fact group catalogue for everyday PivotTables on one line. Use the whole-model catalogue when the purpose is the comparison.
- After a fact group is renamed, tell workbook owners: a catalogue name is saved in each workbook connection.