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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
hugo_p_23
Frequent Visitor

Get non blank value from previous row

Hi,

 

I need to create a column that fetches the last non-blank value as an example.

Initial data:

hugo_p_23_0-1707317087584.png

 

Column that i need to create:

hugo_p_23_1-1707317140852.png

Yellow column it's the goal, green column is to exemplify the logic, if the column "Avaliação Final" have data, i use that data, if the follow rows doesn't have, i use the previous data available.

 

Thanks

Hugo

 

 

2 ACCEPTED SOLUTIONS
ThxAlot
Super User
Super User

ThxAlot_0-1707321156076.png

 

For fun only, a showcase of powerful Excel formulas,

ThxAlot_1-1707321218957.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LeanAndPractise(Everyday)


)



View solution in original post

I forgot to mention that i also need to filter by customer, i need the previous status by cliente too:

hugo_p_23_1-1707322579094.png

 

View solution in original post

2 REPLIES 2
ThxAlot
Super User
Super User

ThxAlot_0-1707321156076.png

 

For fun only, a showcase of powerful Excel formulas,

ThxAlot_1-1707321218957.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LeanAndPractise(Everyday)


)



I forgot to mention that i also need to filter by customer, i need the previous status by cliente too:

hugo_p_23_1-1707322579094.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.