cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nish888
New Member

distinct() error

i tried to create drop-down list apply by the following procedure, but an error occurred.

Sharepoint online
1) create testlist on sharepoint online
testlist is custom lists

2) create table
aa bb
------------
apple fruit
lemon fruit
grape fruit
lettuce vegetables
tomato vegetables

PowerApps
3) connect to testlist

4) change control type of bb into Allowed values

5) change Items property of DataCardValueXX
Parent.AllowedValues → Distinct(testlist,bb)

After followed the procedure 1)-5), cross mark appeared.
Probably,update property(= DataCardValue11.Selected.Value) have an error.
i can't solved it.

1 ACCEPTED SOLUTION

Accepted Solutions
mdevaney
Super User
Super User

@nish888 

Please show a screenshot of your app and the full error message received.  I don't understand steps #4-5.

 

The output of Distinct(testlist,bb) is a column called "Result" holding the unique values.  Perhaps the code should be changed to DataCardValue11.Selected.Result

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

 

 

View solution in original post

2 REPLIES 2
mdevaney
Super User
Super User

@nish888 

Please show a screenshot of your app and the full error message received.  I don't understand steps #4-5.

 

The output of Distinct(testlist,bb) is a column called "Result" holding the unique values.  Perhaps the code should be changed to DataCardValue11.Selected.Result

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

 

 

 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (2,511)