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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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] )
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |