Hello there!
I want to use the Distinct function to remove double values, but I also need to filter on a few things.
So I have a gallery where I need to put this code.
Current code;
Distinct(
colCombined;
Order0
)
What I need;
I have a variable named "bedrijfNaam", which is the company name of the user logged in. For example; PowerUsers
We need to allow the user to only see the items where the companyname is the same as the variable bedrijfNaam
colCombined sadly doesn't have the order number, so we need to get it from another SharePoint list named ProjectLijsten
We need to look at 2 columns from ProjectLijsten; Order CompanyName
So colCombined does have the order number, so we have a connection between the 2.
Formula needs to be;
if CompanyName from Projectlijsten equals the variable bedrijfNaam && Order from ProjectLijsten equals Order from colCombined
And then we need to Distinct on the order number
Sorry for the bad explanation. Hopefully you get what I mean.