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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jbuzaglu
Frequent Visitor

Cumulative Total by SKU, reset by each store

Hi all, 

 

I have the following dynamic table, that changes as I change dates:

 

jbuzaglu_1-1677785076337.png

 

 

I wish to have a measure with the cumulative total of those SKUs, by store name. 

 

The main issue I am having is that the Units measure is not compatible with SUM function, since this is a live connection.

 

Any help is super appreciated 🙂

 

2 REPLIES 2
jbuzaglu
Frequent Visitor

thank you for the file and the response Jing. However when I input the measure, I get an eternal loop. And it doesnt recognize the data. 😞

v-jingzhang
Community Support
Community Support

Hi @jbuzaglu 

 

You could try this measure

Cumulative Units = SUMX(FILTER(ALL('Table'[SKU]),'Table'[SKU]<=MAX('Table'[SKU])),[Units CY])

vjingzhang_0-1678157731648.png

In my sample file, [Units CY] is a simple measure with SUM: Units CY = SUM('Table'[Units]). 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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