The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Team,
I am trying to do create a matrix table to plot Employee and Site in rows and total hrs and % of total hrs just for the specific employees in values.
When i plot this in power bi i get all rows 100% as seen in coloumn D. I would like to get the result as shown in coloumn E.
Solved! Go to Solution.
Measure:
_pct of employee hours =
DIVIDE(
[_total hours], //_total hours = sum(hours)
CALCULATE(
[_total hours],
ALL('Table'),
VALUES('Table'[Employee])
)
)
Measure:
_pct of employee hours =
DIVIDE(
[_total hours], //_total hours = sum(hours)
CALCULATE(
[_total hours],
ALL('Table'),
VALUES('Table'[Employee])
)
)