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 / How to get Value/ auto...
Power Apps
Unanswered

How to get Value/ autopopulate choice column value of datavarse table based on selecetion of a dropdown column in a text filed of an edit form

(0) ShareShare
ReportReport
Posted on by 90

I have a dataverse table DefinePromoCycle with columns PromoCycle(primary name coulmn,single line of text ) and a choice column Tiers with choices [Tier1,Tier2,Tier3,Tier4] where i have allowed multiple selections

Nida_Sayedi_0-1697803601983.png

I have other dataverse table DefinePromotionParameters  shown below where Column Cycle is a lookup column(Lookup from table DefinePromoCycle's PromoCycle column ) and 'Tier Applicable'(Single line of text column)

Nida_Sayedi_1-1697803794987.png

I have a form from which I  enter data , 

Nida_Sayedi_2-1697804017082.png

I

The form is of DefinePromotionParameters table , have Cycle As DatacardValue34.

 

So when i choose Cycle 1 from Cycle column dropdown , I need to autopopulate values Tier2,Tier4(from definePromoCycle table )in text column Tier Applicable  Datacard 

 

similarly when I choose Cycle 2 from Cycle column dropdown , It  should autopopulate value Tier1(from definePromoCycle table )in text column Tier Applicable  Datacard.

 

What code do I need to write on Default Property of 'Tier Applicable ; datacard to autopapulate values if a different table 

 

I tried with Filter(DefinePromotionParametrs,Cycle=Lookup(DefinePromoCycle,PromoCycle=DataCardValue34.Selected.PromoCycle).'Tiers')

 

But It is not working,

 

Please help me with correct code ??

 

 

Categories:
  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @Nida_Sayedi ,

     

    Can you try:

    Lookup(
     DefinePromoCycle,
     PromoCycle=DataCardValue34.Selected.PromoCycle
    ).'Tiers'

     

    This should return the Tiers for the cycle as selected in DataCardValue34.

  • Nida_Sayedi Profile Picture
    90 on at

    @BCBuizer  Hi thanks for your swift response , i tried above code  its showing below error.

     

    Nida_Sayedi_0-1697805513539.png

    please help

     

  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @Nida_Sayedi ,

     

    To convert the records to text, use the Concat function:

    Concat(
    	Lookup(
    	 DefinePromoCycle,
    	 PromoCycle=DataCardValue34.Selected.PromoCycle
    	).'Tiers',
    	Value,
    	", "
    )

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

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard