我建立在Visual Studio中的報告,並有各種計算的東西像總等如何總結2個聚合函數
我現在想找到兩個總數的百分比,但我在努力爲它贏得」允許我在一個表達式中使用2個聚合函數。
的功能我已經是:
=Sum(Fields!Quantity.Value, "AccruedHours") + Sum(Fields!Quantity.Value, "Services")
和
=Sum(Fields!Quantity.Value, "AccruedHours") + Sum(Fields!Quantity.Value, "Services")
他們是相同的功能,但2個不同的總計行爲所以爲了找出個我必須分配這兩個相互作用見下文: -
=Sum(Fields!Quantity.Value, "AccruedHours") + Sum(Fields!Quantity.Value, "Services")/=Sum(Fields! Quantity.Value, "AccruedHours") + Sum(Fields!Quantity.Value, "Services")
任何人都可以提出一個更好的方法來做這個?
非常感謝,
在不同的數據集上使用[LookUp](http://msdn.microsoft.com/en-us/library/ee210531.aspx)函數。 – 2013-03-12 10:47:06
感謝您的回覆Preet。我不完全確定如何對這些值執行查找功能,您可以進一步解釋嗎? – user1086159 2013-03-12 11:29:27