March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I feel like I'm missing something obvious.
I'd like to retrieve the "ISSUE_KEY" field where the "Business Signoff" field matches the person identified in the "CURRENT_ASSIGNEE_NAME" field, shown below as "Desired result":
Here's my current DAX for this calculated column:
Business Signoff v3 =
IF(
NOT(ISBLANK(Issues[Business Signoff])),
CALCULATE(
MAX(Issues[ISSUE_KEY]),
FILTER(Issues,
Issues[PROJECT_KEY] = "CHM"
&& Issues[FixVersion] = EARLIER(Issues[FixVersion])
))
)
As you can see, this is all happening within a single table. But I'm struggling to get the grouping right.
I've tried adding Issues[Business Signoff] = EARLIER(Issues[Business Signoff]) and same with CURRENT_ASSIGNEE_NAME, but was unsuccessful on both fronts.
Could just be that it's late and I've been staring at this for hours. But if someone's able to call this one out, it'd be hugely helpful. Thanks!
Solved! Go to Solution.
Hi @dkpcr5
Please try
Business Signoff v3 =
VAR BusinessSignoff = Issues[Business Signoff]
VAR CurrentVerionTable =
CALCULATETABLE ( Issues, ALLEXCEPT ( Issues, Issues[FixVersion] ) )
VAR FilteredTable =
FILTER (
CurrentVerionTable,
Issues[PROJECT_KEY] = "CHM"
&& Issues[CURRENT_ASSIGNEE_NAME] = BusinessSignoff
)
RETURN
IF (
NOT ISBLANK ( Issues[Business Signoff] ),
MAXX ( FilteredTable, Issues[ISSUE_KEY] )
)
Hi @dkpcr5
Please try
Business Signoff v3 =
VAR BusinessSignoff = Issues[Business Signoff]
VAR CurrentVerionTable =
CALCULATETABLE ( Issues, ALLEXCEPT ( Issues, Issues[FixVersion] ) )
VAR FilteredTable =
FILTER (
CurrentVerionTable,
Issues[PROJECT_KEY] = "CHM"
&& Issues[CURRENT_ASSIGNEE_NAME] = BusinessSignoff
)
RETURN
IF (
NOT ISBLANK ( Issues[Business Signoff] ),
MAXX ( FilteredTable, Issues[ISSUE_KEY] )
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
25 | |
18 | |
15 | |
9 | |
8 |
User | Count |
---|---|
37 | |
32 | |
18 | |
16 | |
13 |