Forum Discussion
What's wrong with my formula
RonaldvdH First you open to measure 'FC Uren'[Geboekte uren] and endResult + 0 for E.g sum(Geboekteuren)+0.
similer to [Totaal geboekte uren] this measure, i hope this will help you for correct result.
>>Can you show me a screenshot of the table 'FC Uren' and what's inside the measure [Totaal gebokte uren] and
'FC Uren'[Geboekte uren]?
- RonaldvdH3 years ago
Post Patron
Mahesh0016 here is the screenshot for FC Uren
The formula in the measure 'Totaal geboekte uren' is
Totaal geboekte uren = CALCULATE(SUM('DWH Uren'[PT Taakuren]),USERELATIONSHIP('FC Uren'[Week+Kenmerk],'DWH Uren'[Week+Kenmerk]))The calculted column is based on a vertical search from another table
Geboekte uren = VAR __Kenmerk1 = 'FC Uren'[Week+Kenmerk] VAR __Kenmerk2 = FILTER(ALL('test2'),test2[Weeknummer TD datum+Activiteit] = __Kenmerk1) RETURN MAXX(__Kenmerk2,[Aantal geboekte uren])- tt_and3 years ago
Advocate I
Test2 = var cal = SUMX(FILTER(ALL('FC Uren'),'FC Uren'[Geboekte uren]=0),'FC Uren'[Forecast uren]) var act = SUMX(FILTER(ALL('FC Uren'),'FC Uren'[Geboekte uren]<>0),'FC Uren'[Geboekte uren]) var dev = 1+IF((SELECTEDVALUE('FC Uren'[Geboekte uren]*1)>0),(act-cal)/cal,0) return IF([Totaal geboekte uren]<>0, dev*SELECTEDVALUE('FC Uren'[Forecast uren])) - RonaldvdH3 years ago
Post Patron
To further clarify my question I've made this screenshot.
For that specific project I think we'll use 15 hours per week but in reality we've used 17, 16.75, 13 and 19,5 hours.
That means, based on the 15 hours I've forecasted I have a deviation