Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I am attempting to calculate the total value of a category up until the previous week (cut off on the friday of that week) and then have another column that shows the current count at that point in time. So i can then total the difference to utilize conditional formatting to show the change on a rolling basis. I have a date table with week numbers and a table with the values. Is this possible with DAX?
Category | Total Amount up until last week (excluding current week) | Total Amount current (Including current week) | Difference |
A | 12 | 15 | 3 |
B | 11 | 8 | -3 |
C | 5 | 7 | 2 |
D | 1 | 0 | -1 |
Hi,
I am not sure if I understood your question correctly, but check the below picture and the sample pbix file's link down below.
All measures are in the sample pbix file.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
41 | |
21 | |
21 | |
14 | |
13 |
User | Count |
---|---|
43 | |
36 | |
33 | |
18 | |
18 |