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 Convert table '...
Power Apps
Unanswered

How to Convert table 'Name' field into Choices in canvas app?

(1) ShareShare
ReportReport
Posted on by 14

Hello all,,

 

I have a table called 'Business process' and name field is unique. I am using it as dropdown in canvas app to hide show few controls based on the value selected. However, there are times the values in the 'Business Process' are slightly altered and since i am using expression like Dropdown.selected.value = "test business process", it is failing and had to change code everytime there is changes in the value in table. If it is choices, i would have used Dropdown.selected.value = 'BusinessProcess.[selection] . any one know how to overcome ?

Categories:
  • timl Profile Picture
    37,322 Super User 2026 Season 2 on at

    Hi @SAGOS_12 

    Do you have an ID column in your 'Business process' table that uniquely identifies each row?

    If so, perhaps you could use that in your conditional tests. By doing this, the conditional logic should still work if the text value of an item were to change.

    (eg, Dropdown.Selected.ID = 4)

  • Akshansh-Sharma Profile Picture
    298 Moderator on at

    Hi @SAGOS_12 ,

     

    Unfortunetly you can't change a column type once it is created in Dataverse (i am assuming that your datasouce is Dataverse so let me know if this assumtion is wrong) but there are few things which you can do 

     

    • You can create a new column as choice type and start using that column instead of your name column
    • If you are trying to compare the drop down selection with your table record then you can do a lookup to fetch the actual text present in your table instead of manually comparing it against a text i.e. lookup('Business Process', Guid = Guid, Name) this will give you that exact record in your condition

     

    Let me know how you get on

     

    --------------------------------------------------------------------------------------------------------------------

    Please click Accept as solution if my post helped you solve your issue. If the content was useful in other ways, please consider giving it Thumbs Up 😉

     

    LinkedIn- https://www.linkedin.com/in/akshansharma/

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard