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
Anonymous
Not applicable

Date completed - Date needed = Yes/No

Hello I am looking to make a measure for a new column 'In Compliance' that tells if an action Item was completed on or before the date needed, so somthing like;

 

Date completed - Date needed = Yes/No 

 

For example

Jbarfield108_1-1597244248519.png

 

1 ACCEPTED SOLUTION
camargos88
Community Champion
Community Champion

Hi @Anonymous ,

 

Use this code for a new calculated column:

In Compliance = IF('Table'[Date Completed] <= 'Table'[Date Needed], "Yes", "No")


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

Proud to be a Super User!



View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous ,

new column = if([Date completed] = [Date needed],"Yes","No")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
camargos88
Community Champion
Community Champion

Hi @Anonymous ,

 

Use this code for a new calculated column:

In Compliance = IF('Table'[Date Completed] <= 'Table'[Date Needed], "Yes", "No")


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

Proud to be a Super User!



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.