Help

This Product Ideas board is currently undergoing updates, but please continue to submit your ideas.

When Grouping By a Formula Field - Cannot Add New Record!

cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Sam_Dcruz
5 - Automation Enthusiast
5 - Automation Enthusiast

I have my data grouped by year / month (which are formula fields generated from the date field).

In this grouped view, it is not possible to add a new record. It is crazy! The data will always be in this view and grouped like this since it is accounts for different months.

As far as i see, i have to ungroup everything to then add a record and then regroup everything to see the data in a way that makes sense, its super clunky and totally illogical.

Is there a workaround for this? i just started using the software, but if this is a real limitation, its much faster to go back to use excel as its totally broken like this.

Support please give an answer. thanks

9 Comments
Goce_Ristov
6 - Interface Innovator
6 - Interface Innovator

Yes, this is an annoyance with using a group by a formula column. The easiest I have found is to expand a record, duplicate it and then edit out the duplicated record. Which of course is not very convenient.

Justin_Barrett
18 - Pluto
18 - Pluto

You can also right-click on a record and choose the duplicate option from the popup.

Sam_Dcruz
5 - Automation Enthusiast
5 - Automation Enthusiast

Thanks for this info, it may serve as a workaround. howeverโ€ฆ how dumb is this, it allows you to duplicate a record, but not click on a plus button to make a new record, this is basic stuff and as far as im concerned quite a bug that should be fixed.

It will be a such a waste of time to delete data from duplicated records every single time i add a record, very back to frontโ€ฆ

Justin_Barrett
18 - Pluto
18 - Pluto

Itโ€™s not actually a bug. When grouping based on a field that contains manually-entered data, Airtable can safely assume that adding a new record to that group should fill that grouped field with the same data. However, when grouping is based on a calculated field, like a formula, thatโ€™s not a safe assumption because the field value is based on another field. Depending on the formula, it could be based on multiple other fields.

Going back to your example, though, letโ€™s use the single Month field as a test case. Say you had entered a date of March 1, 2019 into your date field, so the Month field becomes 3 based on the formula. You want to add a record to that group, so in theory the Month field for that new record should also be 3. However, itโ€™s a formula based on your date field, and the date field in a new record would be empty. That means the Month field would end up blank if your formula tests for a date before extracting the month, or #ERROR if it doesnโ€™t. In either case, that record would be automatically moved to its own group, which means finding that group before you can enter the correct data so that it becomes grouped with all of the March records again.

Because the Month field value canโ€™t be 3 if thereโ€™s no date, what do you want Airtable to do in this scenario? Do you want it to reverse the formula logic and enter a dummy date into the date field? If so, all that Airtable would knowโ€”if it could even reverse-engineer the formula, which is a tall order for any applicationโ€”is that the month for the date field would be March. What would the year and day be? Also consider that some users may be grouping formula fields with far more complex formulas than a simple month-from-date extraction. In the end, thereโ€™s virtually no way for Airtable to determine what to do when adding a record to a group where the group is driven by a calculated field.

Duplication of an existing grouped record is the only solution that works because it copies all existing data fields, the formula (and other calculated) fields create identical results, and the grouping stays intact.

Goce_Ristov
6 - Interface Innovator
6 - Interface Innovator

This is absolutely correct and there is no way to add a record to a group grouped by a formula. However, the issue is that there is no way to add any record at all. It wouldโ€™ve been nice to have an option to add a new record and fill all the data even if it means placing the record in itโ€™s own group just so one wouldnโ€™t have to change views to be adding new records.

Sam_Dcruz
5 - Automation Enthusiast
5 - Automation Enthusiast

I understand what you are saying, but a very simple fix for this, would be to have a new record button at the top of the screen or the bottom for example, which adds a blank new record (ungrouped) and after it is filled in with the data, then would fall into whatever group based on the criteria.
OR the new blank record could even popup so that you are forced to fill in the fields before that record is added.

The system is pretty flawed by not having this simple interface, it is rather silly having to duplicate records and then delete stuff to use them, or having to change views or ungroup items just to add a record.

Definately improvement needed to resolve this issue from the development team, it is an issue several others have complained about in the past also.

Kamille_Parks
16 - Uranus
16 - Uranus

Airtable should just put the same โ€œ+โ€ button used in Gallery views on views grouped by a formula. This will allow users to add a new record in the expanded/pop-up interface. As users type in info Airtable will automatically add it to the appropriate group.

Or it should allow us to enter new entries within any calculated group and not move the record to the appropriate until weโ€™ve clicked away. This is how reorganizing works with manual fields. Airtable already lets you temporarily change data such that the record is grouped incorrectly, and then fixes the discrepancy when the user clicks away. I think this behavior could just be extended.

Eleazar_Junsan
4 - Data Explorer
4 - Data Explorer

I have also encountered the same issue although in my case I didnโ€™t have any formula fields, but for some reasons I am not able to create new entries when group. As I have dig deeper for a solution it boils that down I have to recreate the table with the same fields one by one. I found out that the issue it is not just inclusive to formula fields but with linking to records as well.

What works for me is to reverse the linking records say for example I have:

Create link records from table 2 to table 1 -> Causes bug
Re-create link records from table 1 to table 2 -> Works like a charm

Although the above works the same, but I think the code in the background was configured differently.

I am not sure if this approach works for everybody.

Thanks

Dieu_Toan_Truon
5 - Automation Enthusiast
5 - Automation Enthusiast

Until today, there hasnโ€™t been a solution for this issue. I hope Airtable team can soon add this feature to maximise the workflow.

Thanks