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

View all the Fabric Data Days sessions on demand. View schedule

Reply
vijaykumarj19
Microsoft Employee
Microsoft Employee

Cumulative total for no data

attributevalue
x112
x222
x331
x40

x5

0

 

cummulate total 

 

CALCULATE(

    SUM(Table[value]),
        FILTER(
        ALLSELECTED(table[attribute]]),
        ISONORAFTER('table[attribute] , MAX(table[attribute]) , DESC)
))
 
its showing cumulative for o values also , need to exclude cumulate where there is no value
2 REPLIES 2
amitchandak
Super User
Super User

@vijaykumarj19 , Try if this can work

CALCULATE(
SUM(Table[value]),
FILTER(
ALLSELECTED(table[attribute]]),
ISONORAFTER(table[attribute] , MAX(table[attribute]) , DESC) && Table[value] >0
))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Value i have is a measure 

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.