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

Look for a specific key in subsequent rows - calculated columns

Hi,

 

I am having a hard time doing a calculated column that needs to, for each row, look for the next row that contains the same "ObjectKey" in the earliest timespan, and then do the current "Value of interest" - previous "Value of interest"

 

Example below:

In position [A] of the calculated column, we do Value of interest (1881598) - Value of interest (165108), because this is the next row with the same object key.

I've tried using the EARLIER function or simple variables with Calculate and filters, but it did not succeed.

Jess123_1-1648152198694.png

 

 

2 ACCEPTED SOLUTIONS
Whitewater100
Solution Sage
Solution Sage

Hi:

Can you share the data? Thanks

View solution in original post

4 REPLIES 4
Jess123
New Member

Hi, please find the dataset sample attached (I could not manage to attach the pbix file)

 

dataset dax issue.xlsx

Thanks! It worked

Whitewater100
Solution Sage
Solution Sage

Hi:

Can you share the data? Thanks

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors