end userUpdated 2026-10-10

Step-by-step Excel Scenarios

What this covers

This page is a set of small lessons. Each lesson shows one thing you can do with Tessallite in an Excel PivotTable or with the Tessallite Excel add-in, one click at a time. The lessons follow tests that are run in real Excel against the demo model. Most lessons were also run on the PC used to write this page, and the pictures come from those runs. A few could not be run there; they are listed under Lessons not run for this page.

You do not need to read the lessons in order, but the first lessons are the easiest. If you are new, start at lesson 1.

Each lesson has the same parts:

Words used on this page

WordWhat it means
ModelThe description of your data that Tessallite publishes: the numbers you can use and the ways you can group them. Excel calls a model a "cube".
PivotTableAn Excel report that you build by dragging fields into four boxes. Excel fills in the numbers for you.
PivotTable FieldsThe panel on the right side of Excel that lists everything in the model. It is also called the field list.
MeasureA number that the model works out for you, such as a total amount or an average. Measures go in the Values box.
Field (dimension)A way to group a number, such as country or channel. Fields go in Rows, Columns or Filters.
MemberOne value of a field. GB is a member of the country code field.
HierarchyA ladder of levels that belong together, from wide to narrow. Year, then Month, then Day is a hierarchy. Country, then City, then Channel is another.
Expand and collapseExpand opens a member to show the level under it (the plus sign). Collapse closes it again (the minus sign).
Report filterA field placed in the Filters box. It shows as a drop-down above the PivotTable and narrows the whole report.
SlicerA panel of buttons, one for each member of a field. Click a button and the report shows only that member.
TimelineA slicer made for dates. You drag a bar to choose a range of days, months, quarters or years.
SubtotalA total for one group inside the report, such as GB Total.
Grand TotalThe total of everything on the report. It is the last row or the last column.
Time comparisonA measure that compares a period with another period, such as "prior year" or "prior month".
Calculated measureA measure you write yourself in Excel with a small formula over other measures.
Drill-throughAsking for the rows behind one number. In Excel you do it by double-clicking the number. Excel calls it Show Details.
KPIA key number with a goal and a status. The status says if the number is doing well against the goal.
Named setA ready-made list of members saved in the model, such as "Top 5 Countries by Revenue".
PersonaThe view of the model that your user is allowed to see. Two people can see different fields and different rows of the same model.
SourceThe database where the data lives. Tessallite reads it for you.

The demo model used in the lessons

The lessons use the demo model named modely. It holds about one year of payment transactions. A second small model, budget_vs_actual, is used in lessons 23 and 24.

In the PivotTable Fields panel the model is sorted into groups: Measures, KPIs, Dimensions (single fields such as account type), Time (date fields and calendar hierarchies) and Hierarchies (other ladders such as Country, City, Channel).

Excel shows each field by its display name. A formula needs the technical name. This table gives both for the fields used on this page. In the Rows box, in some column headings and on slicers, Excel shows a plain field by its technical name, for example country_code for country code. It is the same field.

Name you see in ExcelTechnical nameWhat it is
base amountbase_amountMeasure. The total amount of the transactions.
transaction counttransaction_countMeasure. How many transactions.
Average base amountavg_base_amountMeasure. The average amount of a transaction.
Maximum Base Amountmax_base_amountMeasure. The largest single amount.
Avg Transactionavg_transactionMeasure. The average transaction amount.
fee amountfee_amountMeasure. Total fees. It is the value of the Fee Income KPI.
settlement amountsettlement_amountMeasure. Total settled. It is the value of the Settlement Value KPI.
chargeback amountchargeback_amountMeasure. Total chargebacks.
Base amount prior yearbase_amount_prior_yearTime comparison. The base amount of the same period one year earlier.
Base amount prior monthbase_amount_prior_monthTime comparison. The base amount of the month before.
Account Balanceaccount_balanceMeasure. A balance: it shows the last value in time, not a sum over time.
country codecountry_codeField. Six countries: AE, DE, EG, FR, GB, US.
city namecity_nameField. Eight cities, for example Berlin, London and Manchester.
channel namechannel_nameField. Seven channels: API, ATM, Batch, Branch, Mobile, Point of Sale, Web.
device typedevice_typeField. Six device types.
account typeaccount_typeField. Five account types: CREDIT, CURRENT, LOAN, SAVINGS, WALLET.
customer segment namecustomer_segment_nameField. Six customer segments.
payment method namepayment_method_nameField. The payment method.
refund flagrefund_flagField. True or false.
source systemsource_systemField. The system the transaction came from.
business datebusiness_dateA single date field, in the Time group.
business_date Calendarbusiness_date CalendarHierarchy in the Time group: Year, Month, Day.
business date quarter hierarchybusiness date quarter hierarchyHierarchy in the Time group: Year, Quarter, Month, Day.
Geography ChannelGeography ChannelHierarchy in the Hierarchies group: Country, City, Channel.

The amounts in the demo data are refreshed from time to time, so this page describes the shape of each result (how many rows, which totals) and not every amount. Where a figure is fixed, the lesson gives it.

Your view may be smaller. The lessons were checked with a user who can see every field of the demo model (in the demo, the administrator). If you sign in as another user, your persona may show fewer measures and fewer rows. That is security working as designed. If a field named in a lesson is not in your field list, ask your administrator.

The starting point

Most lessons begin with the words "Start from the starting point". That means:

  1. Excel is open with a new blank workbook.
  2. The workbook is connected to Tessallite and the model modely is chosen. Lesson 1 shows how. The full connection page is Connect Excel via XMLA.
  3. An empty PivotTable is on the sheet and the PivotTable Fields panel is open on the right.

To add a field to a box, find it in the PivotTable Fields panel and drag it into Filters, Columns, Rows or Values at the bottom of the panel. To take a field off the report, drag it out of its box, or clear its tick in the list.

The lessons

PartLessons
Connect1 2 3 4
A first PivotTable5 6 7 8 9
Hierarchies10 11 12 13 14
Filters, slicers and the Timeline15 16 17 18
Totals19 20 21 22 23 24
Time comparisons25 26 27 28
Calculated measures29 30
Drill-through31
KPIs and model information32 33 34
Named sets35
The Excel add-in36 37
Saving and messages38 39
CUBE formulas40

1. Connect Excel to the demo model

What you will learn. How to connect a workbook to Tessallite and choose the model modely.

Why it is useful. Nothing else on this page works without a connection. A connected workbook reads live numbers from the model. Nothing is copied or pasted.

Before you start. You need Excel for Windows, the Tessallite address from your administrator (it ends with /api/v1/xmla/), and your Tessallite user name and password.

Steps

  1. Open Excel with a blank workbook.
  2. Click the Data tab.
  3. Click Get Data.
  4. Click From Database.
  5. Click From Analysis Services. The Data Connection Wizard opens.
  6. In Server name, type the Tessallite address. Keep the / at the end.
  7. Choose Use the following User Name and Password.
  8. Type your Tessallite user name and password.
  9. Click Next.
  10. In the list of databases, choose acme-demo__project1__modely (tenant, project and model; the demo uses tenant acme-demo and project project1).
  11. Click Next.
  12. If you want Excel to remember your password for this workbook, tick Save password in file.
  13. Click Finish.
  14. In the Import Data box, choose PivotTable Report and click OK.

What you should see. An empty PivotTable on the sheet and the PivotTable Fields panel on the right. On the Data tab, Queries & Connections lists one connection to Tessallite. This is the starting point for the other lessons.

If it does not look right. If the wizard says it cannot connect, check the address letter by letter, including http or https at the start and the / at the end. If the user name or password is refused, type them again; after several wrong tries the account is locked for a short time. More help is on Excel Connection Problems.

Good to know. Windows sign-in is not used. You always type your Tessallite user name and password.

2. What happens when the model name is wrong

What you will learn. What Excel shows when a connection asks for a model that does not exist.

Why it is useful. A saved connection file can hold an old model name. It is better to get a clear message at once than an empty report later.

Before you start. You only need Excel and the Tessallite address.

Steps

  1. Start a connection as in lesson 1, steps 1 to 9.
  2. Use a connection that names a model that does not exist. For example, open a saved connection file in which the model name was mistyped.

What you should see. Excel does not connect. It shows a message from Tessallite that names the model and contains the words "not found", for example a message that begins "Catalog 'does_not_exist_zzz' not found". No PivotTable is made.

