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

Distinct column on dynamic SharePoint List

Hi, I need a help on below issue.

I have a dropdown1 which have list of SharePoint list, Example ["List1","List2","List3"], Which will show the data of respective SharePoint list to data table based on user selected list.

 

I am trying to get distinct column values to another dropdown2 based on user selected List from dropdown1

 

Below i have used but its give me error as "text" not the record...

Distinct(Dropdown1.selected.value, 'Column')

Distinct(Dropdown1.selectedtext, 'Column')

Distinct(Switch(Dropdown1.Selected.Value, "List1", List1, "List2", List2), 'Column')

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User III
Super User III

@DipeshSA ,

Without seeing your data, it is probably

Distinct(
   Dropdown1.Selected.Value,
   'Column'
).Result

 

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.

View solution in original post

3 REPLIES 3
WarrenBelz
Super User III
Super User III

@DipeshSA ,

Without seeing your data, it is probably

Distinct(
   Dropdown1.Selected.Value,
   'Column'
).Result

 

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.

View solution in original post

WarrenBelz
Super User III
Super User III

Hi @DipeshSA ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

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 @WarrenBelz Thank you it did worked. 😀

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,200)