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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I'd like to create a new column that calculates the percentage of hours as it relates to the sum of the hours, and do this by project #, and by the D/P column. For example, the value I'd like in the new column in the first row should show .4867 because 11.38/sum(11.38,8,4)=.4867. I'm not sure where to even start. Thanks.
Solved! Go to Solution.
You can refer to the following column
Column =
VAR a =
CALCULATE (
SUM ( 'Table'[Hours] ),
FILTER (
'Table',
[Project #] = EARLIER ( 'Table'[Project #] )
&& [D/P] = EARLIER ( 'Table'[D/P] )
)
)
RETURN
DIVIDE ( [Hours], a )
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.
You can refer to the following column
Column =
VAR a =
CALCULATE (
SUM ( 'Table'[Hours] ),
FILTER (
'Table',
[Project #] = EARLIER ( 'Table'[Project #] )
&& [D/P] = EARLIER ( 'Table'[D/P] )
)
)
RETURN
DIVIDE ( [Hours], a )
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.
Thank you so much for your help!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 59 | |
| 42 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 109 | |
| 102 | |
| 39 | |
| 29 | |
| 29 |