本文介绍了SSRS多值参数.检查是否“全选"被选中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的SSRS报告中有一个多值参数.我想找出是否在该参数中选中了(全选)".
I have a multi value parameter in my SSRS Report. I want to find out whether (Select All) is checked in that parameter.
换句话说,是检查参数中的所有值还是只检查某些值.
In other words, whether all the values in the parameter are checked or only some values are checked.
有可能吗?
我可以通过Parameters找出选定值的数量! Parameter .Count.有没有办法找出该参数中的项目总数?
I am able to find out number of selected values through Parameters!Parameter.Count. Is there a way to find out total of items in that parameter?
推荐答案
万一仍然有人在执行此操作时遇到问题,我只是编写了此简单的修复程序.
In case anyone is still having issues doing this, I just coded this easy fix.
=IIF(COUNTROWS("dataset").Equals(Parameters!parameter.Count),"it is equal","this is not equal")
这篇关于SSRS多值参数.检查是否“全选"被选中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!