If it does not look right. If you see this message for a model you expect to exist, check the spelling of the model name. Then ask your modeller if the model has been published. A model that is not published cannot be chosen.

Good to know. "Catalog" is the word Excel and Tessallite use for a model in a connection. The check happens at connection time, so you never get a connected but empty workbook.

3. Look around the field list

What you will learn. How to find measures and fields in the PivotTable Fields panel.

Why it is useful. The field list is the menu of the model. Knowing where things are saves time in every other lesson.

Before you start. Start from the starting point.

Steps

  1. Look at the PivotTable Fields panel on the right.
  2. Find the group with the sum sign. These are the Measures.
  3. In the measures, find base amount and transaction count.
  4. Scroll down to the Dimensions group.
  5. Find country code and payment method name.
  6. Type country in the Search box at the top of the panel. The list shortens to matching fields.
  7. Clear the Search box.

What you should see. The measures base amount and transaction count are in the list, and so are the fields country code and payment method name. Nothing is on the sheet yet, because no field has been placed in a box.

An empty PivotTable on the sheet and the PivotTable Fields panel on the right, listing the measures of the model modely above the Filters, Columns, Rows and Values boxes.

If it does not look right. If the panel is not there, click any cell inside the PivotTable area. If it is still missing, click PivotTable Analyze, then Field List. If a field named here is missing, your persona does not include it.

Good to know. Hover over a field to read its description. The description comes from the model, so everyone reads the same definition.

4. One model, two views

What you will learn. That each model appears twice in the connection list, and how to make a PivotTable on the second view.

Why it is useful. The full model name, acme-demo__project1__modely, is the business view. The name with __technical at the end, acme-demo__project1__modely__technical, is the technical view for modellers and power users. You can use both in one Excel session.

Before you start. Start from the starting point (connected to modely).

Steps

  1. Check that country code is in the field list. You are on modely.
  2. Click the Data tab.
  3. Click Get Data, From Database, From Analysis Services.
  4. Type the same address, user name and password as in lesson 1.
  5. Click Next.
  6. This time choose acme-demo__project1__modely__technical in the list.
  7. Click Next, then Finish.
  8. Choose PivotTable Report, pick an empty cell, and click OK.

What you should see. A second empty PivotTable with its own field list. base amount is in the field list of both views. In the technical view, the model information measure Source System is listed in the Info folder of the measures.

A PivotTable on the technical view: the field list is headed acme-demo__project1__modely__technical and base amount shows one total.

If it does not look right. If acme-demo__project1__modely__technical is not in the list, your user is not allowed to use the technical view. Use the business catalogue acme-demo__project1__modely.

Good to know. For day-to-day reports use the business catalogue acme-demo__project1__modely. The numbers of a measure are the same in both views.

5. Show one number

What you will learn. How to show a single measure with nothing else on the report.

Why it is useful. It answers the simplest question, "what is the total?", and it is the quickest check that your connection works.

Before you start. Start from the starting point.

Steps

  1. In the field list, find the measure base amount.
  2. Drag it into the Values box.

What you should see. One number on the sheet under the heading base amount. It is the total amount of every transaction you are allowed to see.

A PivotTable that is one cell: the heading base amount and one number under it, with base amount in the Values box.

If it does not look right. If the cell stays empty, click Data, then Refresh All. If Excel asks for your password, type it.

Good to know. With no field on Rows there is no Grand Total row. The one number is the total.

6. Break a number down by a field

What you will learn. How to put a field on Rows so the measure is shown for each member.

Why it is useful. "Total amount" becomes "amount for each country". This is the most common PivotTable there is.

Before you start. Start from the starting point.

Steps

  1. Drag country code into the Rows box.
  2. Drag base amount into the Values box.

What you should see. One row for each country (AE, DE, EG, FR, GB, US), each with its amount, and a Grand Total row at the bottom. You did not have to expand anything: a plain field shows all its members as soon as you place it. The Grand Total equals the single number from lesson 5.

A PivotTable with one row for each of six countries, the base amount of each, and a Grand Total row; the field is in the Rows box and base amount in the Values box.

If it does not look right. If you see only a Grand Total and no countries, click the plus sign next to the row label, or right-click the row label and choose Expand/Collapse, then Expand Entire Field.

Good to know. The Grand Total is worked out by Tessallite from the source, not by Excel adding the rows on screen. For a sum the two are the same. For an average they are not (see lesson 19).

7. Put several measures side by side

What you will learn. How to show more than one measure in the same PivotTable.

Why it is useful. You can compare the total, the count, the average and the largest amount for each country in one table.

Before you start. Start from the starting point.

Steps

  1. Drag country code into Rows.
  2. Drag base amount into Values.
  3. Drag transaction count into Values, under base amount.
  4. Look at the sheet. There are now two number columns.
  5. Drag Average base amount into Values.
  6. Drag Maximum Base Amount into Values.

What you should see. One row for each country and one column for each measure. A new item named Values appears in the Columns box; Excel adds it when there is more than one measure. Every column has its own Grand Total.

A PivotTable with one row for each country and four number columns: base amount, transaction count, Average base amount and Maximum Base Amount, with a Grand Total row.

If it does not look right. If the measures are stacked in rows and not in columns, drag the Values item from the Rows box to the Columns box.

Good to know. The total, the average and the maximum are separate measures in the model. Tessallite works each one out at the source, so the average in the Grand Total row is the true average of all transactions.

8. Put two or three fields on Rows

What you will learn. How to nest fields on Rows, and how to switch to a table layout that is easier to read.

Why it is useful. You can see amounts for each customer segment inside each country, or account type, refund flag and source system together.

Before you start. Start from the starting point.

Steps

  1. Drag country code into Rows.
  2. Drag customer segment name into Rows, under country code.
  3. Drag base amount into Values.
  4. Click any cell in the PivotTable.
  5. Click the Design tab.
  6. Click Report Layout.
  7. Click Show in Tabular Form. Each field now has its own column.
  8. To try three fields, clear the report (untick the fields), then put account type, refund flag and source system on Rows and Average base amount in Values.

What you should see. With two fields: each country, and under it each customer segment with its amount. With three fields in tabular form: one row for each combination of account type, refund flag and source system (about 60 rows), each with its average, and a Grand Total.

A PivotTable in tabular form with three columns: the country code, the customer segment name and the base amount. Each country is followed by its six customer segments.
A PivotTable in tabular form with the columns account type, refund flag and source system and the Average base amount of each combination.

If it does not look right. If a country shows no segments, it is collapsed. Click its plus sign.

Good to know. The order of the fields in the Rows box is the order of nesting. Drag a field above another to swap them.

9. A PivotTable with no number in it

What you will learn. That a report with a field on Rows and nothing in Values is a valid report: a list of members.

Why it is useful. Sometimes you only want the list: which countries exist, or which countries exist for one city.

Before you start. Start from the starting point.

Steps

  1. Drag country code into Rows. Do not put anything in Values.
  2. Look at the sheet. It lists the countries.
  3. Drag the hierarchy Geography Channel into Filters.
  4. Click the drop-down arrow of the filter above the PivotTable.
  5. Tick Select Multiple Items.
  6. Click the plus sign next to All. The countries appear.
  7. Clear the tick on All.
  8. Click the plus sign next to DE.
  9. Tick Berlin.
  10. Click OK.
  11. Click any cell in the PivotTable.
  12. Click PivotTable Analyze, then Insert Slicer.
  13. Tick city name and click OK.

What you should see. After step 2: the six countries and no numbers. After step 10: only DE, because Berlin is in Germany. After step 13: a slicer with one button for each city. Only Berlin is in full colour; the other cities are greyed, because the report filter leaves no data for them.

A PivotTable with no measure: the report filter Geography Channel is set to Berlin, the only country listed is DE, and in the city slicer only Berlin is in full colour.

If it does not look right. If the list of countries is empty, a filter is hiding everything. Open the filter and tick All.

Good to know. Tessallite never picks a measure for you. With nothing in Values, the list comes from the members of the model and from nothing else.

10. Open a calendar from years to months

What you will learn. How to use a calendar hierarchy and expand it from Year to Month.

Why it is useful. One field gives you years, months and days. You open only the part you want to look at.

Before you start. Start from the starting point.

