Forum Discussion

gottapu's avatar
gottapu
Frequent Visitor
5 years ago
Solved

Employee FTE calculation

Hi,   I have data similar to tables below. Fact table that I se connects to number of other dimension tables and so number of rows per each assignment id are much larger but I have simplified it to...
  • wdx223_Daniel's avatar
    wdx223_Daniel
    5 years ago

    gottapu how about changing the code like this?

    Employee FTE:=IF(COUNTROWS('Fact'),SUMX(ALL(Assignment[Asgn ID]),CALCULATE(MAX('Fact'[Assignment FTE]),ALL(RepGroup[Rep Group Name]),ALL('Fact'[Assignment FTE]))))