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,284

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
    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,284 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,284 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard