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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
tjordan
New Member

Display Past Due number of actions based on today's date

Hello all, I'm working on a Dashboard which should show all Past Due actions that have not been set as 'Complete' based on today's date. 

 

I have a date column called ‘Next Activity Due By’, which I am using to show as a timeline slicer for upcoming activities. It's currently showing some Activities we had to do in May which are overdue, however I want to have a graph/ card which displays in red - or something similar - the number of overdue activities which I should be able to view in detail when I click on the card/graph.

 

I need to create a formula to say IF Next Activity Due By’ -<TODAY AND Status is not 'Complete' THEN Output should be = 'Overdue' - that way I can show the count of the Overdue tasks as a card or use another chart.

 

How can I write this formula? I tried to create a conditional column, but it only allows does the IF - ELSE IF function. I need IF + AND. 

 

ps: How can I create a parameter that has today's date (TODAY(), so I can use it in the Conditional Column?

 

Any other ideas to solve this? 

 

Thank you,

 

 

 

 

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey,

 

using DAX you have to combine IF and AND in the following way ...

IF(AND(check condition1, check condition2), "overdue", "complete")

You have to be aware, that the DAX function AND(...) just accepts 2 conditions, if you have to check 3, this can be become a little messy like ...

IF(AND(AND(c1,c2),c3), ...)

Hopefully this gives you an idea.

 

Regards

Tom

 

 

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

1 REPLY 1
TomMartens
Super User
Super User

Hey,

 

using DAX you have to combine IF and AND in the following way ...

IF(AND(check condition1, check condition2), "overdue", "complete")

You have to be aware, that the DAX function AND(...) just accepts 2 conditions, if you have to check 3, this can be become a little messy like ...

IF(AND(AND(c1,c2),c3), ...)

Hopefully this gives you an idea.

 

Regards

Tom

 

 

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
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.