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 / Using Lookups in Model...
Power Apps
Answered

Using Lookups in Model Driven App Business Rules

(0) ShareShare
ReportReport
Posted on by 1,302

Hi

 

I have a model driven app which I want to apply a business rule to within a form so that depending upon the value of a Lookup I want to set the visibility of a second field.

 

So - The Lookup field is Fruit and the Lookup Values are Apple, Orange, Grapes.

 

If the Lookup Value is Apple then I want the field Apple type to be displayed.  If the Lookup Value is anything else I  want the  field Apple Type to NOT be displayed.

 

So IF Fruit Equals "Apple" THEN Show field Apple Type

 

But the field Apple Type is always displayed.

 

What am I doing wrong ?

 

Thanks

 

Nigel

Categories:
I have the same question (0)
  • Inogic Profile Picture
    1,135 Super User 2025 Season 2 on at

    Hi @NigelP ,

    Can you please make sure you have also added else condition to hide the field?

    You can refer below screenshot as example.

    Inogic_0-1691499062225.png


    Thanks!

     

    Inogic Professional Services Division

    Power Platform and Microsoft Dynamics 365 CRM Development – All under one roof!

    Drop an email at crm@inogic.com

    Services:  http://www.inogic.com/services/

    Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

  • NPrice99 Profile Picture
    1,302 on at

    Hi @Inogic 

     

    Howdo I do that ? (Add an ELSE clause)

     

    Thanks

     

    Nigel

  • Verified answer
    Inogic Profile Picture
    1,135 Super User 2025 Season 2 on at

    Hi @NigelP ,

    Please follow the steps as below:

     

    Click on Add button which allows you to add the Actions for condition,

    Inogic_0-1691558900342.png

    Select Visibility Action option as shown in below screenshot,

    Inogic_1-1691558912560.png

    Now you need click on + icon below the condition in order to add else clause to the condition as shown in below screenshot,

    Inogic_2-1691558929051.png


    This will add the action and you can set step to hide the field as shown in the below screenshot,

    Inogic_3-1691558947477.png

     

    Thanks!

     

    Inogic Professional Services Division

    Power Platform and Microsoft Dynamics 365 CRM Development – All under one roof!

    Drop an email at crm@inogic.com

    Services:  http://www.inogic.com/services/

    Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard