Hi @Anonymous ,
I found that you have posted same thread within this forum already, please check my response within the following thread:
https://powerusers.microsoft.com/t5/Building-Power-Apps/Filter-a-gallery-based-on-a-gallery/td-p/505155
Based on the needs that you mentioned, I think the GroupBy function could achieve your needs in your first Gallery. On your side, please consider set the Items property of the First Gallery to following:
GroupBy(
ProjectLijsten;
"Order";
"Relatie";
"GroupData"
)
Note: The List separator (;) within above formula is based on your local region. In some regions, it use comma (,) as list separator, in other regions, it use semicolon (;) as separator.
Within your above first Gallery, you could only reference "Order" column value and "Relatie" column value directly, the rest of columns in your SP List is grouped into the "GroupData" (third argument of GroupBy function) attribute as a Table value. The result the above GroupBy formula returned is like below:

So could not reference the rest of column values from your SP List within your first Gallery directly, the rest of column values is grouped into the "GroupData" attribute as Table value (as above screenshot).
Within your second Gallery, please set the Items property to following:
Filter(
ProjectLijsten;
Order = FirstGallery.Selected.Order && Relatie = FirstGallery.Selected.Relatie
)
When you click the specific item in your First gallery, the related records would be displayed within your second Gallery.
In addition, if you want to see the rest of column values from your SP List except the "Order" column and "Relatie" column, you could consider add another Gallery (third) inside your first Gallery, then set the Items property of this nested Gallery to following:
ThisItem.GroupData // reference the GroupData Table value from its parent Gallery
within this nested Gallery, you could add several Labels to display the rest of column values from your SP List ('ProjectLijsten') using the following formula:
ThisItem.Subordernumber
ThisItem.Omschrijving
ThisItem.Plaatsnaam
...
...
Please take a try with above solution, check if the issue is solved. If you have solved your problem, please consider go ahead to click "Accept as Solution" to identify this thread has been solved.
Best regards,