Steps

  1. In the field list, open the Time group.
  2. Find business_date Calendar. It has three levels: Year, Month, Day.
  3. Drag business_date Calendar into Rows.
  4. Drag base amount into Values.
  5. Look at the sheet. It shows one row for each year.
  6. Right-click a year.
  7. Click Expand/Collapse.
  8. Click Expand Entire Field.

What you should see. After step 5: the years (2025 and 2026 in the demo data) and a Grand Total. After step 8: the months under each year, each with its amount. The Grand Total does not change when you expand, and it equals the total of lesson 5.

The calendar hierarchy on Rows opened from years to months: 2025 with months 10 to 12 and 2026 with months 1 to 10, each with its base amount, and a Grand Total.

If it does not look right. If nothing happens when you expand, click a year cell first so Excel knows which field you mean.

Good to know. To open only one year, click the plus sign next to it. Expand Entire Field opens every year at once.

11. Years, quarters and months

What you will learn. How to use the hierarchy with a Quarter level: Year, Quarter, Month, Day.

Why it is useful. Many reports are by quarter. This hierarchy puts the quarter between the year and the month.

Before you start. Start from the starting point.

Steps

  1. In the Time group, find business date quarter hierarchy.
  2. Drag it into Rows.
  3. Drag base amount into Values.
  4. Right-click a year, click Expand/Collapse, then Expand Entire Field. The quarters appear.
  5. Right-click a quarter, click Expand/Collapse, then Expand Entire Field. The months appear.

What you should see. First the years. Then the quarters under each year, shown as the numbers 1 to 4. Then the months under each quarter, shown as the numbers 1 to 12. At every step each row equals the total of that period in the source, and the Grand Total stays the same.

The quarter hierarchy on Rows opened twice: each year, under it its quarters, and under each quarter its months with their base amounts, and a Grand Total.

If it does not look right. If a quarter is missing, there is no data for it. The demo data starts in the last quarter of its first year, so that year shows only quarter 4.

Good to know. This hierarchy is the one used in most of the later lessons. Learn where it is in the field list.

12. A geography hierarchy and opening one country

What you will learn. How to use a hierarchy that is not a date, how to open just one member, and how to turn on totals for each country.

Why it is useful. You can look at countries, open only the country you care about to see its cities, and keep the rest closed.

Before you start. Start from the starting point.

Steps

  1. In the Hierarchies group, find Geography Channel. Its levels are Country, City, Channel.
  2. Drag it into Rows.
  3. Drag base amount into Values. The sheet shows one row for each country.
  4. Click the plus sign next to GB.
  5. Look at the rows under GB.
  6. Right-click a country, click Expand/Collapse, then Expand Entire Field. Every country opens.
  7. Click the Design tab, Report Layout, Show in Tabular Form.
  8. Click the Design tab, Subtotals, Show all Subtotals at Bottom of Group.

What you should see. After step 4: Birmingham, London and Manchester appear under GB. The other five countries stay closed. After step 6: all eight cities. After step 8: a total row for each country, such as GB Total. Each country total equals the sum of its cities, and the Grand Total equals the total of lesson 5.

The Geography Channel hierarchy on Rows with GB opened to show Birmingham, London and Manchester while the other five countries stay closed.

If it does not look right. If an opened country shows no number on its own line, that is normal. When a member is open, its number moves to its total row. Turn on subtotals (step 8) to see it.

Good to know. Double-clicking a row label does the same as its plus sign. Double-clicking a number is different: it asks for the rows behind the number (lesson 31).

13. Two hierarchies on Rows

What you will learn. How to nest one hierarchy inside another.

Why it is useful. You can see each city by year: geography first, then time, in one report.

Before you start. Start from the starting point.

Steps

  1. Drag Geography Channel into Rows.
  2. Drag business_date Calendar into Rows, under Geography Channel.
  3. Drag base amount into Values.
  4. Right-click a country, click Expand/Collapse, then Expand Entire Field. The cities appear.
  5. Right-click a year, click Expand/Collapse, then Expand Entire Field. The months appear.
  6. Click Design, Report Layout, Show in Tabular Form.
  7. Click Design, Subtotals, Show all Subtotals at Bottom of Group.

What you should see. Countries, their cities, and under each the years and months, with amounts. Each country total and each city total equals the total for that country or city in the source. The Grand Total equals the total of lesson 5.

A PivotTable in tabular form with the columns Country, City, Year, Month and base amount, with a total row under each city and each country.

If it does not look right. This report asks for many totals at once, so each change can take a few seconds on the demo data. Wait for Excel to finish before the next click.

Good to know. Set the subtotal choice once, before you expand. Then every member you open later already has its total row.

14. A hierarchy on Columns

What you will learn. How to put a hierarchy across the top and plain fields down the side.

Why it is useful. A wide table lets you compare cities side by side for each channel, device and account type.

Before you start. Start from the starting point.

Steps

  1. Drag Geography Channel into Columns.
  2. Drag channel name into Rows.
  3. Drag device type into Rows, under channel name.
  4. Drag account type into Rows, under device type.
  5. Drag base amount into Values.
  6. Click Design, Report Layout, Show in Tabular Form.
  7. Right-click a country in the column headings, click Expand/Collapse, then Expand Entire Field. The columns are now cities.

What you should see. One column for each city (eight), grouped under its country, and a Grand Total column at the far right. Down the side there is one row for each combination of channel, device type and account type that has data (7 channels, 6 device types, 5 account types). Every cell holds the base amount for that row in that city.

A wide PivotTable with the cities of the Geography Channel hierarchy across the top and channel, device type and account type down the side, with a base amount in every cell.

If it does not look right. If the columns still show countries, the hierarchy is not expanded: repeat step 7. The table is wide; use the scroll bar at the bottom to reach the Grand Total column.

Good to know. Each cell is worked out at the source for the city in its column. Excel does not add anything up on screen.

15. A report filter

What you will learn. How to place a field in Filters and use it to narrow the whole report.

Why it is useful. One table can answer "amount by country" for all customers, or for one customer segment, with one click.

Before you start. Start from the starting point.

Steps

  1. Drag country code into Rows.
  2. Drag base amount into Values.
  3. Drag customer segment name into Filters.
  4. Look above the PivotTable. A drop-down named customer segment name shows All.
  5. Click the drop-down arrow.
  6. Click one segment, for example Retail.
  7. Click OK.
  8. To try another filter, drag payment method name into Filters as well.

What you should see. After step 4: the same countries and amounts as lesson 6, with the filter above them. After step 7: the same countries with smaller amounts, for the chosen segment only. The Grand Total is the total for that segment.

A report filter named customer segment name, set to All, above a PivotTable of base amount by country.

If it does not look right. If the report goes empty, the chosen member has no data together with your other filters. Open the filter and choose All.

Good to know. A report filter is applied at the source. Excel does not download rows and then hide them.

16. Pick several periods in a report filter

What you will learn. How to use a date hierarchy as a report filter and tick members at different levels: a whole year and a single month of another year.

Why it is useful. You can total "all of 2025 plus January 2026" without building a special report.

Before you start. Start from the starting point.

Steps

  1. Drag base amount into Values.
  2. Drag business date quarter hierarchy into Filters.
  3. Click the drop-down arrow of the filter.
  4. Tick Select Multiple Items.
  5. Click the plus sign next to All. The years appear.
  6. Click the plus sign next to 2026. Its quarters appear.
  7. Click the plus sign next to quarter 1. Its months appear.
  8. Clear the tick on All.
  9. Tick 2025.
  10. Tick month 1 under 2026, quarter 1.
  11. Click OK.
  12. Open the filter again. Your ticks are still there and the list is open down to the ticked month.

What you should see. The filter list opens like a tree: years, then the quarters of a year, then the months of a quarter. It never lists every day at once. After step 11 the number is the total of all of 2025 plus January 2026. The filter shows (Multiple Items).

Other combinations work the same way: all of 2026 plus December 2025, or two single months such as November 2025 and February 2026. Each gives the total of exactly the ticked periods.

The report filter business date quarter hierarchy shows (Multiple Items), and below it is one base amount: the total of the ticked periods.

If it does not look right. If the number did not change, check that the tick on All is cleared. With All ticked, everything is included.

Good to know. Ticking a year includes all its quarters and months. You do not need to tick them one by one.

17. Slicers

What you will learn. How to add slicers, and what a greyed button means.

