Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I need help with something I'm trying to acheieve. Seems simple but giving me a lot of grief.
I simply need help with dax, I need to find max baseline revision no where cus search = 1.
So in below screenshot I'd only like to see highlighted line.
I have MAX LC
Solved! Go to Solution.
Hello @kasiaw29
what about the following solution:
Max of LC Max =
CALCULATE(
MAX('Activity History'[Baseline Revision No]),
FILTER(
ALLEXCEPT(
'Activity History',
'Activity History'[Project]
),
'Activity History'[CUS Search] = 1
)
)
With kind greetings from the city where the legend of the 'Pied Piper de Hamelin' is at home
FrankAT (Proud to be a Datanaut)
Try this below DAX:
Hello @kasiaw29
what about the following solution:
Max of LC Max =
CALCULATE(
MAX('Activity History'[Baseline Revision No]),
FILTER(
ALLEXCEPT(
'Activity History',
'Activity History'[Project]
),
'Activity History'[CUS Search] = 1
)
)
With kind greetings from the city where the legend of the 'Pied Piper de Hamelin' is at home
FrankAT (Proud to be a Datanaut)
Fantasric work! Exactly what I needed. Thank you very very much!
@kasiaw29 , Try to have a measure like
Measure =
VAR __id = MAX ('Activity History'[Project] )
VAR __dt = CALCULATE ( MAX('Activity History'[Baseline Revision No] ), ALLSELECTED ('Activity History' ), 'Activity History'[Project] = __id ,'Activity History'[cus search]=1)
CALCULATE ( Min ('Activity History'[Baseline Revision No] ), VALUES ('Activity History'[Project ),'Activity History'[Project] = __id,'Activity History'[Baseline Revision No] = __dt ,'Activity History'[cus search]=1)
@kasiaw29 , my bad , return is missing
Measure =
VAR __id = MAX ('Activity History'[Project] )
VAR __dt = CALCULATE ( MAX('Activity History'[Baseline Revision No] ), ALLSELECTED ('Activity History' ), 'Activity History'[Project] = __id ,'Activity History'[cus search]=1)
return
CALCULATE ( Min ('Activity History'[Baseline Revision No] ), VALUES ('Activity History'[Project ),'Activity History'[Project] = __id,'Activity History'[Baseline Revision No] = __dt ,'Activity History'[cus search]=1)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.