Forum Discussion
Pivot data filtered by another table column
- Jun 09, 2023
Perhaps as
FTE-CS := SUMX ( VALUES ( Quarters[Q] ), [ORE_CS per Hour] / [Somma di NUM_GG_STD] )
where
ORE_CS per Hour := SUMX ( FactData, FactData[ORE_CS] / FactData[DayWorkHours] )
and I added DaysWorkHours calculated columns to convert texts in HoursDays into numbers. If in HoursDays will be numbers that's not necessary.
THANKS!!!!! it works fine!!
Now I have another issue: the formula calculates FTEs based on 8 hours per day. However, the number of hours/day to calculate the FTE is not always 8, but it changes according to the team.
To do this, I'he added the HourDays column in the FactData table populated with the hour/day of related team and I thought of using that in the formula you suggested, but it doesn't work. Is there any way to fix?
I attach the xls file
Thanks in advance for suggestions
Fabio
Perhaps as
FTE-CS :=
SUMX (
VALUES ( Quarters[Q] ),
[ORE_CS per Hour] / [Somma di NUM_GG_STD]
)
where
ORE_CS per Hour :=
SUMX (
FactData,
FactData[ORE_CS] / FactData[DayWorkHours]
)
and I added DaysWorkHours calculated columns to convert texts in HoursDays into numbers. If in HoursDays will be numbers that's not necessary.
- Fabio747Jun 13, 2023Copper Contributor
- SergeiBaklanJun 13, 2023Diamond Contributor
Fabio747 , you are welcome