Forum Discussion
Anonymous
4 years agoNot applicable
Check if the combination occurs within a table
I have a table. I want to create a column for evaluating if the combination occurs within a table. See the example below: Name Category Ok/NotOk A PDE OK A KDE OK B PDE OK ...
- 4 years ago
Hi Anonymous
Try this, create the column,
Ok/NotOk = var _count=CALCULATE(COUNTROWS('Table'),FILTER(ALLEXCEPT('Table','Table'[Name]),'Table'[Category] = "PDE")) return IF(_count>0,"OK","NotOK")result
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
v-xiaotang
Community Support
4 years agoHi Anonymous
Try this, create the column,
Ok/NotOk =
var _count=CALCULATE(COUNTROWS('Table'),FILTER(ALLEXCEPT('Table','Table'[Name]),'Table'[Category] = "PDE"))
return IF(_count>0,"OK","NotOK")
result
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.