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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jalaomar
Helper IV
Helper IV

Latest value from date field

Hello,

 

I have a dataset where I get the cumulative value each month and within that same column there is full year Budget and Forecast value 2023-12-01

 

What I want to do it to capture the latest value from the latest month (July 2023)

but using below measure, it return the 2023-12-01 value, how can I modify so that it excludes the buget and forecast value?

 

Last FI Value = CALCULATE( SUM(RPM[Orders received]); FILTER(RPM;RPM[Date]=MAX(RPM[Date])))
 
in the table there are the following column, So would like to extract value for July month (1000) only.
 
anyone who can support?
 
jalaomar_0-1691480642376.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @jalaomar 

 

You can try the following methods.

Last FI Value =
CALCULATE (
    SUM ( RPM[Orders received] ),
    FILTER (
        RPM,
        RPM[Date]
            = CALCULATE ( MAX ( RPM[Date] ), FILTER ( ALL ( RPM ), [Date] <= TODAY () ) )
    )
)

veqinmsft_0-1691633070759.png

Is this the result you expected?

 

Best Regards,

Community Support Team _Charlotte

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

2 REPLIES 2
Anonymous
Not applicable

Hi, @jalaomar 

 

You can try the following methods.

Last FI Value =
CALCULATE (
    SUM ( RPM[Orders received] ),
    FILTER (
        RPM,
        RPM[Date]
            = CALCULATE ( MAX ( RPM[Date] ), FILTER ( ALL ( RPM ), [Date] <= TODAY () ) )
    )
)

veqinmsft_0-1691633070759.png

Is this the result you expected?

 

Best Regards,

Community Support Team _Charlotte

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

@Anonymous Awsome this is exactly what I was looking for 

Thanks!

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.