Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
I hope someone can help me. I am using a measure to sum hours and divide by 8 and multiply by 7.5, but I don't want to do the last step (/8 * 7.5) for hours after 1st of January 2024. How can I fix this in my measure? The measure below is not working.
Thanks a lot!
Solved! Go to Solution.
@BYENER
Try this measure:
Bruto Hours X =
SUMX (
Hours,
IF (
Hours[Datum] < DATE ( 2024, 01, 01 ),
DIVIDE ( Hours[X], 8 ) * 7.5,
Hours[X]
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@BYENER
Try this measure:
Bruto Hours X =
SUMX (
Hours,
IF (
Hours[Datum] < DATE ( 2024, 01, 01 ),
DIVIDE ( Hours[X], 8 ) * 7.5,
Hours[X]
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 86 | |
| 85 | |
| 68 | |
| 64 |