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 / I am having some probl...
Power Apps
Unanswered

I am having some problems with a code

(0) ShareShare
ReportReport
Posted on by 4

Hey there guys, I am new with power fx and I am having a problem, so there is this checklist, I need to make some adjustments. It's a vehicle checklist, and I need to add a function that prevents users to open a new checklist without closing a previous checklist, so I developed this code:
If(
IsBlank(
LookUp(
Responsavel_DataCard2,
DataCardKey5 = DataCardValue30 And ChecklistStatus = "Open"
)
),
Notify("A new checklist can be open."),
Notify("You have an open checklist. Finalize it before opening a new one.")
)

but power apps keep saying there is an error on the code, and I can't find, any help would be welcomed.

Categories:
  • Vaish123 Profile Picture
    142 on at

    Set debugResult = LookUp(
    Responsavel_DataCard2,
    DataCardKey5 = DataCardValue30 And ChecklistStatus = "Open"
    );

    If(
    IsBlank(debugResult),
    Notify("A new checklist can be open."),
    Notify("You have an open checklist. Finalize it before opening a new one.")
    );

    You can add temporary labels to display intermediate values or messages for debugging purposes, which will help for a solution

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

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard