Forum Discussion
Anonymous
3 years agoNot applicable
Wong calculation with calculate function (deja vu?)
Hi! I have a problem with the calculate dax function, and i am pretty sure it is about filering within the formula, but since i am not used to DAX, i can't figure out how to do it right. This is for...
ChiragGarg2512
Solution Sage
3 years agoIn the DAX expression, the expression is written as product of sums instead it should be sum of products.
It should be Calculate(sumX(FactTable,FactTable[Workload]*related(TeamsComposition[capa])),.....) instead of Calculate(sum(FactTable[Workload])*sum(TeamsComposition[capa]), .....).
Only possible if the relationship is one to many.
If the problem continues, pleae share sample data.