web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard