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.
Dear,
I have the following data table:
CURRENT STATE DATE1 DATE2 DATE3
On-going May 21 Jun 21 Ago 21
Late APR 20 Jun 20
[Blank] APR 20 Jun 20
On-going Jan 21 Feb 21
I would like to have a new column that take the max value between DATE1, DATE2 and DATE3 when CURRENT STATE is not Empty, so:
CURRENT STATE DATE1 DATE2 DATE3 New Value
On-going May 21 Jun 21 Ago 21 Ago 21
Late APR 20 Jun 20 Jun 21
[Blank] APR 20 Jun 20 [Blank]
On-going Jan 21 Feb 21 Feb 21
Thank you!!!!
LD
Solved! Go to Solution.
Something like this;
Max Value = VAR ValueTable = UNION( ROW(“Value”,SUM(Data[Revenue])), ROW(“Value”,SUM(Data[Revenue])), ROW(“Value”,SUM(Data[Revenue])), ROW(“Value”,[Measure1]) ) RETURN MAXX(ValueTable,[Value])
Proud to be a Super User!
Awesome Keyboard Shortcusts in Power BI, thumbs up if you like the article
My Community Blog Articles (check them out!)
My Blog - Power M code to automatically detect column types -
How to create test data using DAX!
Something like this;
Max Value = VAR ValueTable = UNION( ROW(“Value”,SUM(Data[Revenue])), ROW(“Value”,SUM(Data[Revenue])), ROW(“Value”,SUM(Data[Revenue])), ROW(“Value”,[Measure1]) ) RETURN MAXX(ValueTable,[Value])
Proud to be a Super User!
Awesome Keyboard Shortcusts in Power BI, thumbs up if you like the article
My Community Blog Articles (check them out!)
My Blog - Power M code to automatically detect column types -
How to create test data using DAX!
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.