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! It's time to submit your entry. Live 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"
)
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 50 | |
| 43 | |
| 36 | |
| 33 | |
| 30 |
| User | Count |
|---|---|
| 138 | |
| 126 | |
| 60 | |
| 59 | |
| 56 |