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

Drop Down Menu

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Guys,

 

I have an table called DimCostCenter. This table include 3 columns see attachment. In my PowerApps as you can see i have a Drop Down Menu which is included the CostCenter column.

My Question is how can i achieve for example if i choose 1100~~Pre Sales that only the number 1100 will be insert in my employee table. So each item i choose only the column CostCenterID will be inserted instead of column CostCenter.

 

Thanks in advance!

 

 

 

Untitled.png

Untitled1.png

Categories:
I have the same question (0)
  • SanchezITM Profile Picture
    153 on at

    LookkUp(DimCostCenter;CostCenter=DropDownMenuName.Selected.Value;CostCenterId)

  • BenFetters Profile Picture
    on at

    Hello,

    If all of your ID's are only 4 digits and are at the beginning, you could use the left function to get the first four numbers of the drop down's selected value. 

     

    Does that make sense?

    Hope that helps!

     

    Ben 

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @BenFetters  @SanchezCSG ,

     

    Thank you guys! I solved my problem with this formula. The Item property of Drop Down Menu is: ShowColumns('[isl].[DimCostcenter]',"CostCenter","CostCenterId")

     

    And the Update property of the card is: Dropdown5_6.Selected.CostCenterId

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 385

#2
Vish WR Profile Picture

Vish WR 367

#3
timl Profile Picture

timl 340 Super User 2026 Season 1

Last 30 days Overall leaderboard