Hi hoping for some help,
Quite new to this but struggling to show data from excel table in a drop down. Currently using: -
Distinct(TABLE NAME, COLUMN NAME)
I've connected to the data source but when i preview it doesn't show any data.
You have the correct syntax so I would expect PowerApps to show some options. Did you use this code within the Items property of the dropdown?
Can you please share a screenshot of your app? Make sure the code you used in the Items property is displaying in the formula bar inside your screenshot.
---
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."
@mdevaney , thanks for the reply
Attached data (blanked out for screenshot) and power apps screen shot with syntax
Hey @Stu_Griffin
please add the column to your source within the Distinct like:
Distinct(UserName.Name,Name)
Regards
Marvin
Hey @Stu_Griffin
thanks for your feedback. If you click on the arrow under your formula bar, you would see a preview of your items. Is there any data shown?
Regards
Marvin
Hi @Stu_Griffin ,
Just helping original responder @mdevaney here.
You need
Distinct(UserName,Name)
Also "Name" is not a good title for a field as it is a reserved word.
@mdevaney @WarrenBelz @MarvinBangert
Thanks all for your help.
I've managed to solve, turns out that if the excel document was open it wouldn't work. As soon as i closed the document it worked 🤔
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
180 | |
45 | |
45 | |
34 | |
34 |
User | Count |
---|---|
255 | |
82 | |
78 | |
67 | |
65 |