Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
wvdmpowerbi
Regular Visitor

SUMIF and Compounding formula

Hi 

 

I have the below dataset, what im looking to do is to say:

 

Rounddown(Week 02 + Week 01,0) i.e 1,022.27 -15.48 = 1,006

Then moving the forumla needs to flow each week so:

 

1,022.27 - 1,006 -15.48 = 0.79

 

Then: Week 03: rounddown(1,985.6+0.79)  = 1,986

 

Then again:  0.79 +1,985.6-1,986 = 0.39

 

going forward this needs to flow each week and be a measure

 

Thanks

 

Capture.PNG

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @wvdmpowerbi 

I'm afraid it is impossible with measure/column.

You may write python code to implement it.

 

Best Regards
Maggie

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.