Why it is useful. A slicer is a filter that everyone can see and click. It is good for reports that other people will use.

Before you start. Start from the starting point.

Steps

  1. Drag country code into Rows.
  2. Drag base amount into Values.
  3. Click any cell in the PivotTable.
  4. Click PivotTable Analyze, then Insert Slicer.
  5. Tick country code and click OK. A slicer with one button for each country appears.
  6. Click Insert Slicer again.
  7. Tick business date, Geography Channel (tick its levels) and city name. Click OK.
  8. In the city name slicer, click Berlin.
  9. Look at the country code slicer.

What you should see. After step 5: six country buttons, all in full colour, because every country has data. After step 7: a slicer for each field you ticked; the total on the report has not changed. After step 8: the report shows only Berlin's amount. In the country slicer, DE stays in full colour and the other countries are greyed.

A city slicer with Berlin selected; the PivotTable beside it shows only the country DE and its base amount.

If it does not look right. To clear a slicer, click the small funnel with a cross at its top right corner. To select several buttons, hold Ctrl while you click.

Good to know. A greyed button means "no data for this member with the other selections". Tessallite decides that from the measures in Values and from nothing else. You can still click a greyed button; the report is then empty.

18. A Timeline for a range of dates

What you will learn. How to insert a Timeline and choose a date range, also across the end of a year.

Why it is useful. Dragging a bar is the fastest way to say "from November to February".

Before you start. Start from the starting point.

Steps

  1. Drag business date quarter hierarchy into Rows.
  2. Drag base amount into Values.
  3. Click any cell in the PivotTable.
  4. Click PivotTable Analyze, then Insert Timeline.
  5. Tick business date and click OK. A Timeline appears.
  6. In the Timeline, check that the level at the top right says MONTHS.
  7. Click NOV of 2025.
  8. Drag the right edge of the bar to FEB of 2026.
  9. Read the Grand Total.
  10. Now click JAN of 2026 and drag the right edge to MAR of 2026.
  11. Expand the Rows to months (as in lesson 11).
  12. Click the drop-down arrow on the row labels, tick only month 1 and month 3 of 2026, and click OK.
  13. Double-click the amount of January 2026.

What you should see. After step 9: the Grand Total is the total from 1 November 2025 to 28 February 2026. The range crosses from one year into the next without any problem. After step 10: the total from 1 January to 31 March 2026. After step 12: only January and March are on the report, and the Grand Total is those two months. After step 13: a new sheet with one row for each day of January, with the year, quarter, month and day in front and the amount last. The days add up to the January amount.

A Timeline on business date with the bar covering November 2025 to February 2026; the PivotTable shows the base amount of 2025 and 2026 inside that range and their Grand Total.

If it does not look right. If the list in step 5 does not offer the field you want: a Timeline works on a single date field such as business date. The Year, Quarter, Month hierarchies are for Rows, Columns and Filters; Excel does not accept them as the source of a Timeline. If your demo data has other dates, choose a range inside your data.

Good to know. The Timeline and a selection on the report both apply. The report shows only what passes both.

19. Subtotals of an average

What you will learn. How to turn on subtotals for one field, and why a subtotal of an average is not the average of the rows above it.

Why it is useful. A wrong average is an easy mistake to make by hand. Tessallite gives the true average for each group.

Before you start. Start from the starting point.

Steps

  1. Drag account type into Rows.
  2. Drag channel name into Rows, under account type.
  3. Drag Average base amount into Values.
  4. Right-click an account type cell, for example CREDIT.
  5. Click Field Settings.
  6. Under Subtotals, choose Automatic and click OK.
  7. Click Design, Report Layout, Show in Tabular Form.

What you should see. Each account type with its channels and the average for each. Five subtotal rows: CREDIT Total, CURRENT Total, LOAN Total, SAVINGS Total and WALLET Total. Each subtotal is the average of all transactions of that account type. The Grand Total is the average of all transactions.

Average base amount by account type and channel in tabular form, with the subtotal rows CREDIT Total, CURRENT Total and LOAN Total between the groups.

If it does not look right. If you add up the channel averages of one account type and divide by the number of channels, you will not get the subtotal. That is correct: channels with more transactions count for more.

Good to know. Never average the averages. An average total must be worked out from all the rows behind it, and that is what Tessallite does.

20. Subtotals on for one field and off for another

What you will learn. How to keep subtotals for one field and switch them off for another field on the same report.

Why it is useful. A long report is easier to read when only the outer field has total rows.

Before you start. Start from the starting point.

Steps

  1. Drag channel name into Rows.
  2. Drag device type into Rows, under channel name.
  3. Drag base amount into Values.
  4. Click Design, Report Layout, Show in Tabular Form.
  5. Right-click a channel name cell, click Field Settings, choose Automatic under Subtotals, click OK.
  6. Right-click a device type cell, click Field Settings, choose None under Subtotals, click OK.

What you should see. The seven channels, each with its six device types: 42 detail numbers. The report keeps its total rows and they are filled in. At least 48 cells hold a number.

Base amount by channel name and device type in tabular form, with a total row under each channel and none for device type.

If it does not look right. If the total rows are blank, check step 5: the subtotal setting belongs to the field whose cell you right-clicked.

Good to know. Each field has its own subtotal switch. Changing one does not change the other.

21. An average by any field

What you will learn. That an average measure can be grouped by any field, and its rows and Grand Total are right.

Why it is useful. You do not have to know how the model is tuned for speed. If you can see a field, you can group by it.

Before you start. Start from the starting point.

Steps

  1. Drag channel name into Rows.
  2. Drag Average base amount into Values.
  3. Add a new sheet (the plus sign at the bottom of Excel).
  4. Make a second PivotTable there: click Insert, PivotTable, From External Data Source, Choose Connection, pick the Tessallite connection, click Open, then OK.
  5. Drag business date quarter hierarchy into Rows.
  6. Drag Avg Transaction into Values.

What you should see. On the first sheet: the average amount for each of the seven channels, and a Grand Total that is the average of all transactions. On the second sheet: the average transaction for each year, and a Grand Total that is the average over all years.

Average base amount for each of the seven channels, with a Grand Total.
A second sheet with Avg Transaction for each year of the quarter hierarchy, with a Grand Total.

If it does not look right. If the Grand Total looks different from the average of the rows, that is expected (see lesson 19).

Good to know. Tessallite keeps ready-made summaries to answer faster. They change only the speed. They never decide which fields you can combine or which number you get.

22. The same measure twice, and Show Values As

What you will learn. How to place one measure in Values twice and show the second copy in another way, for example as a percentage of the total.

Why it is useful. You see the amount and its share side by side.

Before you start. Start from the starting point.

Steps

  1. Drag business date quarter hierarchy into Rows.
  2. Expand it to quarters (right-click a year, Expand/Collapse, Expand Entire Field).
  3. Drag base amount into Values.
  4. Drag base amount into Values a second time.
  5. Click the second copy in the Values box and choose Value Field Settings.
  6. In Custom Name, type base amount again and click OK.
  7. Right-click any number in the second column.
  8. Click Show Values As.
  9. Click % of Grand Total.
  10. Repeat steps 7 and 8 and try the other choices in the table below. When Excel asks for a Base field, choose Quarter. When it asks for a Base item, choose (previous).

What you should see. After step 4: two columns with the same numbers. After step 9: the first column still shows amounts and the second shows each quarter as a percentage. The percentages add up to 100%.

Base amount by quarter in two columns: the first shows amounts, the second, named base amount again, shows each quarter as a percentage of the Grand Total, adding up to 100.00%.
Show Values AsWhat the second column shows
% of Grand TotalEach row as a share of the Grand Total.
% of Column TotalEach row as a share of the total of its column.
% of Parent Row TotalEach quarter as a share of its year.
IndexHow important a cell is within its row and column totals.
Difference FromThe amount minus the amount of the quarter before.
% Difference FromThe same difference as a percentage.
Running Total InThe amounts added up quarter after quarter.
Rank Smallest to Largest1 for the smallest quarter.
Rank Largest to Smallest1 for the largest quarter.

If it does not look right. To go back to plain amounts, right-click a number, click Show Values As, then No Calculation.

Good to know. Excel works out a Show Values As column itself, from the numbers Tessallite sent for the measure. The first, plain column is always the figure from the source.

23. A measure built from two other measures

