HASONEVALUE – DAX Guide

HASONEVALUE: Returns true when there’s only one value in the specified column.
https://dax.guide/hasonevalue/