The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Experts
How can i modify the following to return back the max date...for FINCNTRL[wostatus.CHANGEDATE]
Measure Calculated Column
Solved! Go to Solution.
Hi @Anonymous ,
According to your description, I create a sample.
If you want to create a calculated column to show the max date of wostatus.CHANGEDATE when wostatus.STATUS meet the condition, here's my solution. Create a calculated column.
Works Completion Date =
IF (
FINCNTRL[wostatus.STATUS] IN { "FINAPPR", "FINCOMP", "COMP", "CLOSE" },
MAXX (
FILTER (
'FINCNTRL',
FINCNTRL[wostatus.STATUS] IN { "FINAPPR", "FINCOMP", "COMP", "CLOSE" }
),
FINCNTRL[wostatus.CHANGEDATE]
),
BLANK ()
)
Get the result.
I attach my sample below for your reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
According to your description, I create a sample.
If you want to create a calculated column to show the max date of wostatus.CHANGEDATE when wostatus.STATUS meet the condition, here's my solution. Create a calculated column.
Works Completion Date =
IF (
FINCNTRL[wostatus.STATUS] IN { "FINAPPR", "FINCOMP", "COMP", "CLOSE" },
MAXX (
FILTER (
'FINCNTRL',
FINCNTRL[wostatus.STATUS] IN { "FINAPPR", "FINCOMP", "COMP", "CLOSE" }
),
FINCNTRL[wostatus.CHANGEDATE]
),
BLANK ()
)
Get the result.
I attach my sample below for your reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Did you try ?
Works Completion Date = IF(FINCNTRL[wostatus.STATUS] IN {"FINAPPR", "FINCOMP", "COMP", "CLOSE"}, MAX(FINCNTRL[wostatus.CHANGEDATE]), BLANK())
Let us know