web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Multi Approver box for...
Power Apps
Unanswered

Multi Approver box for Cost Centres

(0) ShareShare
ReportReport
Posted on by 1,176

Hi,

I have various app that uses an approval process.  The process looks up the cost centre and the amount being required and returnes the approvers name and email.

Some Cost Centres have multiple approvers for the same value.  How can I have these returned and in a drop down box, for example they are presented and can be chosen by the user.

Currently it only returns the first name in the list

ClarkyPA365_0-1707409665763.png


'Click for Approver' formula 
Set(gblApprover, First(SortByColumns(Filter('SAP - Approvers1', Amount > Value(AmountReqd_Value.Text) && 'Cost Centre' = CostCentre_Value.Text), "Amount")));

So for the Approver name and Approver email I would like if multiple approvers a way of selecting the correct approvers details to enable the Approval flow send the approval to the correct person.

Categories:
  • Michael E. Gernaey Profile Picture
    53,975 Super User 2026 Season 2 on at

    Hi @ClarkyPA365 

     

    You should leverage a Gallery and in the Gallery Items properly place your formula. Except the one you have only returns 1 because you have a First function.

     

    Remove the First function and it will return them all. But of course you cannot just use drop downs because its messy. Since you have to keep the name and email in sync.

     

    Remove the drop downs. Use a Gallery with a Check Box so they can select which approvers to send too. Or simply show them and pass that information to your flow.

     

    Now as for making your flow work with Multiple approvers, thats easy butyou dont have your flow here but just take all the email addresses of the approvers, concat them together and make that the email line for the Approvers and make sure you have the right setting (All approvers must approver, first approver, or whatever your Approval action setting is)


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Chris1968 Profile Picture
    1,176 on at

    Hi @FLMike 

    Thank you for your reply.

    The Gallery, with selection of Approvers, seems the best solution for this scenario. I'll give that a try.

    I was think of allowing the user to type the name and email address in for their 'Approver' and then have this Look-up to the approvers list and only allow if it matches.....

  • Michael E. Gernaey Profile Picture
    53,975 Super User 2026 Season 2 on at

    @ClarkyPA365 

     

    Thanks if you dont mind marking that as the answer and if you get stuck reply here and I will help you through.

  • Chris1968 Profile Picture
    1,176 on at

    Hi,

    I was going to ask you for some assistance....😊

    This is my SP list where the Cost Centre and amounts and the approver name / emails are stored.

    ClarkyPA365_0-1707488653727.png

    These are test cost centre's
    Certain people can authorise up to a certain amount 
    Up to £500.00, up to £20,000.00, etc...
    Some Cost Centres have multiple authorisers for the same amount

    3 authorisers for up £500.00, 4 authorisers for up £20,000.00 and 1 authoriser for up to £50,000.00 & £100,000.00 
    This is were I need the drop down of names for the specific authorisers names and corresponding email address for the values that is being requested. 

    As you can see the names or split between two columns would like these to show as the full name in the list

    I've tried by adding a Combo box and adding this 

    Filter('SAP - Approvers1', Amount > Value(AmountReqd_Value_1.Text) && 'Cost Centre' = CostCentre_Value_1.Text)

    I get the first names but it doesn't filter the names down depending on the amount I enter.  All the names for that Cost Centre, irrespective of the amount appear...

  • Chris1968 Profile Picture
    1,176 on at

    Hi @FLMike 

    I've connected the app to the Excel spreadsheet and added a column that contain the Emails for the approvers.

    Managed to get the Gallery to display the approver and emails but they will only appear if I put the exact amount that is in the AMOUNT2 column within the Excel, table.

    When using SharePoint as the datasource I could within the formula allow values that were within the approvals limits for that approver.....  

    SharePoint -

    OnSelect for the Click for Approver Button

    Set(gblApprover, First(SortByColumns(Filter('SAP - Approvers1', Amount > Value(AmountReqd_Value.Text) && 'Cost Centre' = CostCentre_Value.Text), "Amount")));

    Excel

    ClarkyPA365_0-1707914805993.png


    I've tried the same formula but it's not working???


Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard