cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Help with text change formula

Hi all,

 

Can anyone help me with a quick fix I am struggling with please?

 

I am trying to have a text input that changes depending what I have set a context to but cant seem to get it working,

 

This is what I have:-

 

If(AttGall = 1, "Vehicle Pre-Use Attachments - " &Gall_VPU.Selected.'Shift Reference')||
If(AttGall = 2, "Airside Pass Checks - " & Gall_APC.Selected.'Shift Reference')

 

I know it will be simple, I just cant see it.

 

Many thanks

 

Gaz

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Help with text change formula

@Gazbeer 

I would suggest using the SWITCH function like this...

 

Switch(
    AttGall,
    1, "Vehicle Pre-Use Attachments - " &Gall_VPU.Selected.'Shift Reference',
    2, "Airside Pass Checks - " & Gall_APC.Selected.'Shift Reference'
)

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

2 REPLIES 2
Highlighted
Super User III
Super User III

Re: Help with text change formula

@Gazbeer 

I would suggest using the SWITCH function like this...

 

Switch(
    AttGall,
    1, "Vehicle Pre-Use Attachments - " &Gall_VPU.Selected.'Shift Reference',
    2, "Airside Pass Checks - " & Gall_APC.Selected.'Shift Reference'
)

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Highlighted
Helper II
Helper II

Re: Help with text change formula

Excellent,

 

Thanks a lot!

 

Gaz

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,304)