Hi All,
I want to compare 100 items in excel with 100000 records in dataverse and If any value from empid column in excel matches with empid column values in dataverse. Update the row.
So for that let me know the flow without apply to each.
Manually I checked and I have one value (for eg: 1234) in excel which is appearing 7 times in dataverse records.
First approach
==========
1) I converted excel data with Parse_JSON
2) Used Select1 with one column "CNO" from Parse_JSON
3) List records in dataverse
4) Used Select2 with one column "CNO" from List records in dataverse
5) Now I used Filter array with From as "Select2" and below item()?['CNO'] equals to body('Select2')?['CNO'] but it is throwing error.
The execution of template action 'Filter_array' failed: The evaluation of 'query' action 'where' expression '@contains(item()?['CNo'], body('Select_2')?['CNo'])' failed: 'The template language expression 'contains(item()?['CNo'], body('Select_2')?['CNo'])' cannot be evaluated because property 'CNo' cannot be selected. Array elements can only be selected using an integer index.
In Second Approach
=============
1) I converted excel data with Parse_JSON
2) Used Select1 with one column "CNO" from Parse_JSON
3) List records in dataverse
4) Used Select2 with one column "CNO" from List records in dataverse
5) Now I used Filter array with From as "Select2" and below body('Select2') contains gave here hardcoded value (eg;1234) which is available in excel and it gave length of filter array as 735 which is wrong.
Please help in creating this flow correctly.
Thanks.