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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
jslayer111
Frequent Visitor

Determine if task was completed on time or past due

I am trying to find a way to show a task as being on time or past due.  I have created date, completed date, and due date all listed but can't seem to find a way to make this work.  

 

jslayer111_0-1617222033409.png

 

 

 

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @jslayer111 

 

Download sample PBIX file

 

Using this measure

CompletedStatus = IF(SELECTEDVALUE(Table1[Completed Date]) <= SELECTEDVALUE(Table1[Due Date]), "On Time", "Past Due")

Is this what you want:

status1.png

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

1 REPLY 1
PhilipTreacy
Super User
Super User

Hi @jslayer111 

 

Download sample PBIX file

 

Using this measure

CompletedStatus = IF(SELECTEDVALUE(Table1[Completed Date]) <= SELECTEDVALUE(Table1[Due Date]), "On Time", "Past Due")

Is this what you want:

status1.png

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.