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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.