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
Nick435
New Member

How to create column based on previous value in same calculated column?

Hello,

 

any one can help to create calculated column or measure for the "Expect" column?

Nick435_0-1714282648838.png

thank you

1 ACCEPTED SOLUTION
DataNinja777
Super User
Super User

Hi @Nick435 

 

I think there are multiple ways to achive your required output, and the following is one of them:

You can create helper columns to get the result you need:

DataNinja777_1-1714289741944.png

I attach the pbix file below:

 

 

View solution in original post

2 REPLIES 2
DataNinja777
Super User
Super User

Hi @Nick435 

 

I think there are multiple ways to achive your required output, and the following is one of them:

You can create helper columns to get the result you need:

DataNinja777_1-1714289741944.png

I attach the pbix file below:

 

 

Thank you so much.  it works!!! 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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