Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
In Power Query I have a table with 2 date columns. I use Table.TransformColumnTypes(#"Inserted Maximum",{{"Date1", type date}, {"Date2", type date}, {"Maximum", type date}}) in order to obtain the max of the 2 date values. This seems to work in Power Query and I see the max of the 2 dates for each row in the table. When I then apply this to Power BI, the max date then applies to the maximum of the 2 columns in their entirety and not for each row. If I go back to "Transform Data" the maximum dates are definitely for each row, but this is lost when applying to Power BI.
Any ideas what I am doing wrong and/or how to obtain the max date for each row from 2 columns?
Thanks in advance,
Dowsey
Solved! Go to Solution.
in DAX, it is like:
Column = MAX( [Date1], [Date2] )
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.