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.

Report
All responses (
Answers (