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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
emadrigals104
Frequent Visitor

How can I accumulate a % in dates in DAX?

Hi everyone, 

 

I am trying to perform a function that allows me to accumulate the percentage, but not using the traditional method with DATESYTD, because it takes the amounts and not the results of the monthly percentages.

 

The idea is to create both measure 1, as well as measure 2, which is the one that accumulates.

 

I appreciate your help.

 

emadrigals104_1-1654788700991.png

 

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

Hi @emadrigals104 ,

According to your description, here's my solution.

Create two measures.

Measure1 = DIVIDE(MAX('Table'[Value2]),MAX('Table'[Value1]))
Measure2 =
SUMX (
    FILTER ( ALL ( 'Table' ), 'Table'[Date] <= MAX ( 'Table'[Date] ) ),
    [Measure1]
)

Get the result.

vkalyjmsft_0-1655112229662.png

I attach my sample below for reference.

 

Best Regards,
Community Support Team _ kalyj

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-yanjiang-msft
Community Support
Community Support

Hi @emadrigals104 ,

According to your description, here's my solution.

Create two measures.

Measure1 = DIVIDE(MAX('Table'[Value2]),MAX('Table'[Value1]))
Measure2 =
SUMX (
    FILTER ( ALL ( 'Table' ), 'Table'[Date] <= MAX ( 'Table'[Date] ) ),
    [Measure1]
)

Get the result.

vkalyjmsft_0-1655112229662.png

I attach my sample below for reference.

 

Best Regards,
Community Support Team _ kalyj

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors