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
Anonymous
Not applicable

Trying to make a measurement of the values coming from another measurement, not the formula.

If you see below, I am trying to make a card that shows total overtime hours. The table next to it shows that there are 0 OT hours. However, the card says there are 2.25. I know it is because it summing the hours of all the workers, which comes to be greater than 40, but I want it to just sum the column of 0's. The equation for OT hours is 

 

Payroll Overtime pay = if(sum(labtrans[regularhrs])>=40,(sum(labtrans[regularhrs])-40)*.5,0)*76

 

aherna12_0-1693251856085.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

https://www.youtube.com/watch?v=Rii_6qkLNh8

 

This video helped me figure out my issue. Thanks everybody!

View solution in original post

1 REPLY 1
Anonymous
Not applicable

https://www.youtube.com/watch?v=Rii_6qkLNh8

 

This video helped me figure out my issue. Thanks everybody!

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.

Top Kudoed Authors