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.
Hi all,
I have a data set that looks something like this:
Group | Value | Date |
A | 8 | 1/12/20 |
B | 9 | 1/12/20 |
A | 6 | 1/1/20 |
B | 8 | 1/1/20 |
I would like to create a measure that gives the latest value as the output for each group. For example, in this case, I would like the measure to output 6 for group A, and 8 for group B. I am working with live data. Therefore, data will be updated every month to include the month's group and value. For example, when it is February, 2 new rows will appear with their own unique values. I would like to just pull out the latest values only. Any help would be appreciated. Thanks
Solved! Go to Solution.
@Anonymous , Try a measure like
calculate(max(Table[Value]), filter(Table, Table[Date] = calculate(Min(Table[Date]), allexcept(Table, Table[Group])))
Two meausres
calculate(max(Table[Value]), filter(Table, Table[Date] = calculate(Min(Table[Date]), allexcept(Table, Table[Group]))) , Table[group] = "A")
calculate(max(Table[Value]), filter(Table, Table[Date] = calculate(Min(Table[Date]), allexcept(Table, Table[Group]))) , Table[group] = "B")
@Anonymous , Try a measure like
calculate(max(Table[Value]), filter(Table, Table[Date] = calculate(Min(Table[Date]), allexcept(Table, Table[Group])))
Hi maybe i didnt explain it properly. I would like to create 2 measures. One for group A and one for Group B.
Two meausres
calculate(max(Table[Value]), filter(Table, Table[Date] = calculate(Min(Table[Date]), allexcept(Table, Table[Group]))) , Table[group] = "A")
calculate(max(Table[Value]), filter(Table, Table[Date] = calculate(Min(Table[Date]), allexcept(Table, Table[Group]))) , Table[group] = "B")
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.