Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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]
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
102 | |
66 | |
48 | |
40 | |
34 |
User | Count |
---|---|
166 | |
112 | |
60 | |
56 | |
37 |