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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.