I have a canvas app where I need to provide only distinct values from a SharePoint list for a field that is a lookup. I used the following and the drop down seems to have been reduced in size however there are no values visible in the dropdown. Can anyone point me in the right direction because I have looked across the internet and can't find any solution.
Distinct(Choices([@'New Hire'].Job_x0020_Title), Value)
Solved! Go to Solution.
@eka24 is correct - there is nothing wrong with the syntax.
From your list 'New Hire', there is a lookup field Job_x0020_Title. Going back to basics, see if
Choices('New Hire'.Job_x0020_Title)
or
Choices('New Hire'.'Job Title')
gets you a DropDown list - you can deal with the Distinct after that.
No change...still a filtered drop down by looking at the scroll bar but nothing visible.
@eka24 is correct - there is nothing wrong with the syntax.
From your list 'New Hire', there is a lookup field Job_x0020_Title. Going back to basics, see if
Choices('New Hire'.Job_x0020_Title)
or
Choices('New Hire'.'Job Title')
gets you a DropDown list - you can deal with the Distinct after that.
User | Count |
---|---|
159 | |
85 | |
68 | |
63 | |
61 |
User | Count |
---|---|
209 | |
151 | |
93 | |
81 | |
69 |