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 moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi,
I have a table called Users with columns FullName & UserType. I am trying to create a column
which displays all FullName when the UserType is Caregiver.
Getting the below syntax error when using this->
Carer Names = Users[FullName]
FILTER( Users,
[UserType] = "Caregiver")
The syntax for 'FILTER' is incorrect. (DAX(Users[FullName]FILTER( Users,[UserType] = "Caregiver"))).
Solved! Go to Solution.
@android1 If this is a column and not a measure, it shouldn't need a filter. You're not filtering an entire table if you're going row by row in a column. This is a case for a simple IF statement.
Carer Names = IF(Users[UserType] = "Caregiver", Users[FullName], BLANK())
@android1 If this is a column and not a measure, it shouldn't need a filter. You're not filtering an entire table if you're going row by row in a column. This is a case for a simple IF statement.
Carer Names = IF(Users[UserType] = "Caregiver", Users[FullName], BLANK())
Thank you, that works great.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 41 | |
| 40 | |
| 36 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 72 | |
| 59 | |
| 34 | |
| 27 | |
| 25 |