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.
I have a log of changes that took place for a series of items. I need to determine what the last change was and to what value it was set on the first day of changes being made for each individual item.
Table with expected results outlined below.
Item name | Datetime US (simplified here) | Original Value | New Value |
Item1 | 01/01/24 09:00 | null | 100 |
Item1 | 01/01/24 10:00 | 100 | 50 |
Item1 | 02/01/24 09:00 | 50 | 200 |
Item 2 | 02/01/24 09:00 | null | 1000 |
Item 2 | 03/01/24 12:00 | 1000 | 2000 |
Item 3 | 05/01/24 10:00 | 400 | 300 |
Item 3 | 05/01/24 10:01 | 300 | 500 |
Item 3 | 06/01/24 09:00 | 500 | 550 |
Item 4 | 01/01/24 11:00 | null | 750 |
I have a good idea of how to do this in SQL but as this data comes straight from source I need to resort to using either DAX or M-Query for this task, and I would appreciate any help to achieve this!
Solved! Go to Solution.
For fun only, to showcase the power of Excel formulas,
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LeanAndPractise(Everyday) ) |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
142 | |
75 | |
64 | |
52 | |
47 |
User | Count |
---|---|
219 | |
89 | |
73 | |
66 | |
60 |