The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi Community
I have just used the following M Code to try and output the max date of two columns
= List.Max({[Appointment Date]}&{[Appointment Date]})
I used the code provided in the link below.
Solved: How to get a MAX date between two columns in a pow... - Microsoft Power BI Community
However I need help in editing the code so that it deals with null values. As you can see in my example below. I would expect the
#1 null to be 14/03/2023 a (circled below). # 2 null seems to be working
thank you
Richard
Solved! Go to Solution.
Hi,
Perhaps new conditional column could fix it for you? if appointment date equals null then column maxjobnoteaddedwhen else appointment date.
If adding extra column is not an issue for you, this should help.
Kr,
A
Thank you for responsing so quickly😊
Hi,
Perhaps new conditional column could fix it for you? if appointment date equals null then column maxjobnoteaddedwhen else appointment date.
If adding extra column is not an issue for you, this should help.
Kr,
A