Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
94 | |
76 | |
62 | |
50 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |