Hello,
I need to make a slice with a row filter based on data in other table.
Slice is for table Customer Products. I have two more tables - Orders and Order_Details.
When I add a new order, I get one row in Orders table and as many rows as many products I add in a basket in Order_Details table. These two tables are referenced and referenced rows have the same ID number (OrderID and OrderLink in Order_Details table).
There is one product that should stay alone in an order - let us say ProductX (OrderDetail_Product “4400d35c”). A user can add ProductX in a basket, but after that It must be impossible to add any other product from Customer Products table. Otherwise, if a use adds first any other product, he/she can’t add ProductX as a second or third product in a basket. For example in the second screenshot there are three rows with number 90d30a5c in Order_Link Column. There are three products added, however if the first product is 4400d35c, the other products should have not been
added.
So I want to omit some products from the slice for table Customer Products depending on the rows in Order Details table. Could you please give me an idea, I am stuck with this question for two days.

