This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
Hello everyone,
I need a filter to see the names which their number is greater than 1.
If the sum of the number is empty or equal to 1, then " empty or equal to 1" otherwise "greater than 1"
Raw data
| ID | Name | Status | Group |
| 1 | William | Yes | A |
| 2 | William | No | B |
| 3 | William | Yes | C |
| 4 | Max | No | A |
| 5 | Max | Yes | C |
| 6 | Luca | Yes | D |
| 7 | Marvin | Yes | A |
| 8 | Marvin | No | B |
| 9 | Max | No | B |
| 10 | Max | Yes | D |
Result:
| Name | # Yes | # No | Sum |
| William | 2 | 1 | 3 |
| Max | 2 | 2 | 4 |
| Luca | 1 | 1 | |
| Marvin | 1 | 1 | 2 |
Thank you
Tito
Solved! Go to Solution.
Hi @Tito
Assuming your definition of number is the count of records per name, create this calculated column.
Slicer Column =
VAR _CountPerName =
CALCULATE ( COUNTROWS ( 'table' ), ALLEXCEPT ( 'table', 'table'[name] ) )
RETURN
IF ( _CountPerName > 1, "greater than 1", "Empty or equal to 1" )
Hi @Tito
Assuming your definition of number is the count of records per name, create this calculated column.
Slicer Column =
VAR _CountPerName =
CALCULATE ( COUNTROWS ( 'table' ), ALLEXCEPT ( 'table', 'table'[name] ) )
RETURN
IF ( _CountPerName > 1, "greater than 1", "Empty or equal to 1" )
Hi @danextian ,
Thank you very much. I have adjusted your measure:
Slicer Column =
VAR _CountPerName =
CALCULATE ( DISTINCTCOUNT( 'table' ), ALLEXCEPT ( 'table', 'table'[name] ) )
RETURN
IF ( _CountPerName > 1, "greater than 1", "Empty or equal to 1" )
help
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 25 | |
| 24 | |
| 22 | |
| 21 | |
| 19 |
| User | Count |
|---|---|
| 51 | |
| 48 | |
| 44 | |
| 21 | |
| 21 |