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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi there
I have a table set up like this
I wish to create a table visual which takes the sum of the most recent values for each ID for every rounded date time. So the desired output would look like this
I am using direct query mode.
Any help is much appreciated.
Thanks
Hi,
I assume the table name is "Data".
Please try the below DAX measure if it suits your requirement.
Expected result dax measure: =
SUMX (
WINDOW (
-1,
ABS,
-1,
ABS,
SUMMARIZE ( Data, Data[ID], Data[DateTime], Data[Value] ),
ORDERBY ( Data[DateTime], ASC ),
,
PARTITIONBY ( Data[ID] )
),
Data[Value]
)
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 49 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 91 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |