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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ejneyman
New Member

Count number of items (training) past due based on their due date per employee

I have a table with employee names and when each training course was due and when it was completed.  I would like to be able to do a couple of things:

- produce a visual of a stacked chart that shows % complete and % remain of training for each person and then another by month

- produce a visual of a KPI that is either green or red based on criteria of number of training courses left to complete in fiscal year

Some things to note (or maybe they're problems??):

My fiscal year is from Oct - Sep.  Some of my fields of the date columns are blank. I do have a calendar table set up but I'm not sure exactly how to use helper tables.  Below is an example of the training table:

NameRequirement Complete Y/NDue DateCompletion Date
SmithY5/1/20235/31/2023
AndersonN11/2/2022 
AllenY8/31/20236/1/2023
1 REPLY 1
grazitti_sapna
Super User
Super User

Hi @ejneyman 

For % Complete, You can try using 

% Complete =
DIVIDE(
COUNTROWS(FILTER(TrainingTable, TrainingTable[Requirement Complete Y/N] = "Y")),
COUNTROWS(TrainingTable)
)

 

For % Remaining, use the following measure:

% Remaining = 1 - [% Complete]

 

Create a KPI visual based on the number of courses left to complete in the fiscal year:

Courses Left =
COUNTROWS(
FILTER(
TrainingTable,
TrainingTable[Requirement Complete Y/N] <> "Y" &&
YEAR(TrainingTable[Due Date]) = YEAR(TODAY()) &&
MONTH(TrainingTable[Due Date]) >= 10
)
)

 

Thank you. Hope this will help you.

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.

Top Solution Authors