reporting-services - SSRS 2012 中的 Excel 函数

标签 reporting-services ssrs-2008 ssrs-2012

据我所知,这可能是不可能的,但认为值得一问,我正在尝试导出 SSRS 2012 报告,但同时维护 Excel 函数。

我的 SSRS 报告中有一个文本框,导出时总是出现在行/列 D33 中,我有一个数字 20。我已在报告中的单元格中编码=D33* “这个数字是在报告中返回,我使用的表达式是 ="=DD3*"&Cint(Fields!LABC_Hours.Value),导出时结果为 =D33*5 但什么是应该做的是计算=20*5。有没有办法做到这一点?

提前致谢。

最佳答案

简短的回答是否定的。

正如您在研究中可能已经看到的那样,SSRS 2005 对此提供了有限的支持,但在后续版本中则没有。

参见Breaking Changes in SSRS 2008 .

In earlier versions of Reporting Services, there was limited support for translating expressions in RDL to Microsoft Excel formulas. In this release, when you export a report to Excel, RDL expressions are not translated to Excel formulas.

不用说,这是一个很受欢迎的请求,请参阅此连接项:

SSRS 2008 export formulas to Excel .

在刷新我对所有这些的内存时,我确实看到了一些注释,建议您是否使用直接引用 ReportItems 集合的表达式,例如:

=ReportItems!val1.Value + ReportItems!val2.Value

这样就可以了,但我现在在 SSRS 2008 中运行了一个简单的测试,没有什么区别。

遗憾的是,我认为普遍的共识是你在这件事上运气不佳。

关于reporting-services - SSRS 2012 中的 Excel 函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17206994/

相关文章:

reporting-services - 如何在SSRS 2008中动态增加页面标题高度

sql - 需要在SSRS中显示记录Group By

asp.net - 从代码中从rdlc文件获取数据集

reporting-services - 如何在ssrs中的每个页面中重复文本框

reporting-services - 显示秒计数,以HH :MM:SS format in SSRS 2008为准

c# - 通过忽略自己的用户域的报告用户运行所有 SSRS 报告

html - 在 SSRS 报告中显示 HTML 格式的内容

vb.net - 将 system.linq 引用添加到 ssrs 自定义代码

reporting-services - SSRS 同步 A4/US Letter 格式;策略,解决方法?

reporting-services - 将数据集传递给 SSRS 中的子报表