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.
Hello,
I am trying to calculate the incident rate by recordable incidents in Power Bi. I have it specified to pull the recordable incidents, but in the calculation I am using it is totaling all hours over all years. I need to know how to tell the function to only do YTD total or specify the calculation by year.
This is the measure I came up with
TRR = COUNT(IncidentReports[SeverityType])*200000/(SUMX(HoursWorkedCompilation,HoursWorkedCompilation[Manhours]))
The Hours Worked Table has multiple columns, the column is is pulling from has Man Hours. There is a separate column that specifies the year, but I cannot figure out how to tell it to do that.
HELP!
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
32 | |
14 | |
11 | |
10 | |
9 |