Announcements
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!
LookkUp(DimCostCenter;CostCenter=DropDownMenuName.Selected.Value;CostCenterId)
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
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 385
Vish WR 367
timl 340 Super User 2026 Season 1