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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
KathyO
Frequent Visitor

Comparing columns of data and flagging if value is more than a stated value

I'm trying to come up with a matrix which shows whether employees work more than their contracted hours of work.  I need to know how often this occurs over a 13 week period.

I have a matrix which shows each employee, and the 13-week period I'm analysing with hours worked each week.

KathyO_0-1712108515104.png

 

In a separate data source, I have the list of employees and their agreed contracted hours.  These two tables are linked through a relationship between the 'Employee Name' field.

KathyO_1-1712108852807.png

I'm hoping I can get some sort of measure or filter that compares the hours worked each week with the contracted hours for each employee, and flags when the hours worked are more than contracted.

 

For audit purposes, I would ideally like some kind of visual... ideally the matrix (as per the first screenshot) with the values where the hours worked exceeds the contracted hours highlighted, and a count of the total times that has occured in the 13 week period in a column at the end.  

 

Help please!

 

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

Share the download link of the PBI file and the source Excel file (from which tables would have been imported into PBI). 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi, I'm not sure how to share the download link of the PBI file?  And can I privately send you the source excel file?

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.