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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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