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 Apps
Unanswered

Vlookup equivalent

(0) ShareShare
ReportReport
Posted on by 25

I'm building a Canvas app with 2 Dataverse tables of data:

 

Debtor:

IdNameDebtor_RatingDebtor_Score
A1AlexHigh 
A2BillyHigh 
A3ChrisLow 

 

RatingRefData

RatingScore
High99
Med66
Low33

 

I'd like Debtor.Debtor_Score to be populated with RatingRefData.Score by doing the equivalent of an Excel VLOOKUP using Debtor.Debtor_Rating.

 

I can only get it working if the data is populated after I've created the relationship, not before it.

 

Steps taken to create the relationship:

  1. Create Many-to-one relationship from Debtor to RatingRefData, name the new lookup column Debtor_Rating
  2. Create a calculated column in Debtor, called Debtor_Score
  3. Manually fill in the Debtor_Rating with High / Med / Low
  4. Debtor_Score is populated with 99 / 66 / 33

How do I get Debtor_Score populated where the Debtor_Rating is already pre-filled? (i.e., All fields in Debtor are migrated from a CRM to this Dataverse table overnight, and I can't seem to import data into the Debtor_Rating lookup column).

I have the same question (0)
  • v-jefferni Profile Picture
    on at

    Hi @ywp ,

     

    Could you please share how you created the calculated column? As long as you create a calculated column, it will auto-populate with the values you set with the condition.

    vjefferni_0-1700548380022.png

    Best regards,

  • ywp Profile Picture
    25 on at

    It's the Lookup column that I find myself having to manually populate.

    If I do this, then the Calculated column works fine.

     

    Can the Calc column work with imported data?

  • Ram Prakash Duraisamy Profile Picture
    5,580 Super User 2025 Season 2 on at

    Hi @ywp 

     

    yes it will work

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Follow me on Twitter : @rampprakashd
    Blog : https://microsoftcrmtechie.blogspot.com

  • Verified answer
    ywp Profile Picture
    25 on at

    Solved it in the end by importing the record GUID in RatingRefData instead of the RatingRefData PK.

     

  • ywp Profile Picture
    25 on at

    Thank-you for your help!

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 332 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 275

Last 30 days Overall leaderboard