Forum Discussion
RvdHeijden
Post Prodigy
8 years agoNeed help with my formula
Goodday, I need a little help with my formula Gemiddelde m1 sleuf = CALCULATE(( LOOKUPVALUE('Werkbegroting civiel'[graaflengte totaal];'Werkbegroting civiel'[DP naam];ADRESSEN[DP gebied na...
v-huizhn-msft
Microsoft Employee
8 years agoHi RvdHeijden,
I didn't calculate the average over ALL the houses, [total hourse] is a calculated column, which returns each DP's hourses. Please create sample table and list expected result.
Best Regards,
Angelia
RvdHeijden
Post Prodigy
8 years agoyou were rigth, my bad :)
The first part of the formula went fine, but the second one returned an error
total hourse = CALCULATE( COUNT(Adressen[id]);USERELATIONSHIP(Adressen[DP gebied naam];'Werkbegroting civiel'[DP naam]))
Average = DIVIDE('Werkbegroting civiel'[Graaflengte totaal];'Werkbegroting civiel'[total hourse])
A circular dependency was detected: Werkbegroting civiel[total hourse], Werkbegroting civiel[Average], Werkbegroting civiel[total hourse].
- RvdHeijden8 years ago
Post Prodigy
v-huizhn-msftAny ideas ? is it the formula or the relationship(s) ?