Views
A view is one way of looking at a database’s rows. A database can have many views, each with its own layout, filters, sorts and visible properties. Every view shows the same rows underneath, so a change to a row in one view shows in all of them.
Add and manage views
Section titled “Add and manage views”Views appear as tabs above the database.
- Click + after the tabs (Add a view) and pick a layout to add a view.
- Click a tab to switch to it.
- Open a tab’s menu to Rename, Duplicate or delete it (Delete view). You can also double-click a tab to rename it.
Who sees your changes
Section titled “Who sees your changes”Views belong to the database, so everyone who opens it sees the same views.
- If you can edit the database, changes to a view’s filters, sorts and settings are saved for everyone.
- If you can only view or comment, you can still change them to look at the rows your way. Your changes apply only on your screen and aren’t saved.
To give a database shown inside a page its own views, see Show an existing database inside a page.
Layouts
Section titled “Layouts”| Layout | What it shows | What it needs |
|---|---|---|
| Table | Rows and columns, like a spreadsheet | Nothing |
| Board | Cards in columns, one column per value of a property | A property to group by, such as Status or Select |
| List | One row per line, with a few properties beside the title | Nothing |
| Calendar | Rows on the days of a month | A date property |
| Timeline | Rows as bars from a start date to an end date | A date property |
| Gallery | Cards with a picture or a preview of each row | Nothing |
| Chart | Counts, sums or averages as a bar, line or donut chart, or a single number | Nothing |
| Form | A form that adds a row for each response. See Forms | Nothing |
To change a view’s layout, open View settings in the toolbar and pick one under Layout.
A board without a property to group by shows Add a Status property, which adds one for you. Calendars and timelines show at most the first 2,000 rows in the range on screen.
The toolbar
Section titled “The toolbar”| Button | What it does |
|---|---|
| Filter | Shows only rows that match rules. See Filters |
| Sort | Puts rows in order. See Sorts |
| Search | Shows rows whose title or Text properties contain what you type in Type to search…. It isn’t saved with the view |
| View settings | Layout, grouping, visible properties and the settings for each layout |
| New | Adds a row. The arrow next to it has templates |
View settings
Section titled “View settings”Click View settings in the toolbar. Which settings appear depends on the layout.
Every layout
Section titled “Every layout”Under Properties, click Hide or Show next to a property to choose which ones the view shows, or use Hide all and Show all. In a table, you can also click a column’s header and pick Hide in view.
Tables show every property by default. Other layouts start with only the short ones: Select, Multi-select, Status, Person and Date.
Groups
Section titled “Groups”Tables, lists, timelines and boards can split their rows into groups by a property’s value.
| Setting | Layouts | What it does |
|---|---|---|
| Group by | Table, List, Timeline, Board | Puts rows with the same value together. A board needs one. You can group by Select, Multi-select, Status, Person, Checkbox, Relation, Date, Created time or Last edited time |
| Sub-group by | Board | Splits each column into rows of a second property, like status columns with one row per person |
| Group dates by and Sub-group dates by | Any, when grouping by a date | Relative, Day, Week, Month or Year |
| Hide empty groups | Board, and grouped tables and lists | Leaves out groups with no rows |
On a board, open a column’s menu and pick Hide group to hide one column. Hidden columns are listed under Hidden groups at the end of the board, where you can show them again. Drag a card to another column to change its value.
| Setting | What it does |
|---|---|
| Nest sub-items by | Shows rows nested under their parent row. See Sub-items |
Calendar and timeline
Section titled “Calendar and timeline”| Setting | Layouts | What it does |
|---|---|---|
| Show by | Calendar, Timeline | The date property that places rows |
| End date | Timeline | Where each bar ends: Its own end date (the end of a date range) or another date property |
| Show weekends | Calendar | Shows or hides Saturday and Sunday |
| Show table | Timeline | Shows a table of the rows beside the bars |
Drag a row on a calendar or a bar on a timeline to change its dates. On a timeline, the Zoom menu switches between Week, Month and Quarter, and Today jumps back to the current date.
Gallery
Section titled “Gallery”| Setting | What it does |
|---|---|
| Card preview | What the top of each card shows: None, Page cover, Page content, or the files in one of the database’s Files & media properties |
| Card size | Small, Medium or Large |
| Fit image | Shows the whole picture instead of filling the card |
| Setting | What it does |
|---|---|
| Chart type | Vertical bar, Horizontal bar, Line, Donut or Number |
| X axis (Slices by for a donut) | The property that splits rows into bars, points or slices |
| Stack by | For bar and line charts, a second property that splits each bar or point |
| Y axis (Value for a number) | Count of rows, or the Sum, Average, Min or Max of a number property chosen under Of |
| Hide zero values | Leaves out bars, points or slices with no value |
The Of list offers Number properties, and formulas and rollups.
Filters
Section titled “Filters”A filter keeps only the rows that match its rules. Click Filter in the toolbar, or pick Filter on a column’s header menu.
- Click Add a rule.
- Pick a property, a condition and a value. For example: Status is Done.
- Add more rules. Choose And to keep rows that match every rule, or Or to keep rows that match any of them.
To mix And and Or, click Add a group. A group is a set of rules that counts as one rule, and it uses the opposite of the rules around it. For example, Status is Done And (Owner is Me Or Owner is empty). Remove a rule with Remove rule, or everything with Clear.
Rules that aren’t finished yet, like one without a value, are ignored until you fill them in.
Conditions by property type
Section titled “Conditions by property type”| Property types | Conditions |
|---|---|
| Title, Text, URL, Email, Phone | contains, does not contain, is, is not, starts with, ends with, is empty, is not empty |
| Number, ID | =, ≠, >, ≥, <, ≤, is empty, is not empty |
| Checkbox | is Checked or Unchecked |
| Date, Created time, Last edited time | is, is not, is before, is after, is on or before, is on or after, is within, is empty, is not empty |
| Select, Status | is, is not, is any of, is none of, is empty, is not empty |
| Multi-select, Person | contains, does not contain, has any of, has all of, has none of, is empty, is not empty |
| Relation | contains, does not contain, is empty, is not empty |
| Created by, Last edited by | is, is not, is any of, is none of |
| Files & media | is not empty, is empty, name contains |
For people, the list of choices starts with Me, which always means whoever is looking at the view. A view filtered to Owner contains Me shows each person their own rows.
Dates in filters
Section titled “Dates in filters”A date rule compares against one of these:
- Today, Tomorrow, Yesterday, One week ago, One week from now, One month ago, One month from now. These move with the calendar, so Due is before Today always means overdue.
- Exact date, a fixed date you pick.
is within takes a range instead: The past week, The past month, The past year, This week, This month, The next week, The next month or The next year.
Formulas and rollups in filters
Section titled “Formulas and rollups in filters”- A formula filters like its result: numbers as Number, true or false as Checkbox, dates as Date and text as Text.
- A rollup that gives a number filters as Number. Earliest date and Latest date rollups filter as Date.
- A Show original rollup can’t be filtered.
Click Sort in the toolbar, then Add a sort. Pick a property and Ascending or Descending. Add more sorts to break ties: rows are sorted by the first, then by the second, and so on. Click Remove sort to drop one.
You can also click a column’s header and pick Sort ascending or Sort descending.
With no sorts, rows show newest first.
Show a view in a page
Section titled “Show a view in a page”Type /database in any page and click Link a database to show one of a database’s views inside the page. See Full-page and inline databases for the details.