I have a json table with 2 entries for roles and mail, I would like to retrieve in this table only the mail related to the admin role.
Here is what my json returns
Solved! Go to Solution.
Hi again @AlexisVossloh
If you're looking to get the first email each time, you would use something like:
Hi again @DamoBird365 , my project is not easy
my content is dynamic so for example I have 10 mails and 10 roles, 5 admin roles, I would like to have an output table with the 5 mails that have an admin role
Select is made up of the following:
Output of Filter array is...
If there are multiple emails, you can use the select action to return an array of emails and join as before in the solution provided Solved: Re: approval problem with dynamic data mail - Power Platform Community (microsoft.com)
Note I have used  instead of first(). Different way to achieve same thing. This video https://youtu.be/6nJSUNh579w is worth watching if you want to learn a bit about arrays.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.