Yes, this helped me a lot. I have a question though—how am I supposed to know how to use formula syntax like this in the future?
I wouldn’t have figured out to write it the way you showed (like Projects[name]). Is there a specific way to learn this? I haven’t been able to find anything online that explains WeWeb formulas at this level.
Is there a name for the type of formula syntax WeWeb uses so I can study it?
WeWeb’s documentation explains the operators, but it doesn’t show how to structure formulas like this. I’ve tried using variables instead, but nothing worked except typing it exactly the way you showed.
I really want to learn WeWeb formulas so I’m not relying on the community every time I get stuck on something like this.
Thanks again for your help — I did get it working, but I want to clarify something.
The way I originally set it up works, but I’m realizing it’s not scalable for a SaaS app because it’s hard-coded and not dynamic. It relies on fixed values (like filtering by active), which means the result is the same everywhere and doesn’t adapt per record.
As more records or relationships are added, that approach would require creating separate filters or views, which isn’t maintainable long-term.
From what I understand now, the better approach is to use something dynamic (like referencing the current item in the list), so each record calculates its own result based on its relationship data.
I’d recommend going through the variables video and the formula documentation first. Each formula documentation includes an example, which should help you better understand how and when to use it.
After that, if you’re stuck on a specific formula, you can describe the behavior you’re trying to achieve to WeWeb AI, along with the data you’re working with, and ask for a setup recommendation or help setting it up directly.
my scenario would be super admins being a business owner. Super admins can create custom named “Circles”. Circles can have clients added to them as a way to categorize the clients.