Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all 10045 articles
Browse latest View live

Tweak to date parameter expression - adding seconds

$
0
0

Hello

I have added date parameter to a report to show the (UK) date of the previous Sunday - so for example if I ran the report now it would show:

03/05/2020

I have got to this via this expression:

=DateAdd(DateInterval.Day, 1-WeekDay(Today), Today())

Please can you let me know how I'd add hours, minutes and seconds to this expression so that its output would read:

03/05/2020 23:59:59

Thank you.


Reportviewer horizontal scrollbar is not appearing if the page direction is RTL

$
0
0

I have an application where I show Arabic reports using Microsoft.ReportingServices.ReportViewerControl.WebForms V150.1404.0 , if the direction of the page / div is LTR it works fine , but when I change the direction to RTL the horizontal scrollbar disappears.

I have tried changing AsyncRendering , SizeToReportContent , and ZoomMode with no success, here is my code:

this works fine (direction is default LTR):

<div style="width: 74.6%; float: left;  text-align:right; padding:10px; height:72vh; float:left; "><asp:Label ID="lblTitle" runat="server"  ForeColor="#5cb85c"></asp:Label><rsweb:ReportViewer ID="rptReportViewer" runat="server" Visible="True" Width="100%"  Height=100%  Font-Size="12px" 
                        ToolbarDividerColor="#5cb85c" InternalBorderColor="GrayText" ShowDocumentMapButton="false"  BorderStyle="None" 
                        AsyncRendering="False" SizeToReportContent="False" Font-Names="'Almarai', sans-serif"></rsweb:ReportViewer></div>

when I change to RTL the horizontal scrollbar disappears:

<div style="width: 74.6%; float: left;  text-align:right; padding:10px; height:72vh; float:left; direction:rtl; "><asp:Label ID="lblTitle" runat="server"  ForeColor="#5cb85c"></asp:Label><rsweb:ReportViewer ID="rptReportViewer" runat="server" Visible="True" Width="100%"  Height=100%  Font-Size="12px" 
                        ToolbarDividerColor="#5cb85c" InternalBorderColor="GrayText" ShowDocumentMapButton="false"  BorderStyle="None" 
                        AsyncRendering="False" SizeToReportContent="False" Font-Names="'Almarai', sans-serif"></rsweb:ReportViewer></div>

 any solution or work around ?

Regards

Tammam


indicator to change color based on sign

$
0
0

How do i display  indicators for following conditions :

  • green indicator when value is positive
  • red when value is negative
  • NA or an indicator for value when it is Null or 0 

Note the Value is a slope .


Reassign the New Server to Connect - Report Builder ?

$
0
0

Hi !

How to reassign the New report Server  ? It is always look for a "First Set" Report server..  


Danny

Getting a report in json output via the rest api

$
0
0

is it possible to get a report table content in json format via rest-call? right know it seems like that i only get report general properties like name and path... i have read the rest docu hosted on swagger https://app.swaggerhub.com/apis/microsoft-rs/SSRS/2.0




set of textboxes appears funny in excel spreadsheet

$
0
0

hi we run 2014 enterprise.  it probably doesn't matter but we use vs 2017 to develop our reports.

i have a set of side by side text boxes between two lines that is basically the label "city:" in text box 1 ,   city name in text box 2, the label "event date from:" in text box 3, the from date in text box 4, the label "event date thru:" in text box 5 and the thru date in text box 6.

each of the values is a parameter that was chosen.

the text boxes appear fine in the report rendering but when saved in excel they are occupying 4 lines as shown in the image.  what can i do to make excel show them more properly?  if possible i'll post some of the code and a design image next.


Missing RSReportserver config file

$
0
0

HI,

I installed SSRS 2019 and was hoping to play with rs report server config file for different rendering options but unfortunately I couldn't find the file installed on my system. 

Please guide me how I can find the file or what wrong I might have done.

I followed following steps:

1. Installed sql server and then sql server management studio

2. installed 2019 reporting services

3. for visual studio downloaded ssdt with only reporting services.

Thanks,

Manish 

User filter on column based values

$
0
0

Hello All,

We have one SSRS report which shows the product utilization by members. 

The business asking one interesting change in the report as in the below 

This is the column header of the tablix and the business wants to filter the column results by typing <100 for instance and it would just show those clubs where Completed workout actual is less than 100.  -- for all the columns 

I replied with the reporting services limitation but I feels it is very important as they are asking me to implement the alternative which could bring the same results.

Please guide

thanks,


Dilip Patil..


Database connection user credentials from RDL file

$
0
0
I have a report saved as an RDL file.  When I upload that file to my SSRS server, the SQL Server login credentials are not uploaded.  So when I run the report on the server I am prompted for login credentials.  Is there some way to upload the SQL Server login credentials with an RDL file?

Issue in Pdf export

$
0
0

Hi,

1st Question) I am Surendra. Facing issue in report header Border. Just i set report headerright border to Solid and generated report from BIDS. Here it is working fine. But when i export the report to PDF the right border is looks not good ( it is bit far to report main body right border). 

2nd Question) just i have added one textbox in report header and changed right border to solid. This is also looks not correct in PDF ( it is bit far to report main body right border). 

Thanks,

Surendra Sanipini

saving report to pdf inserts an extra page

$
0
0

Hi we run 2014 but use vs 2017 to design our reports.

my report for a certain set of params yields 5 pages.  some headers and 2 3 line tables on pg 1.  and then whatever it takes to yield two tablix's with different data but the same formats.  saving to pdf inserts a blank page between page 1 and the 1st growing tablix, at least from vs.  i'll deploy and see if the same thing occurs from the server.

