简体   繁体   English

SSRS BIDS 2008表达超过GROUPED BY栏的百分比

[英]SSRS BIDS 2008 Expression for percentage over GROUPED BY coloumns

在此处输入图片说明 See below image. 见下图。

In the % column I need total % for each of the 3 categories for Days (Project,RFC,Support) for that particular month. 在%列中,我需要该特定月份的3天类别(项目,RFC,支持)中每个类别的总计百分比。

For example: 例如:

for the first service under 'Project' in April i would need (9.4/(9.4 + 0 + 1.8)) * 100 对于四月份“项目”下的第一项服务,我需要(9.4 /(9.4 + 0 + 1.8))* 100

for the first service under 'RFC' in April i would need (0/(9.4 + 0 + 1.8)) * 100 对于四月份“ RFC”下的第一个服务,我需要(0 /(9.4 + 0 + 1.8))* 100

for the first service under 'Support' in April i would need (1.8(/9.4 + 0 + 1.8)) * 100 对于四月份“支持”下的第一项服务,我需要(1.8(/9.4 + 0 + 1.8))* 100

This would give me total percentages for each category on days per month. 这将给我每月每个天的每个类别的总百分比。

What is the expression i need to use in the 'expression' box in design view to cover all my services? 我需要在设计视图的“表达式”框中使用什么表达式来覆盖我的所有服务?

Second image (above) is the Expression I have tried to use but am getting #ERROR on all records 第二张图片(上图)是我尝试使用的表达式,但是在所有记录上都显示#ERROR

在此处输入图片说明

= Fields!Days.Value / Sum(Fields!Days.Value,“ Date_month_name”)

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

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