简体   繁体   English

在SQL中使用SSRS进行数据挖掘

[英]Data mining with SSRS in SQL

How Could I make data mining with a report possible. 如何使报表的数据挖掘成为可能。 I know basic SQL and managed to make some static tables but I want to be able to click on an item and have a more detailed table on just that item or related things( a table of past versions ) ext... 我知道基本的SQL并设法制作了一些静态表,但是我希望能够单击一个项目,并仅对该项目或相关事物(过去版本的表)有更详细的表ext ...

It sounds like what you want are drill-down reports. 听起来您想要的是深入报表。 What you need is a summary report (say, sales per person) and a detailed report (say, sales by person per product group). 您需要的是摘要报告(例如,每人的销售额)和详细报告(例如,每个产品组的人均销售额)。 The detailed report will have a Person report parameter that will be provided by the summary report. 详细报告将具有摘要报告将提供的“人员”报告参数。

On the summary report, on the person table cell, right-click, choose Properties and select the navigation tab. 在摘要报告的人员表单元格上,单击鼠标右键,选择“属性”,然后选择导航选项卡。 Select "Jump to report", drop-down and select your detailed report and click the Parameters... button. 选择“跳转到报告”,下拉列表并选择详细的报告,然后单击“参数...”按钮。 In the Parameter Name column, drop down and select the person parameter and in the Parameter Value column drop down and select the Person field. 在“参数名称”列中,下拉并选择人员参数,在“参数值”列中下拉并选择“人员”字段。

Now when you run the summary report you can click through on the person cell and display that person's results on the detail report. 现在,当您运行摘要报告时,您可以单击人员单元并在详细报告中显示该人员的结果。

You can also pass through the parameters (say, a date range) that were entered on the summary report to the detail report parameters by using the expression =Parameters!MyParamName.Value rather than a field expression. 您还可以使用表达式= Parameters!MyParamName.Value而不是字段表达式,将在摘要报告中输入的参数(例如,日期范围)传递到详细报告参数。

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

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