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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
shuhn1229
Resolver I
Resolver I

help with a cumulative total visual

hi all,

 

I have a visual that sort of looks like the below

shuhn1229_0-1710533540321.jpeg

I developed a measure for this and placed in in the y axis 

 

CALCULATE (
    COUNT( 'Table'[Name] ),
    FILTER ( 
        ALL ( 'Table' ),
        'Table'[Bucket] <= MAX ( 'Table'[Bucket] )
    ),
    VALUES ( 'Table'[Column1] )
)

 

 

The measure works appropriately when I have a slicer populated with a value from Column 1 selected. However, I get nonsense results when I add a slicer for Column 3 and try to slice by that metric. I should add, for every distinct value of Column 1 there tends to be just value of Column 3. But Column 3 can contain many values of Column 1.

 

Thanks!

1 ACCEPTED SOLUTION
shuhn1229
Resolver I
Resolver I

CALCULATE (
    COUNT( 'Table'[Name] ),
    FILTER ( 
        ALLSELECTED( 'Table' ),
        'Table'[Bucket] <= MAX ( 'Table'[Bucket] )
    ),
    VALUES ( 'Table'[Column1] )
)

View solution in original post

1 REPLY 1
shuhn1229
Resolver I
Resolver I

CALCULATE (
    COUNT( 'Table'[Name] ),
    FILTER ( 
        ALLSELECTED( 'Table' ),
        'Table'[Bucket] <= MAX ( 'Table'[Bucket] )
    ),
    VALUES ( 'Table'[Column1] )
)

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors