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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
bubbledep
Regular Visitor

How to collect the previous not blank data to fill down?

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

Hi @bubbledep ,

 

Modify formula like below:

M_ =
VAR result_ =
    AVERAGEX (
        FILTER ( 'Table', 'Table'[Date] = MAXX ( 'Table', 'Table'[Date] ) ),
        [Value]
    )
RETURN
    IF (
        MAX ( 'Table'[Date] ) = MAXX ( ALL ( 'Table' ), 'Table'[Date] ),
        result_,
        MAX ( 'Table'[Value] )
    )

vkongfanfmsft_0-1716256607331.png

 

 

Best Regards,
Adamk Kong

 

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

Hi @bubbledep ,

 

Modify formula like below:

M_ =
VAR result_ =
    AVERAGEX (
        FILTER ( 'Table', 'Table'[Date] = MAXX ( 'Table', 'Table'[Date] ) ),
        [Value]
    )
RETURN
    IF (
        MAX ( 'Table'[Date] ) = MAXX ( ALL ( 'Table' ), 'Table'[Date] ),
        result_,
        MAX ( 'Table'[Value] )
    )

vkongfanfmsft_0-1716256607331.png

 

 

Best Regards,
Adamk Kong

 

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

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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