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
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:
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 38 | |
| 28 | |
| 27 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 73 | |
| 66 | |
| 65 |