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
LaurenceSD
Advocate II
Advocate II

Pulling through previous entry by line via Calculated Column

Hi, 

 

I'm trying to find a method of adding in a calculated column to show a bookings previous DebtorStatus & Category.

 

So in the example below for 420332 the 7th March I'd want to see Paid as the PreviousDebtorStatus on the 7th March (as this is the DebtorStatus on the 6th March), but the PreviousDebtorStatus  for the 6th of March should read Overpaid (as this is the DebtorStatus on the 28th Feb) and on the 28th Feb the PreviousDebtorStatus should be blank, as there was no data prior to this.

 

LaurenceSD_0-1678189200489.png

 

the data is all organised in one table, with one entry per booking, per date (although new bookings will be added all the time and so won't have the historical element).

 

I've tried using SELECTEDVALUE but to no avail, any insight or solutions would be greatly appreciated

 

Thanks

 

Laurence

 

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User
1 REPLY 1
Ahmedx
Super User
Super User

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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