What you will learn. How a measure that the modeller built from other measures behaves in a PivotTable. The example is variance, which is payments minus budget.

Why it is useful. "Are we above or below budget?" is one field, not a formula you have to type.

Before you start. Connect a new workbook as in lesson 1, but choose the model budget_vs_actual.

Steps

  1. Drag region into Rows.
  2. Drag variance into Values.

What you should see. One row for each region and a Grand Total. In the demo data the variance of EMEA is -300 (payments 200, budget 500), the variance of NA is -250 (payments 50, budget 300), and the Grand Total is -575 (payments 325, budget 900).

If it does not look right. If you see only a Grand Total, expand the region field (lesson 6).

Good to know. The Grand Total is total payments minus total budget, worked out at the source. The modeller wrote the subtraction once, in the model, so every tool shows the same variance.

24. Measures from two fact groups in one PivotTable

What you will learn. How to show two measures that come from different tables of facts, joined only by a shared field.

Why it is useful. Payments and budget are stored apart. You can still put them next to each other by region.

Before you start. Use the workbook from lesson 23, connected to budget_vs_actual, with an empty PivotTable.

Steps

  1. Drag region into Rows.
  2. Drag payment_amount into Values.
  3. Read the Grand Total.
  4. Drag budget_amount into Values.

What you should see. After step 3: total payments, 325 in the demo data. After step 4: two columns, payments and budget, for each region, and a Grand Total row with both totals (325 and 900). The Grand Total row is filled in, not an error.

If it does not look right. A region can have a number in one column and an empty cell in the other. That means there is a budget and no payments for it, or the other way round.

Good to know. A fact group is a table of facts with its own measures. The two measures can share a report because both know the field region.

25. Prior year by year, and a balance

What you will learn. How a prior-year measure reads by year, and how a balance measure totals.

Why it is useful. "This year against last year" is one of the most asked questions. A balance (how much is in the accounts) must not be added up over time, and Tessallite takes care of that.

Before you start. Start from the starting point.

Steps

  1. Drag business date quarter hierarchy into Rows. Leave it at years.
  2. Drag base amount into Values.
  3. Drag Base amount prior year into Values.
  4. Read the two columns.
  5. Add a new sheet and make a second PivotTable on the same connection (lesson 21, step 4).
  6. Drag Account Balance into Values. Read the number.
  7. Drag country code into Rows.

What you should see. After step 4: on the row of 2026, the prior-year column shows the base amount of 2025. The first year has no year before it, so its prior-year cell is empty. The Grand Total of the prior-year column is empty too. After step 6: the balance on the last business date that has a value. After step 7: each country shows its balance on its own last date. The Grand Total is the balance on the last date overall. It is not the sum of the country rows.

Base amount and Base amount prior year by year: the 2026 row shows the 2025 amount in the prior-year column; the 2025 row and the Grand Total of that column are empty.

If it does not look right. An empty prior-year cell is not a mistake and not a zero. It means there is no earlier period to compare with.

Good to know. A time comparison has a value only on a row that has a period. The Grand Total has no period, so it stays empty. The other measures on that row keep their totals.

26. A time comparison needs a period

What you will learn. What happens when you put a prior-year measure on a report that has no date, and how to put it right.

Why it is useful. The message is the most common one for time comparisons. Knowing what it means saves a support call.

Before you start. Start from the starting point.

Steps

  1. Drag country code into Rows.
  2. Drag base amount into Values.
  3. Drag Base amount prior year into Values. Read the message and click OK.
  4. Look at the report. It still shows base amount by country.
  5. Drag business date quarter hierarchy into Rows.
  6. Drag Base amount prior year into Values again. This time it is accepted.
  7. Now drag business date quarter hierarchy out of Rows. Read the message and click OK.

What you should see. At step 3 Excel shows a message from Tessallite: "Time-comparison measure 'base_amount_prior_year' needs a date field on the report. Add a period of its date (for example the year or the month) to the report." The report keeps the layout it had. After step 6: two number columns and no error cells. At step 7 the same message appears and the report keeps the date and its numbers.

If it does not look right. The message is not a fault. Do what it says: put a period (a year, quarter, month or day of the business date) on Rows or Columns, then add the measure.

Good to know. "Prior year" means "the year before this one". With no date on the report there is no "this one", so Tessallite does not guess. A period chosen in a Timeline also counts (lesson 27).

27. A Timeline can give the period

What you will learn. That a Timeline alone is enough for a time comparison, with no date on Rows or Columns.

Why it is useful. You can keep a simple report by country and still compare with last year for the days you choose.

Before you start. Start from the starting point.

Steps

  1. Drag country code into Rows.
  2. Drag base amount into Values.
  3. Click PivotTable Analyze, then Insert Timeline.
  4. Tick business date and click OK.
  5. Set the level of the Timeline to DAYS.
  6. Choose two days at the end of your data. In the demo data, choose 5 and 6 October 2026.
  7. Drag Base amount prior year into Values.

What you should see. For each country, the base amount of the two chosen days, and in the second column the base amount of the same two days one year earlier (5 and 6 October 2025). The Grand Total row shows both totals.

A PivotTable by country with base amount and Base amount prior year, and a Timeline on business date set to 5 and 6 October 2026.

If it does not look right. If you get the message from lesson 26, the Timeline has no range selected. Select a range first, then add the measure. If the prior-year column is empty, there is no data one year before your range; choose later days.

Good to know. Set the Timeline before you add the time comparison. The order matters, because the measure needs its period at the moment you add it.

28. Prior month on a report of years

What you will learn. Why a prior-month measure shows empty cells on a report of years, and how to make its numbers appear.

Why it is useful. Empty cells can look like a fault. Here they are the right answer, and one expand fixes it.

Before you start. Start from the starting point.

Steps

  1. Drag business date quarter hierarchy into Rows. Leave it at years.
  2. Drag base amount into Values.
  3. Drag Base amount prior month into Values.
  4. Look at the second column. It is empty.
  5. Expand the Rows to quarters, then to months (lesson 11).

What you should see. After step 4: base amount shows a number for each year and a Grand Total. The prior-month column is empty on every row and in the Grand Total. There is no message. After step 5: each month shows, in the second column, the base amount of the month before it. The first month of the data stays empty, because there is no month before it.

Base amount and Base amount prior month by year: the prior-month column is empty on both years and in the Grand Total.
The same report opened to months: each month shows the base amount of the month before in the prior-month column, and the first month is empty.

If it does not look right. If the column is still empty at month level, check that you placed Base amount prior month and not another measure.

Good to know. A year has no "month before", so a prior-month figure has no meaning on a year row. Open the report to the level the measure compares by, and the numbers appear.

29. Write your own calculated measure

What you will learn. How to write a calculated measure in Excel, and how empty cells are treated in it.

Why it is useful. You need "base amount minus chargebacks" for one report and it is not in the model. You can add it yourself in a minute.

Before you start. Start from the starting point.

Steps: a simple difference

  1. Drag Geography Channel into Rows.
  2. Drag base amount into Values.
  3. Drag chargeback amount into Values.
  4. Click PivotTable Analyze.
  5. Click OLAP Tools.
  6. Click MDX Calculated Measure.
  7. In Name, type Net amount.
  8. In the large box, type [Measures].[base_amount] - [Measures].[chargeback_amount].
  9. Click Test MDX. Excel says the syntax is correct. Click OK.
  10. Click OK to close the box. The new measure is in the field list and in Values.
  11. Expand the Rows to City, then to Channel.

Steps: empty cells

  1. On a new sheet, make a PivotTable on the same connection (lesson 21, step 4).
  2. Drag business date quarter hierarchy into Rows. Leave it at years.
  3. Drag base amount, Base amount prior year and Base amount prior month into Values.
  4. Make a calculated measure named Above prior year with the formula [Measures].[base_amount] - [Measures].[base_amount_prior_year].
  5. Make a second one named Prior year less prior month with the formula [Measures].[base_amount_prior_year] - [Measures].[base_amount_prior_month].

What you should see. In the first report, on every row (country, city and channel), Net amount equals the first column minus the second. In the second report, on the first year the prior-year cell is empty, so Above prior year equals the base amount: the empty cell counted as zero. The prior-month column is empty on every year (lesson 28). So Prior year less prior month equals the prior-year amount on later years, and it is empty on the first year, where both parts are empty.

