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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
12 | |
11 | |
10 | |
9 |