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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply

Track outstanding tasks per dataset source based on due date/status

I want to track outstanding tasks per dataset source based on due date/status.
Sheet: Appended_DataSet

Data Set SourceDue DateStatus
S116-Jul-23In Progress
S21-Aug-23In Progress
S317-Jul-23Completed


What dax expression can I use with my appended data set to say something like this: In my appended DataSet, count the rows in column 'DataSet Source' and calculate the # of rows(tasks) that are past the 'due date' and are not 'completed' based on today's date - I ideally want to have them displayed on the visual cards. (In the data set above row 2 would be flagged as past due given today's date Jul 18) I hope you don't mind, I tagged a few users because I saw that you had much experience with the DAX expressions@Jihwan_Kim @OwenAuger @johnt75 thanks so much in advance! 

4 REPLIES 4
Jihwan_Kim
Super User
Super User

Hi, 

Please check the below picture and the attached pbix file.

 

Jihwan_Kim_0-1689736336959.png

 

 

expected result measure: =
VAR _today =
    TODAY ()
VAR _t =
    FILTER ( Data, Data[Due Date] > _today && Data[Status] <> "Completed" )
RETURN
    COUNTROWS ( _t )


Microsoft MVP



If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.




LinkedInVisit my LinkedIn page




Outlook BookingSchedule a short Teams meeting to discuss your question



Hi @Jihwan_Kim thank you so much for your help! So i've done as you've suggested and though it does return a value - it seems to be an incorrect value.  In the snip I attached you can see the status indicated Not Started (something other than Completed) and the Final Due Date is before today's date but all of these have not been flagged as outstanding -any advice?

outstanding measureoutstanding measureDashboard outstanding item card with incorrect valueDashboard outstanding item card with incorrect value

I also attached the replica of your example - thank you!! 

Hi @Jihwan_Kim - wanted to follow up with you and see if you could help with this issue on your solution! 🙂

Hi @Jihwan_Kim - wanted to follow up with you and see if you could help with this issue on your solution! 🙂

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.