The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Essentially I want something that will populate the overdue column with the word's "Overdue" if the End Date exceeds Now(). I've tried several IF statements and none of them seem to work, or they only calculate based on MM/DD and not the year.
The End date Column is formated as such:
And the Overdue Column is formatted this way:
If possible I would also like it to use the %Done Column as a 100% completion implies that nothing is overdue.
Thanks for any help you all can provide!
Solved! Go to Solution.
Hi @Anonymous ,
Your End Date is in the MM/DD/YYYY format.
Change the sign
Overdue = IF ( 'Table'[End Date] < TODAY(), "Overdue" )
What about
09/01/2020. Hope you are reading it as 1st September,2020. This will also not be overdue then.
Regards,
Harsh Nathani
HI @Anonymous ,
Use Today () instead of NOW()
Overdue = IF ( 'Table'[End Date] > TODAY(), "Overdue" )
Incase you want to use NOW()
Column = if ('Table'[End Date] > (DATE(year(now()),month(now()),day(now()))) ,"Overdue")
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
It's listing things that are overdue, when they're not.
Hi @Anonymous ,
Cannot find any such issues in the screenshot you shared.
Can you mark which or highlight which row is causing an issue.
The one marked in Red, 30th Aug is greater then TODAY().
Cheers,
Harsh Nathani
The End Dates are all later this year (so they're not past due yet) OR they're early next year. (2021)
Hi @Anonymous ,
Your End Date is in the MM/DD/YYYY format.
Change the sign
Overdue = IF ( 'Table'[End Date] < TODAY(), "Overdue" )
What about
09/01/2020. Hope you are reading it as 1st September,2020. This will also not be overdue then.
Regards,
Harsh Nathani
@Anonymous try this
Overdue = IF ( Table[End Date] > TODAY(), "Overdue" )
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.