A PivotTable with base amount, chargeback amount and the calculated measure Net amount for each country; Net amount is the first column minus the second.

If it does not look right. If Test MDX reports an error, check the square brackets and the technical names. Use the names from the table at the top of this page, not the display names.

Good to know. In a calculated measure you write in Excel, one empty part counts as zero, and two empty parts give an empty result. The measure is saved in your workbook, not in the model. If everyone needs it, ask your modeller to add it to the model.

30. A calculated measure over a time comparison

What you will learn. What #VALUE! means in a calculated measure that uses a prior-year measure, and how to make it show numbers.

Why it is useful. "Growth against last year" is a natural measure to write yourself. It needs a period, like every time comparison.

Before you start. Start from the starting point.

Steps

  1. Drag country code into Rows.
  2. Drag base amount into Values.
  3. Make a calculated measure (lesson 29, steps 4 to 10) named Above prior year with the formula [Measures].[base_amount] - [Measures].[base_amount_prior_year].
  4. Look at the new column.
  5. Drag business date quarter hierarchy into Rows.

What you should see. After step 3 the measure is created without any message. After step 4: the base amount column shows its numbers and its Grand Total as before. Every cell of Above prior year shows #VALUE!. After step 5: the #VALUE! cells are gone and the column shows numbers for the periods.

A PivotTable by country where base amount shows numbers and every cell of the calculated measure Above prior year shows #VALUE!.

If it does not look right. #VALUE! here means "this calculation needs a period and the report has none". Add a year, quarter or month of the business date to Rows or Columns.

Good to know. The prior-year measure placed directly on a report with no date gives a message (lesson 26). Used inside your own calculated measure it gives #VALUE! in that column only, so you can still create the measure first and add the date after.

31. See the rows behind a number

What you will learn. How to double-click a number to see what is behind it, and why the new sheet sometimes shows transactions and sometimes the next level down.

Why it is useful. When a number looks odd, the rows behind it explain it. This is safer than writing a second query by hand.

Before you start. Start from the starting point.

Steps: detail rows

  1. Drag business date (the single date field in the Time group) into Rows.
  2. Drag base amount into Values.
  3. Double-click the Grand Total number. A new sheet opens.
  4. Go back to the PivotTable sheet.
  5. Double-click the number of the first day. Another new sheet opens.

Steps: the next level down

  1. Go back to the PivotTable sheet. Drag business date out of Rows.
  2. Drag business date quarter hierarchy into Rows and expand it to months (lesson 11).
  3. Click the drop-down arrow on the row labels and tick only two months, for example November 2025 and February 2026. Click OK.
  4. Double-click the number of the first month.

What you should see. After step 3 of the first part: a sheet of transactions, one row each, with ten or more columns such as payment_reference, merchant_name, country_code and the base amount. The first line of the sheet names the measure and says how many rows were returned. The Grand Total has far more rows behind it than Excel asks for, so the sheet holds the first rows only (1,000 by default). After step 5: the transactions of that day. When the sheet holds all of them, their amounts add up to the number you double-clicked. After step 4 of the second part: one row for each day of that month, with the year, quarter and month in front, then the day, then the amount. There is no payment column, because these are days and not transactions. The days add up to the month.

A new sheet made by Show Details: a heading that names the measure and the day, then one row for each transaction with columns such as payment_reference, business_date, country_code, city_name and merchant_name.

If it does not look right. If Excel says it cannot show details for the selection, you double-clicked a total that covers several ticked members. Double-click one of the rows instead. If a column you need is missing from the detail rows, ask your modeller; the modeller chooses the drill-through columns.

Good to know. A number on one hierarchy, above its lowest level, opens the next level down. A number on plain fields, on the lowest level, or on the Grand Total opens the detail rows. A number that sits on two hierarchies at once opens the detail rows. For such a cell Tessallite adds a notice to its answer that says the cell is on more than one hierarchy and names them. Excel does not display that notice, so in Excel you see only the detail rows. To go one level down in one of the hierarchies, expand it with its plus sign. A Timeline range still applies to what you get (lesson 18).

32. A KPI table: value, goal and status

What you will learn. How to show a KPI with its value, its goal and its status.

Why it is useful. A manager wants three things at a glance: the number, the target, and "are we on track?".

Before you start. Start from the starting point. Your persona must be allowed to see the KPI's measure.

Steps

  1. In the field list, open the KPIs group.
  2. Open the folder Sales Performance.
  3. Open Fee Income. It has Value, Goal and Status.
  4. Tick Value.
  5. Tick Goal.
  6. Tick Status.
  7. Open Settlement Value and tick its Value, Goal and Status too.

What you should see. Six numbers in a row and no row labels. For Fee Income: the fee amount, the goal (2,671,000 in the demo model) and the status. For Settlement Value: the settlement amount, the goal (135,911,000 in the demo model) and the status. A status is the number 1 (good), 0 (in between) or -1 (bad). The column headings are the names of the measures behind the KPI, for example fee amount, Fee Income Goal and Fee Income Status.

A KPI table with three numbers in one row: fee amount, Fee Income Goal and Fee Income Status, where the status is 1.

If it does not look right. If the KPIs group is empty, your persona cannot see the measures the KPIs are built on. A KPI is listed only for people who are allowed to see its value.

Good to know. The status is the model owner's decision, not Excel's guess. Green means what the model owner decided green means, the same in every tool.

33. A KPI by country

What you will learn. That a KPI value can be broken down by a field, and that its goal and status cannot.

Why it is useful. It explains two messages you may meet when you mix KPIs and fields.

Before you start. Start from the starting point.

Steps

  1. Drag country code into Rows.
  2. In the KPIs group, open Sales Performance, Fee Income, and tick Value.
  3. Look at the report.
  4. Tick Goal. Read the message and click OK.
  5. Tick Status. Read the message and click OK.

What you should see. After step 3: the fee amount for each country and a Grand Total that equals the total of the source. At step 4 a message from Tessallite: "KPI goal member 'Fee Income Goal' was requested with a dimension breakdown. A KPI goal is one target for the whole model, so query the goal without a dimension breakdown; only the KPI value can be broken down by dimension." At step 5: "KPI status member 'Fee Income Status' was requested with a dimension breakdown. Governed KPI status returns one value per KPI, so query the status without a dimension breakdown, or use the underlying measure." The report keeps the value column.

If it does not look right. The messages are not faults. Take the field off Rows to see goal and status (lesson 32), or keep the field and show the value only.

Good to know. A goal is one target for the whole model. Showing it next to every country would repeat one figure many times and look like a target for each country, which it is not.

34. Model information

What you will learn. How to show who owns the model, where its data comes from and when it was refreshed.

Why it is useful. Before you trust a number you want to know how fresh it is.

Before you start. Start from the starting point.

Steps

  1. In the measures, open the folder Info.
  2. Tick Owner.
  3. Tick Source System.
  4. Tick Last Refreshed.
  5. Tick Data Refreshed.
  6. To see the message, clear the report, drag country code into Rows, then tick Owner.

What you should see. After step 5: one row with the values. Source System and Last Refreshed always have a value. Owner is the person who last published the model. Data Refreshed can be empty until the model's data has been refreshed for the first time. At step 6 a message from Tessallite: "Info measure '_info_owner' was requested with a dimension breakdown. Model information (last refreshed, source system, owner) is one value for the whole model, so query it without a dimension breakdown."

Two model information values in one row: Source System and Last Refreshed.

If it does not look right. If you get the message, take every field off Rows and Columns. Model information is shown by itself.

Good to know. Model information is one value for the whole model. It never changes by country, date or any other field.

35. Named sets

What you will learn. How to use a named set, a ready-made list of members saved in the model.

Why it is useful. "Top 5 Countries by Revenue" is always the current top five. You do not build or update the filter yourself.

Before you start. Start from the starting point.

Steps

  1. In the field list, find the folder Geography and the set Top 5 Countries by Revenue. Sets have their own small icon.
  2. Drag the set into Rows.
  3. Drag base amount into Values.

What you should see. Five rows, one for each of the five countries with the most transaction amount, each with its base amount. In the demo data the five are DE, IT, US, NL and AE.

The named set Top 5 Countries by Revenue on Rows: five rows, DE, IT, US, NL and AE, each with its base amount.

The demo model has four sets you can use in a PivotTable:

