Forum Discussion
Distinct inside a calculate function
- 10 months ago
Hi mp390988
You've hit the nail on the head 🙂 A single-column table with at most one row is treated as a scalar value if the context requires. In the case of zero rows, the value returned is
BLANK.See here.
In this case, the configuration of the
'Transaction Size'table ensures that the result will have at most one row.If
'Transaction Size'were misconfigured and had rows with overlapping [Min,Max] ranges, this expression forSales[Transaction Size]could result in an error.
Hi mp390988 ,
Could you please confirm if the issue has been resolved or not. If a solution has been found helpful, it would be greatly appreciated if you could share your insights with the community. This would be helpful for other members who may encounter similar issues.
Best regards,
Chaithra E.