Hi @Anonymous
Do you format your Excel as Table and then store it in one plateform for example One Drive?
What is the data type in your excel Table?
There is no wrong with your formula expression and it test OK on my side.
Data Source: Excel Table in my OnDrive,ID(general)

Label2.Text=First(Sort(Table1_1,ID,Descending)).ID+1
ID_DataCard1.Update=Label2.Text (ID:General)
ID_DataCard1.Update=Value(Label2.Text) (ID:Number)
You can also consider to use patch,
Patch(Table1_1,Defaults(Table1_1),{ID:Label2.Text}) (ID:General)
Patch(Table1_1,Defaults(Table1_1),{ID:Value(Label2.Text)}) (ID:Number)

Best Regards.
Yumia