Hi all,
I have 2 lists on my SharePoint and I need to retrieve all the products of a single user (depends on the email inserted in the login) and display the categories of those products in a gallery items using Distinct.
The idea should be (SQL speaking) to DISTINCT SELECT AllProducts.ProductCategory FROM AllProducts,PersonalProducts WHERE AllProducts.ProductID = PersonalProduct.ProductID AND ProductOwner = Username
I tried ClearCollect and AddColumns but the collection let the gallery displays also the empty records.
Thanks for helping,
OmarSaid
Solved! Go to Solution.
Please follow these steps:
1. Onvisible of the Screen
To be more precise, can you display sample tables and how you want the output to be?
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Im sorry,
The output should be a table to be inserted into the Gallery Items containing all the ProductCategories of the products that an User has in PersonalProducts (I hided the emails because they real)
Please follow these steps:
1. Onvisible of the Screen
Life Saver. Thank you so much.
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 |
---|---|
203 | |
185 | |
72 | |
44 | |
37 |
User | Count |
---|---|
333 | |
267 | |
116 | |
71 | |
66 |