Skip to main content

Notifications

Community site session details

Community site session details

Session Id : fwPla+OKeDij5/kB2I6NdY
Power Apps - Microsoft Dataverse
Answered

Populate field based on another fields value

Like (0) ShareShare
ReportReport
Posted on 20 Apr 2022 12:40:14 by 59

Dynamics Forum Snip.png

 

I created a model driven app with a form that has the fields "Item Code" and "Description" in it. Based on the Item Code selected, I want the description to populate automatically. I have an excel sheet with over 800 values in it. I understand that this is possible through business rules but I can only create 9 different statements within one rule and this would take hours to complete. I wanted to know if there was a way I can map the columns together so that when a user types out an Item Code, it pulls the corresponding description into that field. 

 

Any help is greatly appreciated. 

  • AmariBarino Profile Picture
    59 on 20 Apr 2022 at 16:14:17
    Re: Populate field based on another fields value

    This worked! Thank you so much. I modified my quick view form and the request details form so that the description field looks like its one of the other fields. Very useful tip! 

  • Ram Prakash Profile Picture
    5,154 Super User 2025 Season 1 on 20 Apr 2022 at 13:07:00
    Re: Populate field based on another fields value

    Hello @AmariBarino 

     

    There are Multiple Suggestion available,.

     

    1. As mentioned by @dpoggemann 

    2. Create A Microsoft flow to trigger only on Item code field then retrieve the value and update the Description.

    3. If you want real time, trigger JAVASCRIPT, on ONCHANGE event 

     

    Ping me private if you need any help.

  • Verified answer
    Drew Poggemann Profile Picture
    9,278 Most Valuable Professional on 20 Apr 2022 at 12:53:25
    Re: Populate field based on another fields value

    Hi @AmariBarino ,

     

    One thought here is to create another table for your Item Codes and add a lookup to this table to the Item Code.  You could then add a Quick View form from the Item Code table to display the Item Code details right on the form after they select.  This could include the Description, etc. if you had more fields on the Item Code.  Also you would have the advantage if the Description changes it will always show the current value.

    https://docs.microsoft.com/en-us/power-apps/maker/model-driven-apps/quick-view-control-properties-legacy 

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Loading started