Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I am getting really close to solvbing my issue but there is just one more peice I can not figure out. I was able to pull the Latest date where ProjectID=ProjectID and Status=Status. I still do not know how to set this equation up to only keep one value per status per project ID. So for example In the first row of the table below the ProjectID 34631 with the status 2.1, modified 6/1/20 [Last status date] should be blank because there is a later date with the same project ID and Status.
ProjectID | Status Extract | Modified | Last Status Date (New column) |
34631 | 2.1 | 6/1/20 | |
34631 | 2.1 | 6/4/20 | 6/4/20 |
34631 | 4.0 | 6/20/20 | 6/20/20 |
ProjectID | Status Extract | Modified | Last Status Date (New column) |
34631 | 2.1 | 6/1/20 | 6/4/20 |
34631 | 2.1 | 6/4/20 | 6/4/20 |
34631 | 4.0 | 6/20/20 | 6/20/20 |
Solved! Go to Solution.
Last status date =
var _ProjectID = 'Status'[ProjectID]
var _Status = 'Status'[Status Extract]
Var _StatusDate = 'Status'[Modified]
var _LaterDate = MAXX(FILTER('Status','Status'[ProjectID] = _ProjectID && 'Status'[Status Extract] = _Status), 'Status'[Modified])
Return IF(_LaterDate=_StatusDate,_LaterDate)
Last status date =
var _ProjectID = 'Status'[ProjectID]
var _Status = 'Status'[Status Extract]
Var _StatusDate = 'Status'[Modified]
var _LaterDate = MAXX(FILTER('Status','Status'[ProjectID] = _ProjectID && 'Status'[Status Extract] = _Status), 'Status'[Modified])
Return IF(_LaterDate=_StatusDate,_LaterDate)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
10 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
8 |