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 / If or switch statement...
Power Apps
Answered

If or switch statement with 3 conditions

(0) ShareShare
ReportReport
Posted on by 3,295

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:
  • Community Power Platform Member Profile Picture
    Microsoft Employee 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,295 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
    Microsoft Employee 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,295 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

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard