cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
radhe
Advocate III
Advocate III

count rows based on reference id

Hi,

 

I have two list below mentioned.

1- Email list

in email list, there is one column RefID.

email.png

2-list is order

order.png

now i want to compare eCARID with RefID and find how many rows are in order list.

1 REPLY 1
v-yamao-msft
Community Support
Community Support

Hi @radhe,

 

Do you want to get how many rows are there in the list?

Please try using the function length to return the number of items in a string or array.

https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#l...

I have made the following flow for your reference.

After the action Get items, add a Compose action and input the following code:

length(body('Get_items')?['value'])

1.PNG

Please take a try with it to see if it will work for you.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (35,447)