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 / Syncing a Dataverse Ch...
Power Apps
Suggested Answer

Syncing a Dataverse Choice with a separate Dataverse table

(1) ShareShare
ReportReport
Posted on by 70
Hello!
 
I want to have a Combo Box menu in my Powerapp that is synced to a dataverse table of users, and the choices that are made will be added to a separate dataverse table (for example: a column in an "Event" item called "credited users" that contains the choices from that combobox). Normally, I would do this through a lookup. However, Dataverse does not have the functionality to allow for multiple lookup items. Is there any way to create a column in Dataverse that contains data on multiple choices of rows from another dataverse table? or is the best way to go about this just to make a text field in dataverse that corresponds with the choices the user made. Any help is greatly appreciated!
I have the same question (0)
  • Suggested answer
    Pstork1 Profile Picture
    69,556 Most Valuable Professional on at
    I'm not sure I'm getting the exact question.  Dataverse does allow Choice Columns that are multiselect.  So if the dropdown in the first list is using a global choice value then the actual value picked by the ComboBox is a GUID that points to a Global choice list. If you create a Multiselect Choice Column in the second list that points to the same Global choice list then the values would be an array of GUIDs instead of a single GUID.  That means syncing them would require a manual Patch statement, but it should be doable.  Or am I missing something?

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • AB-03121629-0 Profile Picture
    70 on at
    @Pstork1 I guess the issue lies in the multiple patch statement. I'd want the global choice entry to be automatically updated based on a certain column in a separate dataverse table. For example, every time I add a user to the "Users" dataverse table (which would include their name, email, phone, etc), I am updating a separate choice item by adding a choice that is just their name. I'm not sure how to do that.
  • Suggested answer
    11manish Profile Picture
    3,333 on at
    Dataverse does not support multi-select lookups in a single column, but it natively supports selecting multiple related records through a many-to-many
     
    relationship.
     
    The recommended approach is to create an N:N relationship between Events and Users and use a multi-select ComboBox to manage those relationships, rather
     
    than storing values in a text field.
  • Pstork1 Profile Picture
    69,556 Most Valuable Professional on at
    I thought you were trying to sync the selection made in one list with a choice column in another. What you describe is something a bit different. It would be possible, but would require using a flow to call an HTTP API to create the new choice in the global choice list of the other list. I haven't been able to find a good short explanation of the syntax involved, but I'll keep looking.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     

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 May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard