I have 2 dropdowns, namely ddCompany and ddProperty.
ddProperty, shows all properties for the company selected is ddCompany.
However, when I successfully add the distinct function to ddCompany, the formula within ddPropery no longer works.
Formulas before distinct
ddCompany - SortByColumns('Property Information',"ClaimantCompany")
ddProperty - Filter('Property Information',ddCompany.Selected.'Claimant Company'='Claimant Company').'Property Name'
ddCompany formula with Distinct
Distinct(SortByColumns('Property Information',"ClaimantCompany"),'Claimant Company')
Please can someone advise a way to make the ddCompany dropdown only show unique values without affecting the ddProperty dropdown.
Thanks
Solved! Go to Solution.
Hi @SG1990 ,
See if this approach works - ddCompany
Sort(
Distinct(
'Property Information',
ClaimantCompany
),
Result
)
ddProperty
Filter(
'Property Information',
ddCompany.Selected.Result = 'Claimant Company'
).'Claimant Company'
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @SG1990 ,
See if this approach works - ddCompany
Sort(
Distinct(
'Property Information',
ClaimantCompany
),
Result
)
ddProperty
Filter(
'Property Information',
ddCompany.Selected.Result = 'Claimant Company'
).'Claimant Company'
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Thanks Warren, works a charm.
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
202 | |
174 | |
62 | |
32 | |
31 |
User | Count |
---|---|
324 | |
268 | |
104 | |
73 | |
56 |