简体   繁体   English

SSRS不使用默认参数值

[英]SSRS not using default parameter values

I have a report in which I did everything the same (with respect to parameters) as I always do, but for some reason when I preview the report in Data Tools, default values for SystemName parameter isnt used. 我有一个报告,其中我做的所有事情(关于参数)都与以前一样,但是由于某些原因,当我在数据工具中预览报告时,未使用SystemName参数的默认值。

Here is a screenshot: 这是屏幕截图:

屏幕截图

Default and Available values are both set to a query embedded in the related dataset and no setting is different than the other parameters. 默认值和可用值都设置为嵌入在相关数据集中的查询,并且没有其他设置与其他参数相同。

Has anyone experienced this before? 有谁之前经历过这个吗? Does anyone know what can cause this? 有谁知道是什么原因造成的?

Additional screenshots: 其他屏幕截图:

Photos 相片

Found solution to my problem. 找到解决我的问题的方法。 The problem was my query in the dataset for the systemname parameter had blank entries. 问题是我在数据集中对systemname参数的查询具有空白条目。 So I added a where clause to filter null and blank fields and problem was solved. 因此,我添加了where子句以过滤null和空白字段,并解决了问题。 I assume blank comes first when things are sorted so thats why i was geting a blank default value 我假设对事物进行排序时空白为第一位,这就是为什么我要获取空白默认值

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

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