each growing tablix has the "add a page break before" property set on.

same thing happens when saved from the server's rendering.  



SSRS Reports hosted in the application always pops up a Windows Security to key in Domain USer password

$
0
0

Dear Experts, 

I am having one Windows application that also hosts a few SSRS reports inside it. As this application is user specific and when the user accesses the reports inside the application it keeps popup the Windows Security to key in the domain Username and password always. I need to avoid this and make sure the end user uses it without keying in the password . 

SQL Server SSRS 2014 Native 

In the Report Server 

Rsreportserver.config has below Authentication enabled 

RSWindowsNegotiate

RSWindowsNTLM 

RSWindowsKerberos

and also below values 

RSWindowsExtendedProtectionLevel = OFF 

RSWindowsExtendedProtectionScenario = proxy

EnableAuthPersistance = True

But these above settings didn't help, am i missing anything. I want to remove that popup inside the application everytime when they click the report. Any help would be greatly appreciated. 

Thanks 

Momen


Thank you... MOMEN

approach to setting up a tablix that contains 4 other tablix's

$
0
0

Hi , we run 2014 enterprise.

I have a dataset that contains store, street, block, corner, category, purchase vs return, item, date, amount, member.

i've shown below how the first 3 pages of an ssrs report would show for store abc on Main Street, Block 1 NW.  The next 3 pages might be for store abc on Main Street Block 2 etc.  The 3 pages after that might be for store efg etc.  

I can see how the 4 tablix's can use the dataset but cannot picture how to set up the containing tablix.  I dont know if it should use a separate dataset that is just unique store,street,block and direction?  or perhaps somehow grouped on those 4 columns in the same dataset.  Also,i cant picture how the 4 tablix's in the images below can reference (for proper filtering) the current containing tablix's store, street, block and direction.

I've seen a rectangle used in similar apps inside the containing tablix's cell and then in turn containing the 4 tablix's shown in the image.  In something like this i assume there are better choices when performance is important.

Hide Toolbar in SSRS report url

$
0
0
Hi, is there any way to hide the toolbar when viewing the ssrs report?
I followed this link, but no luck
https://docs.microsoft.com/en-us/sql/reporting-services/url-access-parameter-reference?view=sql-server-ver15
Thanks in advance.

headings dont stay visible when scrolling

$
0
0

hi we run vs 2017 and i believe we are simulating sql server 2014 ssrs in that dev environment.

i have shown an image below with that old complaint where in the TABLE tablix properties i've clicked repeat both row and column headers from page to page and requested they stay visible when scrolling.  i've also requested a page break before this tablix.  from what i remember those settings dont always work.

so like in the past i tried following this link https://www.sqlchick.com/entries/2011/8/20/repeating-column-headers-on-every-page-in-ssrs-doesnt-work-o.html to the extent possible and because of errors (the tablix tablix10 has an incorrectly set FixedHeader property on the opposite hierarchy, based on the property FixedColumnHeaders of the tablix) trying to leave fixed data true on any one of the advanced mode row groups finally ended up with it false on all 3 row groups but keepwithgroup=after and repeatonnewpage=true on the 2 static rowgroups.

this did fine repeating headers from page to page but the headings arent staying visible when scrolling.  is there a straightforward answer to fixing this?  Notice i did add a header above the column headers (by rt clicking right most column heading cell  and inserting row above) and then merging those cells so the text would run across smoothly.  when i set fixeddata=true on all 5 of the advanced column groups, i got a similar error.




How to add multiple drillthrough reports options per cell

$
0
0

greetings!

I have a Main report (Created in Report Builder) and two drillthrough reports (in Power BI). I was able to link the Main report and one of the drillthrough reports successfully using Action->URL option, but not sure how to add the second drillthrough report. I am trying build something like this - If I click a cell/data point in the Main report, it should show me two drillthrough reports as options and then I select one of them. Is this possible in Report Builder? Any guidance would be very helpful.

Thanks!


How to don't separate Sheet When SSRS report contain page break and export to excel?

$
0
0

Hi Guys,

I have a knotty question when export ssrs report into Excel. This report contain page break between group, when I try to export it into Excel it will separate into many Sheets according group, my customer don't want that, they just want all data in one Sheet, who have a solution about that? or any possible method that can process excel file?

below is the code that export file:

byte[] bytes = ServerReport.Render(Format, DeviceInfo, out Type, out encoding, out extension, out streamid, out warning);
BinaryWriter binWriter = new BinaryWriter(File.Open(path, FileMode.Create))
binWriter.Write(bytes);

Any suggestion will be appreciated.

Thanks,

CH


How to check if SSRS is using IIS

$
0
0

Hi,

Is there a way to check if SSRS site is using IIS? Is IIS necessary when we need to setup https?

Thanks.

Report Server generating errors every time a subscription is run

$
0
0

Report Server and Subscriptions appear to be working correctly. When a subscription is run, the Application Event Viewer is filled with 108(Can't load Delivery Extension) with the text Report Server (SSRS)  & 137 (?) with the text Report Server BI errors

What is causing these errors and how do I eliminate these errors?

How to show n rows in a Tablix?

$
0
0

Hi, Does anybody knows how to show "n" number of row in SSRS?

I'm using a dataset that uses Fetch XML not SQL (it works almost the same as SQL) and then I use a dataSet(Id,name,totalamount) that returns me rows, then I group them By ID. then how with ssrs could I show only like 5 grouped rows? thanks.


Crysis


Viewing all 10045 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>