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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

add previous row values in subgroup

Hi,

 

I have tables.

How should look DAX formula that adds the values of the previous line, it's about the earliest date for this category of data in the [Type]?

I mean like this:

1.png

 

 

 

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

@Anonymous

 

Try this one please

 

Creation2 =
CALCULATE (
    MIN ( Table1[Creation Time] ),
    FILTER (
        ALLEXCEPT ( Table1, Table1[Type] ),
        Table1[Creation Time] > EARLIER ( Table1[Creation Time] )
    )
)

View solution in original post

1 REPLY 1
Zubair_Muhammad
Community Champion
Community Champion

@Anonymous

 

Try this one please

 

Creation2 =
CALCULATE (
    MIN ( Table1[Creation Time] ),
    FILTER (
        ALLEXCEPT ( Table1, Table1[Type] ),
        Table1[Creation Time] > EARLIER ( Table1[Creation Time] )
    )
)

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.