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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I'm trying to perform what seems like simple calcuations in my Power BI and keep getting the wrong totals. I think the confusion is when to use a measure or a calculated column.
I need to find a providers total worked hours divided by their total expected hours, over the last 4 weeks. I start with a calculated column:
Hi,
Thanks for the solution @VN999 and @Ashish_Mathur provided, and i want to offer some more infotmation for user to refer to.
hello @aashton , based on your description, you can add allselected() function, if it cannot help you, can you provide some smaole data that can offer some more information for you.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Try this below option:
Total FTE Monthly =
DIVIDE(
[Total Hours Worked Last 4 Weeks],
[Expected Per 4 Weeks],
0 // Optional: Handle division by zero
)
DIVIDE function divides Total Hours Worked Last 4 Weeks by Expected Per 4 Weeks. The optional third parameter (0) handles cases where the denominator is zero, returning 0 instead of an error.
Hi,
Share some data to work with, explain the question and show the expected result. Share data in a format that can be pasted in an MS Excel file.