Skip to main content
Question

Airtable Feature Which Tells you Which Fields to Delete

  • February 3, 2026
  • 3 replies
  • 14 views

Forum|alt.badge.img+8

Hi! I wanted to put up a topic about a feature which would tell you which fields should be killed.

 

Airtable could develop something which ranks fields by dependencies and “data completion” (data completion being a stat calculated by “Number of Records where Data Exists” / “Total Number of Records”. This way, we could know if theres not a lot of people using this field and secondly, whether there are dependencies. Omni is great but lots of bases get too many fields over time and we have to start deleting them.

 

I want features that make my bases more elegant/simple.

3 replies

Alexey_Gusev
Forum|alt.badge.img+25

Hi,

I can share my script, written for that purpose.

 

// galex 2024  FieldList.
const inv=base.getTable(base.tables.map(t=>t.name.toString()).includes('FieldList')? 'FieldList'
: await base.createTableAsync('FieldList',[
{'name':'Name','type':'singleLineText'},
{'name':'Type','type':'singleLineText'},
{'name':'Unique','type':'number', options:{precision:0}},
{'name':'Filled','type':'number', options:{precision:0}},
{'name':'Example_5','type':'multilineText'}]))
const table=await input.tableAsync('Select table to process fields')
const flds=table.fields.map(f=>f.name.toString())
const query=await table.selectRecordsAsync({fields:flds})
const filled=fld=>query.records.map(r=>r.getCellValueAsString(fld)).filter(Boolean)
const sample=f=>filled(f).slice(0,5).join('; ')
const uniq=fld=>[...new Set(filled(fld))]
const fdata=f=>({'Name':f,'Unique':uniq(f).length,'Filled':filled(f).length,'Example_5':sample(f),'Type':table.getField(f).type})
const total=flds.map(f=>({fields:fdata(f)}))
const getlist=await inv.selectRecordsAsync({fields:[]}).then(q=>[...q.recordIds])
while(getlist.length) await inv.deleteRecordsAsync(getlist.splice(0,50))
while(total.length) await inv.createRecordsAsync(total.splice(0,50))
console.log('Done')

 


Mike_AutomaticN
Forum|alt.badge.img+28

Hey ​@JeremyK,

Not exactly all features you are looking for, but I think you’ll find “manage fields interesting”. It does provide some of such insights. 

 

 

Also, recently somone shared here a custom tool really similar to what you are looking for. I’ll make sure to look that up for you and share it here as well.

For last you might want to submit this as a feature request using this form.

 

Completely different matter, but would love to have you join the March 2026 AT Community led Hackathon! Make sure to sign up!!

 

Mike, Consultant @ Automatic Nation 
YouTube Channel 


Alexey_Gusev
Forum|alt.badge.img+25

It creates a table with data useful to clean big tables. Like “Manage fields” but with additional important data and better abilities to filter/sort/group etc. Of course it would be better to have this in native Airtable feature.