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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jdobbins
Frequent Visitor

Guidance on how to sum columns in matrix for waterfall payment report

Hi, I am working on a report that shows payments over time collected for a specific charge month. For example, in the screenshot below I have a row for charges posted in the month of January and the columns are showing months out from charge post. I would like to have the values for months out from 0-12 be cumulative instead of showing how how much in payments was collected each month.  Any help is appreciated. Thank you.

 

jdobbins_0-1674144427321.png

 

1 ACCEPTED SOLUTION
v-rzhou-msft
Community Support
Community Support

Hi @jdobbins ,

 

I suggest you to try measure as below.

Cumulative for each column =
CALCULATE (
    SUM ( 'TableName'[Value] ),
    FILTER (
        ALLEXCEPT ( 'TableName', 'TableName'[Column in Matrix Column Field] ),
        'TableName'[Date] <= MAX ( 'TableName'[Date] )
    )
)

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
v-rzhou-msft
Community Support
Community Support

Hi @jdobbins ,

 

I suggest you to try measure as below.

Cumulative for each column =
CALCULATE (
    SUM ( 'TableName'[Value] ),
    FILTER (
        ALLEXCEPT ( 'TableName', 'TableName'[Column in Matrix Column Field] ),
        'TableName'[Date] <= MAX ( 'TableName'[Date] )
    )
)

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors