When you ask why isn't Notion working, the issue often stems from a syntax error in a database formula rather than a platform outage. Many dashboard bugs involve mismatched property types, broken relations, or date logic errors. You can resolve these by auditing your field syntax and validating your rollup logic.
Diagnosing the Core Syntax Error
A broken formula stops your dashboard from rendering data correctly. The red error badge in a Notion cell is your first diagnostic tool. It indicates a logic or syntax failure within that specific property.
Start by opening the formula editor for the flagged field. Check for missing parentheses or typos in function names. Notion formulas are case-insensitive in their function calls, though property names are not.
- Verify Syntax: Ensure every function has a closing parenthesis. A missing
)is a common beginner error. - Check Property Names: Confirm that referenced properties exist in the database and are spelled exactly right.
- Test Simple Inputs: Temporarily hardcode a value like
1to see if the surrounding logic holds up.
Fixing Broken Relation and Rollup Logic
Dashboards often fail when the data pipeline between pages breaks. This happens when a relation field points to a database that no longer exists or has been renamed. A rollup field then tries to calculate a sum or count from an empty relation, returning zero or an error.
Navigate to the relation property and verify it points to the correct database. If you recently restructured your teamβs workspace, old links might dangle.
- Open the relation property settings and confirm the target database is active.
- Check the rollup field to ensure it references the correct relation property.
- Validate that the rollup mode (e.g., Sum, Count) matches the data type of the target property.
If the relation is empty, the dashboard view will show blank rows. Fix the relation first, then re-save the rollup.
Debugging Notion Date Formula Mistakes
Date properties can be finicky in formula contexts. When Notion is not loading dates correctly, it is often due to a format mismatch. Notion functions typically handle date objects internally, so passing text strings directly into mathematical operations without conversion can cause errors.
Common errors include passing a text string instead of a date object into a calculation. You cannot do basic arithmetic on a date without converting it to a compatible numeric format.
- Use dateNow(): This returns a timestamp. Subtract a duration to find past dates.
- Format Output: Use the
dateOnlyorformatDatehelpers where available to display the result in a human-readable format. - Check Timezones: Notion generally displays dates in your local timezone. If your team is global, document the timezone assumption in your dashboard docs.
If a date formula returns an error or unexpected value, you may have attempted to perform arithmetic on a value that is not a number.
Validating Data Types in Database Fields
Notion is not strictly typed like Excel, but formula engines are. Mixing types can cause failures. A text property containing a number will not calculate in a rollup unless explicitly converted.
Check your property types in the database header. Ensure that the source of your rollup is a Number property, not a Text property. If it is text, create a new Number property and use a formula to convert the text to a number using the number function or similar logic.
Boolean properties also have specific quirks. In formulas, true is 1 and false is 0. This is useful for counting completed tasks but can cause confusion if you expect text output.
| Property Type | Common Error | Fix Method | Impact on Dashboard |
|---|---|---|---|
| Number | Text stored in number field | Use number() conversion | Rollups return zero |
| Date | Missing timezone context | Standardize on UTC or local | Due dates appear shifted |
| Relation | Broken link to deleted page | Repoint to active database | Empty dashboard rows |
| Boolean | Treated as text string | Use logical operators directly | Filters stop working |
Preventing Future Dashboard Formula Bugs
Prevention is easier than debugging. Adopt a strict naming convention for your properties. Use clear, singular names like Start Date instead of Date 1. This reduces syntax errors when writing complex formulas.
Create a test database for your team. Before pushing a new formula to the main operational dashboard, test it in a sandbox. This prevents a single broken view from disrupting your entire teamβs workflow.
Document your logic. Use Notion comments within the database to explain why a specific formula uses certain logic. This helps new team members understand the structure and spot errors faster.
Finally, keep your Notion updated. Platform changes can deprecate certain formula functions. Regularly review the official changelog to stay ahead of breaking changes.
Frequently Asked Questions
Why does my Notion dashboard show blank rows?
Blank rows usually indicate a broken relation. The dashboard is querying a database that has no valid links to the main page. Check your relation properties to ensure they point to active records.
How do I fix a 'NaN' error in a date formula?
A 'NaN' error indicates you are trying to perform math on a non-number value. Ensure your date property is converted to a compatible numeric format or use dedicated date functions before performing calculations.
Can I undo a broken formula in Notion?
Yes, Notion has a global undo function. Press Ctrl+Z (or Cmd+Z on Mac) immediately after the formula breaks. If you saved the page, you may need to restore a previous version from the history menu.