Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn 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 |
|---|---|
| 54 | |
| 47 | |
| 38 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 82 | |
| 71 | |
| 38 | |
| 28 | |
| 25 |