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
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")
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |