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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
JEM_Systems
Helper I
Helper I

Get the value before the LASTNONBLANKVALUE

Hi, I'd like to know how to get the value before the value returned by LASTNONBLANK function, could someone help me? @

1 REPLY 1
amitchandak
Super User
Super User

@JEM_Systems , Before a date/month/year ? We need a context for that

 

example

calculate(lastnonblankvalue(Table[Date], Sum(Table[Value])) , Filter(All(Date), Date[Date] <= Max(date[Date]) ) )

 

Power BI : Firstnonblankvalue, Lastnonblankvalue : https://youtu.be/cN8AO3_vmlY?t=26940

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors