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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Dclunie
Frequent Visitor

Date earlier than today

Hi all.

Apologies in advance novice user who just started using power bi desktop.

I need a way to report in a custom column called “ Date Status” with a text file based on criteria.

We have ten date columns that are all linked to 10 tasks, and these have a due date within them.

 

I need to query all columns at the same time and if any dates are in the past, the text in the row to read “Late” else “ On target”

 

Can anyone show me an example of this working.

 

Thanks

 

D

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@Dclunie 

maybe you can try this

= Table.AddColumn(#"Changed Type", "Custom", each if List.MatchesAll(List.Skip(Record.ToList(_)),each   _> #date( Date.Year(DateTimeZone.LocalNow()),Date.Month(DateTimeZone.LocalNow()),Date.Day(DateTimeZone.LocalNow()))) then "Late" else "on target")

1.PNG

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
ryan_mayu
Super User
Super User

@Dclunie 

maybe you can try this

= Table.AddColumn(#"Changed Type", "Custom", each if List.MatchesAll(List.Skip(Record.ToList(_)),each   _> #date( Date.Year(DateTimeZone.LocalNow()),Date.Month(DateTimeZone.LocalNow()),Date.Day(DateTimeZone.LocalNow()))) then "Late" else "on target")

1.PNG

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.