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 / IF Blank use my lookup...
Power Apps
Unanswered

IF Blank use my lookup Syntax help.

(0) ShareShare
ReportReport
Posted on by 75

I am trying to make it where if Visit Type is blank... use the Amount column... to my Total Amount... if Visit Type has a value... use Visit Type Amount for my Total Amount column. I am having a hard time trying to get this to work. 

 

juliowastaken_1-1715886006703.pngjuliowastaken_2-1715886178619.png

 

 

juliowastaken_0-1715885766876.png

 

Categories:
I have the same question (0)
  • Gochix Profile Picture
    1,935 Moderator on at

    @juliowastaken ,

    Not sure why you are having a hard time to get this working if you are half way through. Just add another LookUp() function.

    If(
     IsBlank(LookUp('Stipend Amount','Study' = dpSPSelectStudy.Selected.Study,Amount)),
     LookUp('Stipend Amount', 'Visit Type' = PSVisitType.Selected.Value, 'Visit Type Amount'),
     LookUp('Stipend Amount', 'Visit Type' = PSVisitType.Selected.Value, 'Amount')
     )


    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

  • juliowastaken Profile Picture
    75 on at

    This seems to somewhat be working... Now I can see the Total Amount if Visit Type is selected, but when nothing is selected it doesn't show the Amount in Total Amount.

     

    juliowastaken_1-1715889117809.png

     

     

    juliowastaken_0-1715889065307.png

     

  • Verified answer
    Gochix Profile Picture
    1,935 Moderator on at

    @juliowastaken ,

    try this:

    If(
     IsBlank(
     PSVisitType.Selected.Value),
     LookUp('Stipend Amount','Study' = dpSPSelectStudy.Selected.Study,Amount),
     If(
     !IsBlank(
     LookUp('Stipend Amount', 'Visit Type' = PSVisitType.Selected.Value, 'Visit Type Amount')),
     LookUp('Stipend Amount', 'Visit Type' = PSVisitType.Selected.Value, 'Visit Type Amount'),
     LookUp('Stipend Amount', 'Visit Type' = PSVisitType.Selected.Value, 'Amount')
     )
    )


    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

  • juliowastaken Profile Picture
    75 on at

    Thank you!!!!! I really appreciate it. 🤝

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