Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Custom column that calculates the max date from a group of values from another field

Example:

idgroupdatecustom
1apples7/1/20227/2/2022
2apples7/2/20227/2/2022
3bananas7/1/20227/3/2022
4bananas7/3/20227/3/2022

 

2 ACCEPTED SOLUTIONS
vapid128
Solution Specialist
Solution Specialist

calculate(max([date]),ALLEXCEPT([group])

View solution in original post

calculate(max([date]),ALLEXCEPT([group]) = [date]

View solution in original post

4 REPLIES 4
vapid128
Solution Specialist
Solution Specialist

calculate(max([date]),ALLEXCEPT([group])

Anonymous
Not applicable

Thanks. Is there a way to use the above but compare each row's custom column against the date column and return a boolean 1,0 if they equal each other?

calculate(max([date]),ALLEXCEPT([group]) = [date]

daXtreme
Solution Sage
Solution Sage

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.