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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Show or Hide Tab Based...
Power Apps
Unanswered

Show or Hide Tab Based on a Condition

(0) ShareShare
ReportReport
Posted on by

Hello and good morning,


I am hoping to find a solution to hide a table located in my Tab Index on my form when a condition is met.
I have a status field called DataCardValue34_1 and what I would like to do is HIDE A TAB and its underlying fields when a certain status is displayed as that field is driven by a Power Automate workflow.

ChrisL58_0-1719240850049.png

ChrisL58_1-1719240891946.png

Currently I am driving the form fields to show or hide based on the selected tab using the variable varTabSelected=1 on each fields Visibility property.

ChrisL58_3-1719241191308.png

 

Is this possible and if so can someone provide guidance?
Thank you!

 

 

Categories:
I have the same question (0)
  • Verified answer
    ChrisL58 Profile Picture
    on at

    I was able to resolve this by just removing the index value from the table when a condition was met.

    If(
        DataCardValue34_1.Selected.Value <> "Submitted in COUPA" || DataCardValue34_1.Selected.Value = "Closed/Complete",
        Table(
            {
                ID: 1,
                Label: "Broker Fee Request"
            },
            {
                ID: 2,
                Label: "Funding Team"
            },
            {
                ID: 3,
                Label: "Next Steps"
            },
            {
                ID: 5,
                Label: "Attachments"
            }
        ),
        If(
            DataCardValue34_1.Selected.Value = "New",
            Table(
                {
                    ID: 1,
                    Label: "Broker Fee Request"
                },
                {
                    ID: 3,
                    Label: "Next Steps"
                },
                {
                    ID: 4,
                    Label: "Operations Group"
                },
                {
                    ID: 5,
                    Label: "Attachments"
                }
            ),
            Table(
                {
                    ID: 1,
                    Label: "Broker Fee Request"
                },
                {
                    ID: 2,
                    Label: "Funding Team"
                },
                {
                    ID: 3,
                    Label: "Next Steps"
                },
                {
                    ID: 4,
                    Label: "Operations Group"
                },
                {
                    ID: 5,
                    Label: "Attachments"
                }
            )
        )
    )

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard