Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
New to Powerbi and lots of really useful contact in previous posts.
I would usually use LOOKUPVALUE to search for a booking ID in a separate table and return the created time. This time though the table where I am searching has multiple lines for the same BookingID. I am looking for the created time only for the line when it has a particular text string within the description column as in row2 (....Internal system).
Thanks in advance
Solved! Go to Solution.
Try this calculated column:
Created Date =
VAR vBookingID = BookingMain[Booking ID]
VAR vBookingDetails =
FILTER (
BookingDetail,
BookingDetail[Booking ID] = vBookingID
&& CONTAINSSTRING ( BookingDetail[Description], "Internal System" )
)
VAR vResult =
MAXX ( vBookingDetails, BookingDetail[Created Date] )
RETURN
vResult
Proud to be a Super User!
Try this calculated column:
Created Date =
VAR vBookingID = BookingMain[Booking ID]
VAR vBookingDetails =
FILTER (
BookingDetail,
BookingDetail[Booking ID] = vBookingID
&& CONTAINSSTRING ( BookingDetail[Description], "Internal System" )
)
VAR vResult =
MAXX ( vBookingDetails, BookingDetail[Created Date] )
RETURN
vResult
Proud to be a Super User!
Perfect thanks
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.