简体   繁体   English

在 SRSS Power BI 报表生成器中添加不同百分比的总计

[英]Add total with different in percentage in SRSS Power BI report builder

I have a matrix with sales for district and store on the rows and different "time intelligence" on columns.我有一个矩阵,其中包含区域的销售额和行上的商店以及列上的不同“时间智能”。 I want to add totals.我想添加总数。 It works fine for values but for "YOY %" I don't want to sum the individual percentages of course - I want to have the total YOY for the values on the total row.它适用于值,但对于“YOY %”,我当然不想将各个百分比相加 - 我希望总行上的值的总 YOY。 How can I refer to these values?如何引用这些值? See the picture, the red value should be 109/77-1 = 42 % and not 183 %.看图片,红色值应该是 109/77-1 = 42 % 而不是 183 %。

Any input is appreciated.任何输入表示赞赏。

enter image description here在此处输入图像描述

enter image description here在此处输入图像描述

To answer my own question: I didn't figure out a way to referring to columns generated from calculation groups (is it even possible?) so instead I created all the measures (columns) as seperate columns in the dataset.回答我自己的问题:我没有找到一种方法来引用从计算组生成的列(甚至可能吗?),所以我将所有度量(列)创建为数据集中的单独列。 Then I can easily refer to them like YOY %:然后我可以像 YOY % 这样轻松地引用它们:

=( Sum(Fields!Actual.Value) - Sum(Fields!PY.Value) ) / Sum(Fields!PY.Value)

and the totals is shown correctly.并且总数显示正确。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM