Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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"
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.