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 or switch statement...
Power Apps
Unanswered

If or switch statement with 3 conditions

(0) ShareShare
ReportReport
Posted on by 3,271

Hello community.

I hope somebody could point me in the right direction with this formula.

 

I have a column "Requisition Done" a Y/N column

If the user check an icon.manufacture appears.

If Requisition Done eq "No"  no icon to display

if requisition Done eq "Yes" and we passed already the delivery dat change the icon.manufacture for icon,check.

 

 

sajarac_0-1653052446499.png

thanks in advance for any help.

 

Regards

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    Hey, you could use 2 if statements:

    - first to be used in icon visibility, or if you convert the field to bool value then you can pass the value straight there.

    - Then for the icon property you would need to compare Delivery date with Today(), here's example
    If(Today()<='THAT DATE FIELD'),Icon.Manufacture,Icon.Check)
    Best regards,
    Matt

  • Sajarac Profile Picture
    3,271 on at

    Hey @Anonymous thank you very much for your prompt response. Almost done.

    It is working partially. Because fir some records I don't have a value in that date field means it's empty and the formula is retrieving a check mark icon and should be a manufacture icon 

     

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    That could be solved by checking also for empty date field. Either with another If statement or with OR operator ||. For example:
    If(Today()<='THAT DATE FIELD') || IsBlank('THAT DATE FIELD'),Icon.Manufacture,Icon.Check)

     

  • Sajarac Profile Picture
    3,271 on at

    Thank you thank you thank you 

    🙂

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