cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Combo Box Display Fields Issues: From Different Table? Display More Than 2 Fields? Field Not Display When Using Sort Distinct Filer Formula?

Hi all,

 

Have anyone experienced these on Combo Box Display Fields?
1) Primary Display Field from Table A, Secondary Display Field from Table B

2) Display more than two display fields 

3) When the Item Property is using Distinct(maybe Sort too) with Filter formula, it only can show one Display Fields, it can't show one more display field. 

For Eg, Sort(Distinct(Filter(TableA, Code1 = ComboBox.Selected.Code), Description),Result,Ascending)

The Display Fields written as ["Result","ShortID"]. It only show Description in the selections.

 

Appreciate on your guidances and advises.

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Anonymous ,

 

I'm afraid not. The Distinct function evaluates a formula across each record of a table and returns a one-column table of the results with duplicate values removed. The name of the column is Result.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-monli-msft
Community Support
Community Support

Hi @Anonymous ,

 

This is because that in Distinct function, you have used the syntax "Distinct(Table,ColumnName)", so this formula would only return the table with one Description column. 

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-monli-msft 

Thanks for your reply!
Your answer is for No.3, may I know is there anyway to display secondary fields by using Distinct?

Hi @Anonymous ,

 

I'm afraid not. The Distinct function evaluates a formula across each record of a table and returns a one-column table of the results with duplicate values removed. The name of the column is Result.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (3,104)