Hi,
I tried the solution but it is not working.
I added an Id column and data is in table format also.
ItemsTable datasource has been imported from 'Import from Excel' option.


Name of excel table is

I am getting the below error I am not able to add new items.
"The datasource is readonly or does not have a primary key, so function Patch can't write to it."
I tried both the formulas below
Patch(ItemsTable, Defaults(), {Source: txtItems.Text}); //Defaults() cannot be empty expects a parameter
Patch(ItemsTable, Defaults(ItemsTable), {Source: txtItems.Text});
Regards,
_arc