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 / How to combine 2 separ...
Power Apps
Answered

How to combine 2 separate functions concurrently

(0) ShareShare
ReportReport
Posted on by 51

Hi

 

I am trying to emulate a tab form powerapps which have few tabs: 

1.  Traveller (VarTabSelected 1), Flight (VarTabSelected 2), Hotel (VarTabSelected 3)

 

2.  I also have a column on type of travelling as choices:  Overseas or Local.  If the traveller selected Local, only particular dcolumns associated to the choice selection appear and vice versa - depending on which item is selected.  

 

How do I combine both items 1 & 2 above using OnVisible property? or is there another way to do this?

 

Can assist?

Thanks

 

 

Categories:
  • jorge.daniel Profile Picture
    1,430 Super User 2024 Season 1 on at

    Hi,

     

    Combine is the right word, really.

     

    In a control's visible property you can do something like VarTabSelected1 && VarTabSelected2

     

    With this, the control shows only if both variables are true. Is this what you are looking for?

     

    Regards.

  • FM-06070642-0 Profile Picture
    51 on at

    Hi

     

    Basically, I am looking for something like this:

    1st condition:  When I clicked on the Traveller tab, only columns 1, 2, & 3 visible.  

    2nd condition:  Column 1 is also dependent on Type of Travel which is a choice column.  Eg:  If I chose Type of Travel as A, I only want column 1 to become visible in Traveller Tab.

     

    How do I combine both conditions OnVisible property?

     

    mgfazliza_0-1660814471853.png

    Tks

     

  • Verified answer
    jorge.daniel Profile Picture
    1,430 Super User 2024 Season 1 on at

    Type of travel is a dropdown? If so, try this

     

    Traveller Tab On Select: Set(varTravellerTab, true)

    Col1 Visible: varTravellerTab && ddTravelType.SelectedText.Value = "A"

    Col2 Visible: varTravellerTab && ddTravelType.SelectedText.Value = "B"

  • Verified answer
    FM-06070642-0 Profile Picture
    51 on at

    Thanks a lot.....working great!!!!

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 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard