Hi! Is there a way to prevent duplicates in a virtual column type list? I would like to prevent duplicates just in the current order, (If I already picked apple, I should not add apple again?)
Thanks
Solved! Go to Solution.
I belive that Order Details column is a reverse-ref (isPartOf property of your Ref set to TRUE). If so;
you can set a valid_if expression in your child table for that [Fruit] column. Please make necessary changes in the expression to fit in your table schema.
COUNT(
SELECT(
Orders[Fruit],
AND(
[_THISROW].[Fruit] = [Fruit],
[_THISROW].[RefColName] = [RefColName]
)
)
) = 0
User | Count |
---|---|
40 | |
34 | |
29 | |
23 | |
17 |