SetFolderWhat it lists
Top 5 Countries by RevenueGeographyThe five countries with the most transaction amount.
Top 10 Channels by VolumeChannelsThe busiest channels by transaction count. The demo has seven channels, so all seven are listed.
Busy Card-Entry ModesChannelsCard-entry modes with more than 1,000 transactions.
Top 5 Account Types by ValueAccountsThe five account types with the most transaction amount.

If it does not look right. If a set is missing from your field list, it is built on a measure your persona does not include; ask your administrator. Lists that the model keeps as fixed SQL lists are not offered in the PivotTable field list.

Good to know. A named set works out its members each time the report refreshes, so the list is always the current top five.

36. Add-in formulas in cells

What you will learn. How to put a live Tessallite number in any cell with a formula, using the Tessallite Excel add-in.

Why it is useful. A formula fits anywhere: a title, a small table, a dashboard. It needs no PivotTable.

Before you start. The Tessallite add-in must be inserted in the workbook and you must be signed in, with the model modely selected in the Tessallite panel. Lessons 1 to 3 of Step-by-step Excel Add-in Scenarios show how, one click at a time.

Steps

  1. In cell A1, type =TESSALLITE.DIAG() and press Enter.
  2. In cell B1, type =TESSALLITE.VALUE("modely","base_amount") and press Enter.
  3. In cell B2, type =TESSALLITE.VALUE("modely","transaction_count") and press Enter.
  4. In cell B3, type =TESSALLITE.MEMBERVALUE("modely","base_amount","card_entry_mode_name","Chip") and press Enter.
  5. In cell B4, type =TESSALLITE.KPI("modely","Average Transaction Value","value") and press Enter.
  6. In cell B5, type the same formula with "goal" in place of "value".
  7. In cell B6, type the same formula with "status".
  8. In cell B8, type =TESSALLITE.VALUE("modelx","base_amount") and press Enter. This names a different model on purpose.
  9. Save the workbook. Close Excel completely. Open the workbook again.
  10. Press Ctrl+Alt+F9 to recalculate everything.

What you should see. A1 shows a line of text about the add-in's health. B1 is a number equal to the total of lesson 5. B2 is the number of transactions. B3 is the base amount for the card-entry mode Chip only, so it is smaller than B1. B4, B5 and B6 are numbers: the KPI value, its goal (2,000 in the demo model) and its status (1, 0 or -1). B8 shows #VALUE!. After step 10: the cells still hold their formulas, and they show the same numbers as before you saved.

A named list can be shown with =TESSALLITE.LISTBYID(...). It fills the cells below the formula with the members of the list, one in each cell, as text. Lesson 8 of Step-by-step Excel Add-in Scenarios shows it with a picture.

A sheet with the results in column B and the formula of each in column C: the base amount, the transaction count, the base amount for Chip, the KPI value, goal and status, and #VALUE! for the formula that names modelx. Below them is the health check line and its formula. The Tessallite panel is open on the right.

If it does not look right. If every formula shows #NAME?, the add-in's functions are not loaded in this workbook. Insert the add-in again from Insert, My Add-ins. If B8 is the only cell with #VALUE!, everything is working: a formula that names another model than the one selected never returns a number from the wrong model.

Good to know. The results are real numbers, not text. You can add them, chart them and use them in other formulas. A workbook saved with these formulas works when it is opened later, also in a new Excel session. Step-by-step Excel Add-in Scenarios has a lesson for each formula.

37. A PivotTable inserted by the add-in

What you will learn. What the add-in puts in your workbook when you insert a local PivotTable from its Report Builder.

Why it is useful. You get an ordinary Excel PivotTable without setting up a connection.

Before you start. The add-in is inserted and you are signed in, as in lesson 36.

Steps

  1. Open the Tessallite panel.
  2. Open Report Builder.
  3. Put the measure base amount in the values zone.
  4. Put the field account type in the rows zone.
  5. Choose the insert action for a local PivotTable.
  6. Right-click any sheet tab and click Unhide to see the list of hidden sheets. Click Cancel.

What you should see. A PivotTable on your sheet with the account types and the base amount of each. The base amount is a sum, not a count. In the list of hidden sheets there is a sheet named Pivot Data. It holds a table whose name starts with _tsl_data_, with a column account type and a column base amount. Every cell of the base amount column is a number.

The Tessallite panel on the right side of Excel, on its Analyse tab: the zones Values, Rows, Columns and Filters, a toolbar, and the sections Measures, KPIs, Named lists, Dimensions and Hierarchies.

If it does not look right. If the PivotTable counts rows and does not add amounts, tell your administrator; the amount column must hold numbers.

Good to know. The sheet is hidden so that nobody sorts or edits the rows the PivotTable depends on. Hidden is not the same as protected: anyone who can edit the workbook can unhide it. Local PivotTables accept measures that add up; use an inserted table for averages and time comparisons. Step-by-step Excel Add-in Scenarios teaches the rest of the Tessallite panel.

38. Saving and reopening a workbook

What you will learn. What is kept when you save a workbook with Tessallite PivotTables, and what happens when you open it again.

Why it is useful. You build a report once and use it every week. You need to trust that it opens as you left it.

Before you start. Have any PivotTable from the earlier lessons on screen.

Steps

  1. Click File, then Save As.
  2. Choose a folder, type a name, keep the type Excel Workbook and click Save.
  3. Close Excel completely.
  4. Open the workbook again.
  5. Click any cell in the PivotTable. The PivotTable Fields panel opens with your fields in their boxes.
  6. Click Data, then Refresh All, to get fresh numbers.

What you should see. The workbook opens straight away, without a repair message and without waiting on an hourglass. The connection is still there. The PivotTable has the same fields in the same boxes. After Refresh All, a field on Rows still lists all its members (for example the five account types).

A saved workbook after it was opened again: the calendar hierarchy on Rows is still expanded to months and base amount is still in Values.

Saving and reopening is tested for these kinds of report:

What is on the sheetExample
A calendar hierarchy, expandedLesson 10
A geography hierarchy, expanded, with subtotalsLesson 12
A KPI tableLesson 32
Date fields with a TimelineLesson 18
A blank workbook, a workbook with only a connection, an empty PivotTableThe starting point
One measure, or one field, by itselfLesson 5; account type, channel name or refund flag alone on Rows
One, two or three plain fields with a measure, also in tabular form and expandedLessons 6, 7 and 8; account type with channel name or refund flag and Average base amount
A plain field together with a date field, and two date fields togetheraccount type with business date; business date with transaction ts
Two measures with a fieldaccount type with base amount and fee amount
A named set on RowsLesson 35
A PivotTable started from an Office Data Connection (.odc) fileOpen the file, add fields, save

The original walkthrough ran every row except the last two, and Refresh All on a plain field. The later checks below also passed named-set persistence. Opening an Office Data Connection file remains untested on this PC.

Try formulas and a PivotTable together. Put account type on Rows and base amount in Values. In spare cells, enter =CUBEMEMBER("tessallite_xmla","[Measures].[base_amount]") and =CUBEVALUE("tessallite_xmla","[Measures].[base_amount]"). Replace tessallite_xmla with your workbook's connection name from Data > Queries & Connections. Refresh the PivotTable and recalculate the formulas. The formula total and PivotTable Grand Total must agree for the same model, persona and filters. Save, close Excel completely, reopen and repeat. Both the layout and the formulas must survive; a saved picture of the old values is not enough. This combined workflow passed in real Excel.

If it does not look right. If Excel asks for a password when you refresh, type your Tessallite password. To avoid the question, tick Save password in file when you make the connection (lesson 1, step 12); only do this for workbooks you keep private. If Excel offers to repair the workbook, do not save over your file. Close without saving and tell your administrator.

Good to know. Excel saves the report layout, formulas and cached results. The numbers you see after opening can be from the last refresh. Click Refresh All and recalculate to bring them up to date.

39. What the messages mean

What you will learn. What each Tessallite message or special cell means, and what to do.

Why it is useful. A message is Tessallite telling you why it did not show a number. It never shows a number that could mislead you.

