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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I have a budget value which is fixed for a year. I want to subtract for each month and remaining value should subtract the next month.
The table us given below:
D | F |
|
25 | 475 | 500 |
50 | 425 | |
100 | 325 | |
75 | 250 | |
45 | 205 | |
250 | -45 |
My constant value is 500 so if we subtract 500-25 = 475.
475 should subtract next valuein the column like 475-50 = 425, 425-100=325, 325-75 = 50.Please help get the column F. Your help would be highly appreciated.
Thank you
Solved! Go to Solution.
@Junaid11 - Here's one one to do it where you create a running total.
Proud to be a Super User!
Hi @Junaid11,
Use your date column to rank the values in column D.
Rank = RANKX('Table','Table'[Date],,ASC)
Then use this formula to create column F.
F = 500 - SUMX('Table',IF('Table'[Rank]<=EARLIER('Table'[Rank]),'Table'[D],0))
Works for you? Mark this post as a solution if it does!
Check out this blog of mine: How to Export Telemetry Data from Azure IoT Central into Power BI
@Junaid11 - Here's one one to do it where you create a running total.
Proud to be a Super User!
@Junaid11 - whoops! I just realized I didn't fix the Total row.
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!