Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 42 | |
| 21 | |
| 18 |