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
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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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