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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Top Solution Authors