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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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]
)
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 59 | |
| 42 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 105 | |
| 99 | |
| 38 | |
| 29 | |
| 29 |