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
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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.