What you seeWhat it meansWhat to doLesson
"Catalog '...' not found ..." when connectingThe connection names a model that does not exist or is not published.Check the model name. Ask your modeller if the model is published.2
"Time-comparison measure '...' needs a date field on the report. ..."A prior-year or prior-month measure is on a report with no period.Put a year, quarter, month or day of its date on Rows or Columns, or select a range in a Timeline. Then add the measure.26, 27
Empty cells in a time-comparison column, on every rowThe report shows a level above the one the measure compares by, for example years for a prior-month measure.Expand the hierarchy to that level (months).28
An empty time-comparison cell on the first period or on the Grand TotalThere is no earlier period, or the row has no period.Nothing. This is the right answer.25
#VALUE! in a calculated measure you wroteThe formula uses a time comparison and the report has no period.Put a period on Rows or Columns.30
"KPI goal member '...' was requested with a dimension breakdown. ..."A KPI goal is one target for the whole model.Take the field off the report, or show the KPI value only.33
"KPI status member '...' was requested with a dimension breakdown. ..."A KPI status is one value for each KPI.Take the field off the report, or use the measure behind the KPI.33
"Info measure '...' was requested with a dimension breakdown. ..."Model information is one value for the whole model.Show model information with no field on Rows or Columns.34
A greyed slicer buttonThat member has no data with the other selections.Clear the other selection, or leave it.17
#VALUE! in a TESSALLITE. formula that names another modelThe formula names a model that is not the one selected in the add-in.Select the model the formula names, then refresh.36
#NAME? in every TESSALLITE. formulaThe add-in's functions are not loaded in this workbook.Insert the add-in again from Insert, My Add-ins.36
A field, KPI or named set is not in your field listYour persona does not include it, or does not include the measure it is built on.Ask your administrator.3, 32, 35

Good to know. After a message, Excel keeps the report as it was before your last change. You do not have to rebuild anything.

40. A CUBE set, count and ranked members

What you will learn. How to put an ordered set of account types in a cell, count its members and return each member's amount.

Why it is useful. A formula report can keep a chosen business order instead of silently sorting its labels.

The idea. CUBESET describes the set. CUBESETCOUNT counts it. CUBERANKEDMEMBER picks a member by position. CUBEVALUE asks for the measure at that member.

Before you start. Connect to modely through XMLA. Find the connection name in Data > Queries & Connections. The checked workbook used tessallite_xmla; substitute your own name in every formula below. These are Excel's built-in CUBE functions.

Steps

  1. On an empty sheet, enter these formulas in the named cells.
CellFormula
A1=CUBESET("tessallite_xmla","{[Dimensions].[account_type].[CURRENT],[Dimensions].[account_type].[CREDIT]}","Two account types")
A2=CUBESETCOUNT(A1)
B1=CUBERANKEDMEMBER("tessallite_xmla",A1,1)
C1=CUBERANKEDMEMBER("tessallite_xmla",A1,2)
B2=CUBEVALUE("tessallite_xmla",B1,"[Measures].[base_amount]")
C2=CUBEVALUE("tessallite_xmla",C1,"[Measures].[base_amount]")
  1. Wait for the values, then press Ctrl+Alt+F9 to recalculate.
  2. Compare B2 and C2 with an account type / base amount PivotTable under the same connection, persona and filters.
  3. Save as .xlsx, close Excel completely and reopen the saved file.
  4. Refresh and recalculate again. Check the formulas in the formula bar as well as the displayed values.

What you should see. A2 is the number 2. B1 is the text CURRENT and C1 is CREDIT, in that order. B2 and C2 are numbers that agree with the corresponding PivotTable rows. The order, count, formulas and amounts remain correct after fresh reopening. The real-Excel check also compared both amounts with an independent calculation from the source.

If it does not look right. #NAME? here usually means a misspelled built-in function; these formulas do not require the Tessallite add-in. A connection or member error needs the exact connection name and member unique name. Do not replace an error or a missing amount with zero. If the two labels reverse, check the order inside the braces in A1.

Good to know. The set is deliberately ordered CURRENT before CREDIT. Alphabetical order would change the report. The amounts can change when the data or your permitted view changes.

Checks completed on 10 October 2026

Real Excel on the Windows test PC passed the original ten analytical checks, including the later successful average/subtotal, period/balance and named-set checks. Separate new checks passed the combined CUBE/Pivot refresh and fresh reopening workflow in lesson 38, and the set/count/ranked-member workflow in lesson 40. Numeric checks used independent source calculations. This does not mean every lesson on this page was rerun.

The Excel add-in has its own successful formula, spill, saved-workbook, cold-open and pending model-switch checks. See Step-by-step Excel Add-in Scenarios. The Power BI checks are documented separately in Step-by-step Power BI Scenarios.

Lessons not run for this page

The table below retains the limits and failed attempts of the original 9 October walkthrough. The dated successful checks above supersede only the workflows they explicitly cover. The Office Data Connection file and pane-built local PivotTable remain untested here.

The lessons follow tests that run in real Excel. On the PC used to write this page, these parts could not be run. They are written from what the tests check, and have no picture.

LessonWhat was not runWhy
4Changing from one view to the other inside one connection. Opening the technical view with a connection of its own was run.The test step that changes the view did not finish on this PC.
14Subtotal rows under the plain fields. The table itself was run and is in the picture.The test expects total rows that were not on the report.
23, 24The whole lesson.The data of the model budget_vs_actual was not loaded on the test system.
32, 35That a KPI or a named set is hidden from a user whose persona does not include its measure.On the test system the second test user is allowed to see those measures.
35The Grand Total under a named set, and saving a workbook with a named set.The set showed its five rows and no Grand Total row, and the test stopped there.
36Steps 9 and 10 (save, close, open again). Steps 1 to 8 were run and are in the picture, laid out as a small table.The test tool worked in a workbook that a person had open, and it never saves or closes such a workbook.
37The whole lesson. The picture shows the panel only.The test tool can photograph the Tessallite panel but cannot click in it, and the test needs a workbook that a person saves once from the panel.
38Saving a report started from a connection file.The test opens a connection file that this PC does not have.
39A picture of a message.The test tool receives each message as text. Excel shows no message box that could be photographed.

Lesson and test reference

This table is for engineers. It maps each lesson to the automated real-Excel scenario files that check it, in tessallite/tests/excel-xmla/scenarios/.

LessonScenario files
101-connection
209-error-cases
302-cube-browse
408-multi-catalog, 10-semantic-layer
503b-measure-only
603-pivot-basic, 14-collapse-expand
711-pivot-combinations, 12-aggregations
815-multi-dim-rows, 18-three-dimension-persistence
941-pivot-without-measure
1004-drilldown, 13-hierarchies, 21-hierarchy-persistence
1133-date-quarter-hierarchy-rows
1225-hierarchy-explicit-geo
1326-calendar-x-geography
1428-level-set-columns-flat-rows-subtotals
1505-slicer, 07-mdx-edge
1635-report-filter-date-hierarchy-multiselect
1739-slicer-administrator
1834-timeline-date-range
1919-average-two-dimension-subtotals, 17-average-two-dimension-persistence
2029-flat-member-set-beside-subtotals
2143-non-additive-measure-any-dimension
2236-measure-twice-show-values-as
2331-composite-variance
2432-drill-across-grand-total
2544-time-variant-and-balance-match-source
2642-period-measure-without-date
2746-timeline-gives-a-time-comparison-its-period
2847-time-comparison-above-its-level-shows-empty-cells
2938-calculated-measure-empty-operand, 38-calculated-measure-empty-values
3045-calculated-measure-over-period-measure-without-date
3137-drill-through-detail-rows, 34-timeline-date-range
3220-kpi-field-discovery, 20-kpi-persistence, 24-kpi-presentation
3323-kpi-dimensional-value
3422-info-metadata, 22-info-breakdown-refused
3527-named-sets-discovery, 27-named-set-in-pivot
3630-addin-01-custom-functions, 30-addin-02-save-reopen, 30-addin-03-cold-open
3730-addin-04-report-builder-pivot
38every 16-* file, 17-average-two-dimension-persistence, 18-three-dimension-persistence, 20-kpi-persistence, 21-hierarchy-persistence, 25-hierarchy-explicit-geo, 27-named-set-in-pivot, 40-timeline-date-fields-save-reopen
3909-error-cases, 22-info-breakdown-refused, 23-kpi-dimensional-value, 42-period-measure-without-date, 45-calculated-measure-over-period-measure-without-date, 47-time-comparison-above-its-level-shows-empty-cells, 30-addin-01-custom-functions
38, 4028-cube-and-pivot-refresh-persistence, 29-cube-set-ranked-member-persistence