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 / block report if there ...
Power Apps
Unanswered

block report if there is an item with a spacific status

(0) ShareShare
ReportReport
Posted on by 132

Hi,

I have built an app where i have a Gallery and Edit form based a aharepoint list. I let the users edit the records and then i navigate them to a preview of the items with a DataTable and then let them use a button that sends a specific report with email (useing a flow). There is a column called "status" on my list and i dont want them to be able to sent this email or contuniue to the next page if an item has its status "open".

 

how can i do that?

Categories:
  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    Hi @vaso ,

     

    Have you considered disabling the Button if the Status field equals "Open"?

     

    For example, apply the below to the DisplayMode property of the Button:

     

     

    If(
     LookUp(
     'Your Data',
     ID = Gallery1.Selected.ID,
     Status.Value //assumes this is a choice column, otherwise remove ".Value"
     ) = "Open",
     DisplayMode.Disabled,
     DisplayMode.Edit
    )

     

     

    ------------------------------------------------------------------------------------------------------------------------------

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

    Imran-Ami Khan

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard