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!View all the Fabric Data Days sessions on demand. View schedule
So my data would be structured as such:
I need to get the value associated per user based on the Max date.
So the result for User 1 would be 14 and the result for User 2 would be 2.
Ideally I would want this as a calculated column or in query editor
Solved! Go to Solution.
Hi, @PowerUser123
You can try the following methods.
Column:
Max =
IF (
[Date]
= CALCULATE (
MAX ( 'Table'[Date] ),
FILTER ( 'Table', [User] = EARLIER ( 'Table'[User] ) )
),
[Value]
)Max 2 =
CALCULATE (
SUM ( 'Table'[Value] ),
FILTER (
'Table',
[Date]
= CALCULATE (
MAX ( 'Table'[Date] ),
FILTER ( 'Table', [User] = EARLIER ( 'Table'[User] ) )
)
&& [User] = EARLIER ( 'Table'[User] )
)
)
These are the methods to find the maximum date correlation value.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @PowerUser123
You can try the following methods.
Column:
Max =
IF (
[Date]
= CALCULATE (
MAX ( 'Table'[Date] ),
FILTER ( 'Table', [User] = EARLIER ( 'Table'[User] ) )
),
[Value]
)Max 2 =
CALCULATE (
SUM ( 'Table'[Value] ),
FILTER (
'Table',
[Date]
= CALCULATE (
MAX ( 'Table'[Date] ),
FILTER ( 'Table', [User] = EARLIER ( 'Table'[User] ) )
)
&& [User] = EARLIER ( 'Table'[User] )
)
)
These are the methods to find the maximum date correlation value.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@PowerUser123 Create this measure:
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!