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.
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 |
---|---|
196 | |
45 | |
45 | |
44 | |
37 |
User | Count |
---|---|
277 | |
81 | |
81 | |
78 | |
69 |