Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 SSRS no data showing in report services

Author  Topic 

shinj68
Starting Member

4 Posts

Posted - 2013-12-04 : 09:22:58
Hello
I have a SSRS report, it worked fine in both sql data tool and web.
I added column visibility on all columns, and then could not get it work in reporting services, it still works in sql data tool, but when I deployed it and tried from reporting services, it did not show any data. no error message either. I had added the following
<appSettings>
<add key="aspnet:IgnoreFormActionAttribute" value="true" />
<add key="aspnet:MaxHttpCollectionKeys" value="100000" />
</appSettings>
in web configure file in the report server folder. but still get a Blank report - no data no error messge.
what I missed?

Thanks in advance for your help!

Emily

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-12-04 : 09:45:34
can you explain on what basis you added the column visibility expression?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

shinj68
Starting Member

4 Posts

Posted - 2013-12-04 : 09:52:05
Thanks Viashl15 for looking into this for me.
I added it from design view, right click on each column, select "column visibility" then select "show and hide based on expression"
use "=iif(InStr(Join(Parameters!columnVisibility.Value,","),"01")>0,false,true)" for the first column

Thanks
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-12-05 : 01:45:51
and what do you pass for columnVisibility?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

shinj68
Starting Member

4 Posts

Posted - 2013-12-05 : 07:46:38
I just select the check box, I created a new report with only 3 columns yesterday, and have just one column set as "visible base on an expression", the report would not show anything in reporting services. but it works just fine in BI.

quote:
Originally posted by visakh16

and what do you pass for columnVisibility?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs


Go to Top of Page
   

- Advertisement -