March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi Community,
I need to calculate prev week spend which I tried from my end but at the measure total getting wrong result. Attaching sample data and screen shot below. Any help would be highlighly appreciated.
Spend | Week | Date | Expected Result |
120 | 1 | 01-Jan-23 |
|
130 | 2 | 02-Jan-23 | 120 |
150 | 2 | 03-Jan-23 | 130 |
120 | 2 | 04-Jan-23 | 150 |
110 | 2 | 05-Jan-23 | 120 |
90 | 2 | 06-Jan-23 | 110 |
56 | 2 | 07-Jan-23 | 90 |
58 | 2 | 08-Jan-23 | 56 |
36 | 3 | 09-Jan-23 | 58 |
90 | 3 | 10-Jan-23 | 36 |
120 | 40 | 01-Oct-22 | 0 |
230 | 40 | 02-Oct-22 | 120 |
220 | 41 | 03-Oct-22 | 230 |
100 | 41 | 04-Oct-22 | 220 |
Solved! Go to Solution.
Hi,
you need to add a Year column in your Table
If this post is useful to help you to solve your issue, consider giving the post a thumbs up and accepting it as a solution!
Hi,
you need to add a Year column in your Table
If this post is useful to help you to solve your issue, consider giving the post a thumbs up and accepting it as a solution!
@serpiva64 Thanks a ton! you saved me again 😊
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |