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
Anonymous
Not applicable

increasing values measure dax

hello everyone.

 

I have a dax measure question, and I would appreciate anyone who can help. 

 

The Dax measure I am trying to create should sum values between months and increase in by "x" percentage each month after

 

To be more precise am trying to:

  1. get the sum of the "values" of January and February
  2. then I would like for that the summed values of January and February to  continuously  increase by 0.02 each month  

please see the table below for reference, and the desired outcome as well

 

Screen Shot 2021-03-16 at 2.58.03 PM.png

 

I appreciate all the help I can get. Thank you!

 

 

2 ACCEPTED SOLUTIONS
Vera_33
Resident Rockstar
Resident Rockstar

Hi @Anonymous 

 

You want a measure or a calculated column? Here is a column

Vera_33_0-1615956187688.png

Column = 
VAR CurDate = Table1[Date]
VAR FirstValue = SUM(Table1[value])
VAR N = COUNTROWS( FILTER(Table1,Table1[Date]<CurDate))-1
RETURN
IF(Table1[value]=BLANK(),FirstValue+0.02*N,Table1[value])

View solution in original post

Anonymous
Not applicable

HI @Anonymous,

I think you can write a measure with variable and summarize function and replace the blank value to 0.02, then you can summary them based on the current date.

measure =
VAR currDate =
    MAX ( 'Table'[Date] )
VAR summary =
    SUMMARIZE (
        ALLSELECTED ( 'Table' ),
        [Date],
        "Replaced", MAX ( MAX ( 'Table'[Value] ), 0.02 )
    )
RETURN
    SUMX ( FILTER ( summary, [Date] <= currDate ), [Replaced] )

19.png

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

HI @Anonymous,

I think you can write a measure with variable and summarize function and replace the blank value to 0.02, then you can summary them based on the current date.

measure =
VAR currDate =
    MAX ( 'Table'[Date] )
VAR summary =
    SUMMARIZE (
        ALLSELECTED ( 'Table' ),
        [Date],
        "Replaced", MAX ( MAX ( 'Table'[Value] ), 0.02 )
    )
RETURN
    SUMX ( FILTER ( summary, [Date] <= currDate ), [Replaced] )

19.png

Regards,

Xiaoxin Sheng

Vera_33
Resident Rockstar
Resident Rockstar

Hi @Anonymous 

 

You want a measure or a calculated column? Here is a column

Vera_33_0-1615956187688.png

Column = 
VAR CurDate = Table1[Date]
VAR FirstValue = SUM(Table1[value])
VAR N = COUNTROWS( FILTER(Table1,Table1[Date]<CurDate))-1
RETURN
IF(Table1[value]=BLANK(),FirstValue+0.02*N,Table1[value])

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.

Top Solution Authors
Top Kudoed Authors