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!
I have data that looks like this:
So a single company (co) can have multiple owners (code) over time. I am trying to find a way so that if a company has a code of 'CentrallyHR', the (enddate) column for the entire company, not just the row with 'CentrallyHR', = 12/31/2100. Here's the calculated column I have, I just don't know how to modify to get what I'm looking for:
Solved! Go to Solution.
@Anonymous ,
You may refer to the DAX below.
Column =
IF (
CONTAINS ( Table1, Table1[co], Table1[co], Table1[code], "CentrallyHR" ),
DATE ( 2100, 12, 31 ),
Table1[enddate]
)
@Anonymous ,
You may refer to the DAX below.
Column =
IF (
CONTAINS ( Table1, Table1[co], Table1[co], Table1[code], "CentrallyHR" ),
DATE ( 2100, 12, 31 ),
Table1[enddate]
)
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 70 | |
| 45 | |
| 34 | |
| 28 | |
| 23 |
| User | Count |
|---|---|
| 142 | |
| 124 | |
| 59 | |
| 40 | |
| 32 |