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 display the dat...
Power Apps
Answered

How to display the data from different column based on selected result in combo box

(0) ShareShare
ReportReport
Posted on by 32

Hello, I am having a hard time on how can I display the data from different column based on my selected result in combo box. Already searched different video tutorials online but most of it use a dropdown box and value.

 

This is the current information in my Sharepoint:

Hawold_0-1642684508799.png

The current formula on my Textbox - Default Property is:

 

ComboBox4.Selected.'Model Name'.Result

 

 

However, the said formula has an error saying "Name isn't valid. This identifier is not recognized", "Invalid use of '.'"

 

To add: my second combo box formula in Items Property is:

 

Filter(Distinct(Filter('SP Name', 'Column Name of Combo Box 1' = ComboBox1.Selected.Result),'Column Name of Combo Box 2'),Result)

 

 

Any advise on how can I display the information based on my selected data in combo box? 

 

Thank you!

Categories:
  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Ha-wold,

    Do you want to display different column value based on the ComboBox selected value?

    Could you please share a bit more about your scenario, how many ComboBoxes and represented column name?

     

    Actually, a Combo Box represents a single column value and ComboBox.Selected.REsult represents the combo box selected item from the corresponding single column you populated the ComboBox with.

     

    If you populate a ComboBox using the Distinct() function, you could only display the selected value by reference to the Result. If you want to display value from other column, you should use the LookUp or Filter to display it in the TextInput as below:

    LookUp('SP Name', 'Column Name of Combo Box 4'=ComboBox4.Selected.Result).'Model Name'

    Here I assume each record has unique model name and it will always return the model name from the first record met the condition if you have duplicated model names.

     

    Provide more details if the above could not solve your issue.

  • Ha-wold Profile Picture
    32 on at

    Hi @v-qiaqi-msft  thank you so much for your response. Yes, I actually wanted to display different column value based on the ComboBox selected value.

    However when I tried to use the solution you provided, I encountered an error that says "There's an error in this formula. Try revising the formula and running it again. Data type: Record)

    I also forgot to mention that the column type is Person or Group Type.

     

    Please advise. Thank you!

  • Verified answer
    Ha-wold Profile Picture
    32 on at

    This can be close. Updated my code to:

    LookUp('SP Name', 'Column Name of Combo Box 4'=ComboBox4.Selected.Result, 'Model Name'.DisplayName)

     

    Thanks!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard