To find column and set it as boolean

my datatable is like thisjsoninput ordinal id is common here in ordinal 2 quantity is missing,json.xlsx (7.6 KB)

i want to find missing column and mark it as undefined value in collectiontest1 (1).xaml (28.7 KB)