I am creating a measure, Measure = divide(sum(amount),count(task))
, this is giving me incorrect total.
This is what I am getting in Power BI.
Now the result which is expected here is
Basically what I want is to get the total of the measure that I have created, Power BI is dividing the total sum with the total count.
答案 0 :(得分:0)
答案可能很平凡。
除了使用Measure = divide(sum(amount),count(task))
之外,您可能还想使用:
Measure = SUM(amount)
divide(sum(amount),count(task))
度量是计算平均值的一种简便方法(AVERAGE
是一种简便方法)。但是您似乎需要的是SUM
。