Notion's Relational Database Formula Syntax Defeats Most Users
28 posts across 8 communities in the last 30 days; 54% from r/Notion.
“So I'm trying to organize my dnd parties in my various adventuring groups and I cannot understand why the following query isn't working. list Player FROM "B. Current Projects/Daggerheart" WHERE NoteType = "Character" and Party = "VanOneShot" It's displaying four of the five…”
“Thanks for your help! I tried duplicating portions of the template, but the process is getting blocked by the backend page where the main databases are stored. Just to clarify, all the databases on this page are original to it and aren't linked from anywhere else. [re: Anyone…”
“Problem: your task database shows everything, so every morning you scroll through old stuff to find what matters today. Fix: Open your tasks database and add a new view, name it "Today". Tap Filter, choose your due date property, and set it to "Is" and "Today". Now that view…”
Users are frustrated by the limitations and unintuitive nature of Notion's database features and relational capabilities. They are attempting to build complex workflows and automations, often relying on external tools like Zapier and Make, but struggle with formula syntax, relation behavior, and overall system logic. This points to a need for more accessible and predictable database functionality.
SOURCES (60)
“Hi Everyone, Please I have been having a little struggle with this . I am trying to fetch a data from a specific field in an entity and return it as a list for a drop down field. I have an entity with a field…”
“What it is for 对记不住快捷键的新手更友好 How it should work No response References No response Checked [x] I searched the open issues for the same request.”
“Problem A data warehouse view whose query calls jev() or decide() with choice := [...] cannot be saved. The create and update API refuses it while it infers the view's columns: The yes/no form of jev() saves since 141168. Only the multiple choice form fails, so a view cannot store a label picked from a list, which is the main use for a stored classification. Follow up to 141154. Reproduce Create a view (SQL editor, or POST /api/environments/:id/warehouse saved queries/ ) with: Expected: the view”
“Problem A data warehouse view whose query calls jev() (or decide() ) cannot be saved. The create and update API refuses it at validation: The same query runs when it is saved as a SQL insight, and view materialization already has code to run jev() calls. So the scheduled job that would refresh such a view exists, but the view can never be created. This blocks storing jev() results. Today the only way to chart them is to call jev() inside each insight, which: labels the same rows again on every r”
“Is your feature request related to a problem? Please describe. I use kepano's note style (https://stephango.com/vault), where many property values are links, e.g. author: "[[Ted Chiang]]" or categories: ["[[Books]]"] . {{FIELD}} treats these values as plain text: The picker shows them with their brackets, as [[...]] . A newly typed value is written as plain text, so I have to add the brackets myself, and the {{FIELD}} call has to be wrapped in "..." in the template to keep the YAML valid. Links”
“Relationship typename is always forward sense only and there appears to be missing a reference to relationship typename reverse (or relationship typename.reverse; or did we overlook the proper syntax ?). While you can grab the reverse by switching context/perspective, that can sometimes be tedious/elaborate when having complex, deeply nested, or multiple relationships. As always seemingly simple changes ("it's just a key to an existing column") can open cans of worms/rabbitholes (display api, re”
“I want to be able to investigate and get more knowledge about my house. I would like to be able to write something along the lines of: SELECT device.name, device.battery_percentage FROM device WHERE device.battery_powe…”
“So, I would like to sort my database by a formula property that outputs the time I watched the latest episode of a show. However, what's odd is that notion is not sorting the output correctly. Does anyone know why it would sort out of order like this and how I might fix it? submitted by /u/noelle_cd [link] [comments]”
Isn't this solved by using Bases? Maybe I'm not understanding what you want but it sounds already covered by the Bases plug-in. [re: How do you deal with not having a 'date…
“people database related to a tasks database gets you most of it. add a "last talked" date and a notes field you fill right after calls, then a filter for birthdays in the next 2 weeks. the catch is notion won't pull details out of your chats, you log them yourself. if you don't want to, folk from your list syncs with email so try that first [re: is there a personal crm that works more like an ai assistant?]”
“So I'm trying to organize my dnd parties in my various adventuring groups and I cannot understand why the following query isn't working. list Player FROM "B. Current Projects/Daggerheart" WHERE NoteType = "Character" and Party = "VanOneShot" It's displaying four of the five party members and I've quadruple checked that the frontmatter is the same on all of them (the relevant front matter that is.) The character that's not displaying has the follo”
“I’d start with three small databases: Transactions, Recurring items (subscriptions and loans), and Library, with a Type field for books vs. films if the fields overlap. Put one Home page in front with linked views for this month’s spending, upcoming due dates, and currently reading/watching, rather than trying to build a giant all-purpose database. For mobile, make an expense button/template that pre-fills today and asks only for amount and category; add notes later when useful. Use it for a wee”
“💡 Feature Request - The ability to @mention database properties inline on the current page or any page using dot notation. Eg. “@This Page.cost” or “@My Task.status”. This UI could be very similar to the input field in automations and buttons with the ability to ‘Edit as formula’ too. This would be extremely useful for bringing more relevant info right into notes and creating richer page layouts and templates. [re: 🗳️ Product Feedback for Notion]”
“tbh a single master tasks database with two filtered views is the only thing that ever sticks out of the gate. once you start linking four different databases together on day one, people get scared of breaking it and just stop opening the workspace. [re: The advice I give on almost every first Notion call: build less]”
“seconding the formula approach, much cleaner than messing with rollups tbh [re: Filter Out Current Page from Database Results?]”
“There already is a database for relationships with a many to one relationship (lol) with the characters database. I don't see why one multi-relation property to characters is superior to two single-relation properties [re: Displaying Relationships on Character Profiles... I've hit a snag]”
“Glad you got it working, hope it helps! [re: How can I reference the parent page in a database button?]”
“What you're describing is a parent/child setup: one Orders table and one Order Lines table, where every line points back to its order. Spreadsheet form tools struggle because each form submission becomes one row, so a variable number of line items doesn't fit. Three options that handle it without much scripting: AppSheet on top of your Google Sheet (simplest if the data already lives in Sheets). Make tabs for Orders, Order Lines and your six lookup lists. Mark the order column in Order L”
“Keep it to five fields and attach it to the thing it decided, not a separate page nobody opens: a relation from each decision to the rule, tool, or project it affects. Then the answer to why a routing rule exists is one click from the rule itself. Write the entry in the meeting where the decision is made, or it never gets written. The part that actually saves you is a sixth field: what you expected to happen. Put a review date on it and revisit the decision when it comes up, because that's w”
“Hi! Thank you for your response. I'm just confused: Are you saying I need a third relationship database? I already have one character database (which tracks individual character info) and then the connected Relationship database (which tracks each character's relationships). Are you saying I need a second relationship database? And if so, how is the second one different from the first? [re: Displaying Relationships on Character Profiles... I've hit a snag]”
“You need a new db to show character relationships. Title, db relations 1 to character, db relationship 2 to character, type-selector for char1:char2, possibly a formula for AutoTitle with an automation so that when any other property changes, the title is updated. [re: Displaying Relationships on Character Profiles... I've hit a snag]”
“Keep a Decisions database with a short title, date, owner, project relation, and a few consistent fields: context, alternatives, decision, and why. Make a template with just two prompts—“What changed?” and “Why this option?”—and leave options or risks optional so logging takes a minute. Add a linked view on each project page filtered to that project, plus a recent-decisions view on your home page, so entries are easy to find without duplicating them. A monthly review can mark decisions as still”
“Thank you for sharing this workaround! I think I understand most of it but just to be sure.. Does this mean that the "Global Variables" database should also be related to the Wardrobe db so that I can access the "Current Outfit Page"? [re: How can I reference the parent page in a database button?]”
“A post's author is a UUID to the API. To an editor it's "Jo Smith". The edit form needs a picker that searches the target collection, shows titles, and lets you make a new author without leaving the post. What it should do A searchable picker for relationship fields, single and hasMany , showing each document's useAsTitle . Polymorphic fields let you choose the collection first. hasMany values can be reordered by dragging, and with the keyboard. "Create new" opens a drawer with the target's edit”
“Hello! I'd like to know if what I would like to do is possible! Context: I have two databases that have a two-way relation property. These are "Digital Wardrobe" database that consist of all my clothing items; and "Outfits" Database which is self-explanatory. Inside "Outfits"'s pages, is a linked gallery view of Digital Wardobe as well. This is to be used as an outfit planner What I want to do is to create a database button for Digital Wardobe so that when c”
“You're looking for a formula function in a filter, which isn't how filters work. Set the relation filter value to This Page rather than typing the name in and it'll follow the page around. [re: Filter Out Current Page from Database Results?]”
“Thanks for your help! I tried duplicating portions of the template, but the process is getting blocked by the backend page where the main databases are stored. Just to clarify, all the databases on this page are original to it and aren't linked from anywhere else. [re: Anyone else getting "We ran into an error while installing the template" today?]”
“Problem: your task database shows everything, so every morning you scroll through old stuff to find what matters today. Fix: Open your tasks database and add a new view, name it "Today". Tap Filter, choose your due date property, and set it to "Is" and "Today". Now that view only shows tasks due today, and it updates every day by itself. (The exact wording of the filter may look slightly different depending on your version.) submitted by /u/eve9656 [link”
“I can't say for sure whether that flow changed on Notion's side, but there's a workaround. Create the meeting entry from your database's template (set the properties you always fill in as defaults), then type /meeting inside that page to add the AI Meeting Notes block and start transcribing there. That way the properties are already filled and the transcript lives in the right entry, instead of an unnamed page you have to hunt for. If you do this often, a database button that cre”
“I have one tab block per page. The page is a db entry of the main meeting minutes database. In the project page I have different infos like tasks, goals, economics etc and the main db of the meeting minutes. I filter it by project so it shows only relevant notes. [re: The new page tab function is amazing?!!?]”
“That's what makes it clunky. Returning a record is OK, but then a record is basically what spreadsheets are (ala, a table). Except records are named columns in a spreadsheet, and accessing it using a dot syntax looks out of place imho.I reckon it makes more sense to return a table, and then have an index lookup in that table: e.g., index(PREVIOUS(blah_blah), column). Then you can also use an indirection to choose which column from another cell if desired.This is how google finance in sheets retu”
“Adding two practical bits to what's been said: If you mainly need the deal reachable from the second database, add a Relation between the two databases and have the same automation set that relation to "Trigger page". The new page then links straight back to the original, so the full notes are one click away and nothing gets out of sync. If you really need the content copied (Make or Workers), the pattern is: read the trigger page's blocks, then append them to the new page. Thr”
“as far as i know the add page to action only maps properties, not the body, which is why you can only get the title across. if the goal is just seeing those deals in a second place, it might be easier to keep one database and make a filtered view per stage (or use a linked database view) so nothing has to be copied. if you really need two separate pages, a workers or make type setup like the other comment said is probably the way [re: How do I automate copying both the page name AND content when”
“Notion can do this with a relation + rollup, but only if you relate the month row to a single income row. "The previous month's leftover" is the part that breaks, since lookups only pull properties from rows you actually relate, not "the row above". You can hack it with self-relations and a formula on month index, but at that point just build it in Google Sheets where B2 = A2 + last month's cell and be done. Also rename Demo 111 and INCOME 123 before you build anythin”
“Mapping rollover values in these setups is always a headache, especially when the formula keeps looping back to the same row. Youre basically trying to make a linked list where each entry grabs the result from the entry right before it in time. One way to fake it without real scripting is to structure your "Months" db so each row has a relation to the month's row. Then a rollup on that relation can pull the previous leftover into your current month's budget. Its clunky but it b”
“how are you handling permissions on the client portal pages when everything lives in one relational setup? usually sharing a filtered view ends up exposing the whole underlying database if youre not careful [re: I got tired of switching between 4 different project tools, so I built an all-in-one Notion OS for freelance work. Here is the architecture.]”
“I'd argue the relation field is the wrong place to fix this. The sort order is annoying but livable, and the filtering has a decent workaround in a view. Put a linked view of the appointment times database in your contact template, filtered to "Contact contains this page" and sorted however you like. Every new contact opens with only that person's times. My client records went to Routine after Notion, but I'd try the template first. It can't fix the picker dropdown, so”
“Similar to Creating related entries, a similar button for "Edit selected entry" could be added. It would open the same dialog with the existing values pre filled and changes are committed together in one go. Should also work for the editorial workflow.”
“this would allow for assigning an event to multiple days if it doesn't have a clear recurring schedule, without having duplicate notes. bonus points for allowing all date formats or make them customizable in settings (for example, i use dd/mm/yyyy on my devices as a regional format).”
“That button is basically what I wish every SQL client had after the third time I mistype a join condition [re: Ternlux: an open-source, local-first ETL and data analysis app that works with local LLMs]”
“I created the templates myself within the database. When creating a new database entry select the body template that you have saved. [re: People managing multiple projects and tasks in Notion, what is your setup?]”
“The rule that holds for me is one database, one default view, until a specific task actually needs another one, every extra view is upkeep because its filters and sort have to be kept in sync whenever the database changes shape. I use Notion daily, and the workspaces that turned into a project of their own were the ones where I'd built five views for information I didn't have yet, instead of adding a view the moment a real task called for it. [re: What rule keeps your Notion workspace us”
“yeah the column filtering is super handy once you get the hang of how it names properties [re: How to exclude certain backlinks from Base?]”
“We were advised to model PaymentAttempt identifiers as a sub entity ( entityList ) instead of root commands with overrideCommandNames / overrideEventNames . On @redemeine/aggregate@1.0.0 pre.7 , we can't add a new item through an entity command, so registration still has to be a root command. What we want Lynx aggregates use these wire names for identifiers, and we want to keep them: payment attempt.identifier.register.command payment attempt.identifier.registered.event The identifier list uses”
“ah yep this is one of those classic notion quirks. the page lock applies to everything nested inside, no way around it in the current setup you could try embedding the database as a linked view instead of having it live directly on the page, that sometimes gives you more flexibility. not perfect but might save you from having to jump to a whole new page every time [re: Lock page but not databases]”
“When the vCard gets imported to notion, I run check for duplicates. Not just the contact, but the information in the existing contact. I want to add something that will put old business, phone numbers, or other property replacements at the end of the notes entry. [re: Notion Contact Database]”
“Have you tried referring to them as "database properties"? A "column" could be construed to refer to part of a view. [re: Issue where Notion AI recognizes the Instructions for Notion Agent but exceeds boundaries and performs unauthorized actions.]”
“Database automations are the move here, a formula alone can't edit another property's value. Just set up one that watches the Status field and updates Remaining accordingly, then another that does the reverse. Bit fiddly at first but way cleaner than trying to hack it with buttons. [re: Automatic task resets?]”
“Not natively with the ID property but you could make a formula property that builds this string by combining the parent item ID with a count of how many sub-items are already linked maybe tricky to get the exact 1 2 3 numbering though [re: Sub item ID using the parent ID and an incremental identifier]”
“Relations always render as page chips in Notion, there's no way to flatten one into rows with all its properties laid out. Best you get is a rollup per property on the class plan, so muscle group and equipment each get their own rollup column, and it's ugly but it works. Anyone telling you to just "use a linked view" hasn't tried it with five properties. [re: Best way to set up databases?]”
“The best way to do this would be to add a linked view of your Exercise Database to your Plan Database. Make your relation between the two two-way , and create a view of your Exercise Database filtered for the plan in question in each plan page. You can automate this with a page template in your Plan Database which could add that view automatically filtered for the new plan page. [re: Best way to set up databases?]”
“Small thing but "class plan" and "class" aren't the same object here. Is one row a plan you teach several times, or one dated session? Because that decides which database is the parent and which is the relation. [re: Best way to set up databases?]”
“This is a classic toggle issue. Views in Notion can be confusing at first but once you get it, it's a game changer. Add a new Linked View of the same database, then filter that view to show only the parent pages where the "Parent item" property is empty. Keep the original database view intact for all your entries and just use the filtered one on your homepage. That way new sub-items stay tucked inside their parent pages and your homepage stays clean. [re: (New user); On the iphone,”
“Hi! I'm a bit of a newbie but had been using Tasks + Dataview for a while and am trying ITM. 2 questions: I've created a daily template that runs task queries for overdue, today, upcoming (layout calendar), completed, and I really like ITM's sidebar open to see upcoming tasks in list format -- could the day of the week be added to the date in that view? And second, is there an easy way to convert task syntax back to tasks/dataview (and back again to ITM) throughout my vault so I can”
“For linking separate entries without making a mess, try building a master database for your individual issues and then a second database for the runs. Use a Relation property to connect the two, that way you can filter a run page to see exactly which issues you own and which holes you still need. Most template makers skip the run/issue relation step and just dump everything into one flat gallery, which gets clunky fast with variant covers. [re: HELP PLEASE]”
