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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors