Ref Columns from Slice With No Data

Thanks in advance for the help,

I have two tables:

Table A (Sales_Details),
Table B (Products)

And I have a Slice, from Products, and the row filter for the slice is โ€œProduct Active = TRUEโ€

There is a ref column in Sales_Details to Slice_Products, it works perfect, when I try to add a new sale, the dropdownlist shows only โ€œActive Productsโ€; but the problem is, when I search for old sales, there are many sales with products that maybe, in this moment are Inactive, so, in the Sales_Details View shows only the ID, just because the Product โ€œdoesnโ€™t belong to Active Productsโ€

Maybe someone of you, could help me, thanks in advance.

Solved Solved
0 2 135
1 ACCEPTED SOLUTION

You need to have your Ref column point to the base Table, not the Slice.

You can still limit the dropdown list by using a valid_if expression if that is necessary.

View solution in original post

2 REPLIES 2

You need to have your Ref column point to the base Table, not the Slice.

You can still limit the dropdown list by using a valid_if expression if that is necessary.

Thanks @Marc_Dillon !!!

Top Labels in this Space