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 moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi
I have an employment table with mutiple records whereby for each individual they are tagged with either Staff , Ex-staff or Starting.
I would like to create a measure or column that will identify if an individual is tagged with Staff then the rest of his records should be tagged with Active.
Please see image below for the data that I have where I would like to replicate the last column.
Thanks.
Solved! Go to Solution.
Try this as a column
=
IF (
CONTAINS (
FILTER ( TABLENAME, TableName[PersonID] = EARLIER ( TableName[PersonID] ) ),
[Staff Stage], "Staff"
),
"Active",
"Inactive"
)
Try this as a column
=
IF (
CONTAINS (
FILTER ( TABLENAME, TableName[PersonID] = EARLIER ( TableName[PersonID] ) ),
[Staff Stage], "Staff"
),
"Active",
"Inactive"
)
Check out the April 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 |
|---|---|
| 37 | |
| 28 | |
| 28 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 32 | |
| 28 | |
| 24 |