cancel
Showing results for
Did you mean:
Helper V

## If statement

Hi Guys,
Does anyone know how to apply the If statement on this scenario? What happened If the Requestor request for >=500000 amount the approver is team.chua@leader.ph if the amount is >=100000 the approver is team.guioguio@leader.ph. My problem is if the requestor is team.guioguio@leader.ph and amount she requested is >=100000 her approver is herself(team.guioguio@leader.ph) supposedly her direct approver is team.chua@leader.ph

this is my formula
If(
Value(TotalAmount_4.Text) >= 500000,
If(
Value(TotalAmount_4.Text) >= 100000,
Office365Users.UserProfile(Label40.Text).DisplayName
)

Thank you so much

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support

Hi @Big_S ,

Do you want to make the approver as "team.chua@leader.ph" if the Requestor is "team.guioguio@leader.ph" and the request amount is more than 100000?

Based on the needs that you mentioned, I think the If function could achieve your needs. I have made a test on my side, please consider modify your formula as below:

``````If(
Value(TotalAmount_4.Text) >= 500000,
Value(TotalAmount_4.Text) >= 100000,
If(
),
Office365Users.UserProfile(Label40.Text).DisplayName
) ``````

Please consider take a try with above solution, then check if the issue is solved.

Best regards,

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

Hi @Big_S ,

Do you want to make the approver as "team.chua@leader.ph" if the Requestor is "team.guioguio@leader.ph" and the request amount is more than 100000?

Based on the needs that you mentioned, I think the If function could achieve your needs. I have made a test on my side, please consider modify your formula as below:

``````If(
Value(TotalAmount_4.Text) >= 500000,
Value(TotalAmount_4.Text) >= 100000,
If(
),
Office365Users.UserProfile(Label40.Text).DisplayName
) ``````

Please consider take a try with above solution, then check if the issue is solved.

Best regards,

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

Hi @v-xida-msft

I will execute this! thank you so much!!!! ❤️ 🙂

Announcements

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

#### Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

#### Power Platform ISV Studio

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

Top Solution Authors
Top Kudoed Authors
Users online (52,219)