Rate tables and lists
A rate table (Rows of rates by criteria, such as a rate per zone and age band. A lookup returns the first row whose keys all match.Glossary →) lists rates by criteria, like a rate per zone and age band. A Lookup step, or the lookup() function in a A level of a product, such as "Third party" or "Comprehensive": the covers it includes, with their values.Glossary →, finds the first row that matches. Lists and constants holds the closed choices (zones, usages) and the fixed values (a tax rate, a minimum ) that every model of the Everything Rate needs to price one insurance product: its models, rate tables, lists of values and constants.Glossary → shares.
Who can do it
Section titled “Who can do it”Changing tables, lists and A fixed value shared by every model of a tariff, such as a tax rate or a minimum premium.Glossary → needs Rate: tariffs: Full. Reading them needs Rate: tariffs: See.
Create a rate table
Section titled “Create a rate table”- Open Rate tables, then New table.
- Choose how to start: with a “Zone” column and a “Rate” column to change, or by importing the columns and rows from a
.csvor Excel file. - Give the table a Name of the table and a key (how A step of a Rate model that finds the first row of a rate table matching its keys and copies its values.Glossary → steps name it; it cannot change later), then Create the table.
In the list, a table’s ⋯ menu, or a right click on its row, offers Open, Duplicate and Delete.
Columns and rows
Section titled “Columns and rows”Each column has a Role:
- Search by: what the lookup compares, such as a zone or an age. Its Match is an Exact value or a Range (from… to), like an age band.
- Result: what the lookup returns, such as a rate or a coefficient.
For a range column, Bounds say whether the maximum is included: with Max excluded, 18 to 25 A guarantee of a product: what is insured, with its ceilings, its excess and its waiting period for each formula.Glossary → 18 up to 24.99, so bands follow each other (18-25, 25-30); with Max included, 18 to 25 covers 25 too.
Rows are read top to bottom: the first row that matches wins. An empty Search by cell matches any value (any): put general rows (a catch-all) at the bottom, specific ones above.
Use Add a “search by” column and Add a result column; Add a row comes first above the rows, beside Filter the rows, so it stays in sight however long the table, and shows the new row; in a row’s … menu (Actions for row), Insert an empty row below, Duplicate this row, Move up, Move down or Delete this row; moving applies when the rows are not filtered. The columns share the width of the screen, so a table scrolls sideways only when it has many columns. Filter the rows finds rows in a large table. Then Save (Ctrl+S). With Live collaboration on, the table is edited together with the others who have it open and saved by itself: see Editing a model or a table together.
The rows work like a spreadsheet. Enter keeps what you typed and goes down a row (Shift+Enter up), Tab goes to the next field and, after the row’s menu, on to the next row, the up and down arrows move between rows, and Esc puts the cell back as it was. Shift with a click, a drag or the arrows selects a A piece of a page that you add, move and set up: in a Studio form, a question, a text, a picture or a section; in a Docs template, a heading, a paragraph, a table or a picture.Glossary → of cells: copy it (Ctrl+C), cut it (Ctrl+X), clear it (Delete), or fill it down from its first row (Ctrl+D). Rows copied from Excel or Google Sheets paste straight into the grid from the cell you are in (Ctrl+V), adding the rows they need; one value pasted on a block fills it. While the rows are filtered, nothing is added: what falls past the last row shown is left out, and Rate says so.
Right-click a cell for Copy, Cut, Paste, Fill down, Clear, Insert an empty row above or below, Duplicate this row, Move up, Move down and Delete this row (or Delete the … rows for the rows of a block). Right-click a column’s name to Sort the rows, smallest first or largest first (empty cells stay at the bottom, as they match any value), Insert a column before or after, Rename the column or Delete the column. Sorting changes which row a lookup finds first: check it with Check a lookup.
Undo (Ctrl+Z) and Redo (Ctrl+Shift+Z or Ctrl+Y) are in the header; in a cell where nothing is typed, the keys undo the table too. A deleted row or column says so with an Undo button. Press ? to list every shortcut.
Import and export rows
Section titled “Import and export rows”- Choose Import, then Choose a .csv or .xlsx file with a header row. Ranges are written
18..25,18-25or[18;25[; an empty cell or*in a key column matches anything. - Choose to Replace the whole table with the columns of the file, or to Keep the columns of this table and match the file to them.
- When you replace the whole table, check the Columns read from the file (key or result). When you keep the columns, pick the File column for each column of the table; only then can you tick Add the rows after the existing ones to keep the current rows. Check the preview, then Import.
Export downloads the table as a .csv file you can open in Excel. Numbers and the bounds of ranges are written as a spreadsheet in your language reads them (18,5..25 in French and Arabic, 18.5..25 in English), and the file Bringing a file of records into the suite, checked line by line before anything is saved. An import can be undone for a while afterwards.Glossary → back as it is. Use a .csv or an Excel .xlsx file, not the old .xls.
Check a lookup
Section titled “Check a lookup”Check a lookup finds the row a lookup would use: type the values to search with, then Find the row. The screen says which row matches, or that none does (a lookup step would then follow its No match exit). Leave a value empty to test a missing value.
Lists of values
Section titled “Lists of values”In Lists and constants, under Lists of values:
- Choose New list, at the top of the lists, give it a Name of the list and a key (how fields and constants refer to it). The key follows the name until you change it.
- Add Options: the Value is what the API sends and receives (for example
A), the Label is what people read (for example “Zone A”). Each value must be unique. Add an option is above the options, beside Paste from a spreadsheet. A list of any length opens at once: only the rows in sight are drawn, and from twelve options Find an option shows the options whose value, label or carried values contain what you type. Right-click a row to insert, duplicate, move or remove an option. - Values carried by each option attach numbers or texts to every option, read in formulas with a dot: each zone carries a coefficient, read as
zone.coefficient. - Paste from a spreadsheet adds many options at once from Excel or a CSV file. Before they are added, the window shows the first rows read, says whether the first row names the columns, and points out the columns left empty or left out and the cells that are not of the right kind.
A field of type Option of a list of values then takes one of the options.
Constants
Section titled “Constants”Under Constants, New constant, above the constants, adds a fixed value with its name, key and value. Each constant is one row with the same columns, Name, Value and Type, lined up on every row; click its type to change it or to write a description. Use it in any formula by its key, for example premium * (1 + taxRate): change it here once instead of in every formula.
Change a key
Section titled “Change a key”The key of a list, of a value carried by its options and of a constant is shown under its name. A new one follows its name until you change it. Choose the pencil beside the key (Change the key) to set another one: it starts with a letter and holds only letters, digits and _, and no other list, value of the same list or constant may have it. The window says where the key is used.
Once the item is saved, every formula, field and constant that names it changes with it, and the page and those models are saved at once. The message that follows has an Undo button that changes the key back. When a formula reads the value after something that is not a field of the list (for example inside map), the change is refused and names the models to change by hand first.
Save the lists and constants with Save. As everywhere in the The copy of a tariff, a form or a template that you change. Nobody outside your team uses it: calculations, respondents and documents use what you published.Glossary →, calculations change only when you publish a A frozen, numbered copy of a tariff's draft, in force from a date. Calculations use the release in force on their date.Glossary →.
Undo (Ctrl+Z) and Redo (Ctrl+Shift+Z or Ctrl+Y) are beside Save, and Ctrl+S saves; quick changes of one list or one constant, such as typing its name, are undone in one step.
When something goes wrong
Section titled “When something goes wrong”- This value does not match the column type: correct the cell (a number in a number column, a date as a date).
- Two options have the same value: each value must be unique in a list.
- (name) saved a newer version: someone saved the table while you had changes waiting. Load their version drops your changes; Keep mine… first asks, then saves yours over theirs; export your version first to keep a copy of it. With nothing waiting, their version is simply shown.
- The file could not be read: use a
.csvfile, or an Excel.xlsxfile.