简体   繁体   English

将分层网格导出到Excel

[英]Export hierarchical grid to excel

I have a SSRS report which displays the data in hierarchical format. 我有一个SSRS报告,该报告以分层格式显示数据。 When I export it to excel I want the report to be exported in hierarchical format with having +/- signs. 当我将其导出到excel时,我希望报表以具有+/-号的分层格式导出。

Can anyone help me how this could be done? 谁能帮我做到这一点?

Its all in the groupings. 所有这些都在分组中。

If your report has parent groups and some kind of visibility logic embedded, it will carry over to excel. 如果您的报告中包含父级组并嵌入了某种可见性逻辑,则该报告将继续保持卓越。

A quick and easy way to do this as a proof of concept is to do a report wizard and just give it an easy query that you can group. 作为概念验证的一种快速简便的方法是执行一个报表向导,并为其提供一个简单的查询即可进行分组。

The key though is to let the report do the grouping, not the underlying SQL itself. 但是,关键是让报表进行分组,而不是基础SQL本身。

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

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