Reporting Services - 如何:从另一个数据集创建数据集!?是否可以?

发布于 2024-10-02 21:12:18 字数 323 浏览 0 评论 0原文

我有一份包含两个数据集的报告。第一个加载 Tablix 中显示的大量数据。第二个数据集用于显示具有相同数据的替代视角的图表。

我不想加载数据两次,因此目前我将第一个查询的数据存储在数据库中的特殊缓存表中。第二个查询仅从缓存表中读取。

现在,如果我可以直接在 SSRS 中创建第二个数据集并将第二个往返保存到数据库,那就更好了。最好我想定义第二个数据集,例如:

SELECT val1, val2 FROM dataSet1 WHERE val3 = 'something'

有人知道这是否可能吗?

任何提示表示赞赏!

I have a report with two Datasets. The first loads a lot of data displayed in a tablix. The second DataSet is used to display a Chart with an alternative perspective on the same data.

I dont want to load the data twice, so currently I store the data from the first query in a special cache table in the database. The second query reads only from the cache table.

Now it would be much nicer if I could create the second Dataset directly within SSRS and saving this second round-trip to the DB. Preferably I'd like to define the second dataset something like:

SELECT val1, val2 FROM dataSet1 WHERE val3 = 'something'

Anybody know if this is possible?

Any hints appreciated!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

霊感 2024-10-09 21:12:25

如果 tablix 和图表都表示相同的数据(即使从不同的角度来看),那么我建议对 tablix 和图表使用相同的数据集。

If both the tablix and graph are representing the same data (even from different perspectives), then I would suggest using the same dataset for both the tablix and the graph.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文