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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
JohnA
Frequent Visitor

Calculate remaining balance of hours

Hi,

 

I have a report which is showing the sum of an employees weekly hours on a standard stacked column chart with a simple legend.  The time sheets are completed daily but the report sums weekly which is fine.  I need to calculate the number of hours under their weekly KPI their hours are.  i.e. if an employee has completed 35 hours and their KPI for a week is 40 then I need to show the total 40 hours on a stacked column chart showing this calculated difference as 'Unallocated'.

 

Any help greatly received.

 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @JohnA,

 

I think you can take a look at following link to know how to deal with your scenario and coding formula.

Calculating Working hours

 

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @JohnA,

 

I think you can take a look at following link to know how to deal with your scenario and coding formula.

Calculating Working hours

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

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.