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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
ilcaa722
Frequent Visitor

Test if Date is less than Jan 1

i have an embedded Table and want to check if any of the values in a Date column is below a certain date...

 

in the formula in screenshot i get error..." we cannot apply operator < to types List and Number", what would be the correct syntax?

 

thanks

= Table.AddColumn(Source, "Called NovDec", each List.AnyTrue( { [MD_call_Data][Date] < 1/1/2023 } ) )

ilcaa722_0-1678795187624.png

 

1 ACCEPTED SOLUTION
Vijay_A_Verma
Super User
Super User

Use this

= Table.AddColumn(Source, "Called NovDec", each List.AnyTrue( List.Transform([MD_call_Data][Date], each _ < #date(2023,1,1))))

View solution in original post

1 REPLY 1
Vijay_A_Verma
Super User
Super User

Use this

= Table.AddColumn(Source, "Called NovDec", each List.AnyTrue( List.Transform([MD_call_Data][Date], each _ < #date(2023,1,1))))

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors