Forum Discussion
exodeexo
8 years agoNew Member
max date conditional
Hi guys!! I'd like to create a column (called "MAX_DATE") where I identify the max date in two specific process (PHTM & PHTS) per campaign. If these processes doesn't exist in the campaign, I'd l...
- 8 years ago
HI exodeexo
Please try this calculated column
New Column = MAXX( FILTER( 'Sequencer', 'Sequencer'[Process] IN {"PHTS","PHTM"} && 'Sequencer'[Campaign ID] = EARLIER('Sequencer'[Campaign ID]) ), 'Sequencer'[Start Sequence])
Phil_Seamark
8 years agoMicrosoft Employee
Cool, I nearly have it. Just one more question.
On that same campaign 136411, how come all the dates are the 13th, except for the last one which is the 14th of Oct?
Phil_Seamark
8 years agoMicrosoft Employee
HI exodeexo
Please try this calculated column
New Column =
MAXX(
FILTER(
'Sequencer',
'Sequencer'[Process] IN {"PHTS","PHTM"} &&
'Sequencer'[Campaign ID] = EARLIER('Sequencer'[Campaign ID])
),
'Sequencer'[Start Sequence])- exodeexo8 years agoNew Member
You are a genius,Phil_Seamark!
It works!!! You save me a lot of time!!! Because I've spent all my day trying to solve it!
Many thanks!!!!
- Phil_Seamark8 years agoMicrosoft Employee
Happy to help :)
- davidataylor6 years agoFrequent Visitor
This came in very handy for me today. Thanks for working through this in great detail 2 years ago!