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

Data-driven subscription

$
0
0

HI ALL!!

I am trying to create a new Data-driven subscription , while trying to choose the file destination |
i am only able to send it via Email or  Null Devilry Provider - the Windows File Share option is missing

Any idea why?

I am using the following SSRS version -

Version 14.0.600.906 (October 2017)

10x


Dataset not Refreshing SSRS from within Visual Studios

$
0
0

Good morning,

I have a stored procedure that I have amended for a report and the dataset is not refreshing with the new columns. 

I have tried 'Refresh Fields', deleting the rdl.data and neither work. I have tryed creating a new report, but still pulls the old fields through.

when I go to 'Dataset properties' - 'Query Designer' and put in some parameters, the stored procedure runs and returns the refreshed columns, but as soon as i go back to the dataset, the fields are still showing the old one.

Any ideas how i can get ride of this cashed dataset, or what it is that i am doing wrong

Need a Web Based SSRS Report Designer?

$
0
0

Since the SSRS becomes part of Power BI services, many customers move their SSRS rdls to Windows Azure cloud. Is it possible to modify those rdl files from web? A web based SSRS report designer can greatly help customers to simplify the way to edit existing reports.

If you are looking for a web based SSRS report designer, you may take a look at this youtube video.

https://www.youtube.com/watch?v=0Cu6gCyZ5Ao

Round Down function?

$
0
0

Is there a function or a way to round down in report builder? I figured out how to round away from zero, but I have been unsuccessful trying to round towards zero.

Thanks, 

Kylie

Reporting Services – Export to PDF problem

$
0
0

We use Windows server 2016 and SQL Server 2017 Reporting Services Version 14.0.600.1453

The database includes specific symbols such as “š”,”ž” and .rdl files are written in Calibri font. By checking report in “Print layout” using Report Builder, it seems correct, meanwhile exporting it to PDF leads to the problem with text, precisely there are extra spaces between symbols. The current problem remains unchanged despite the testing different ways of export (Report Builder and server with a web interface). The problem appears only in PDF, other formats like “Word” and “Excel” work fine.

The text in Print layout:

The text in PDF:

Taken measures:

  1. Reinstalled font  and reloaded server
  2. Downloaded latest cumulative Update for windows server, sql server and reporting services.
  3. Set value „True“ for „HumanReadablePDF“ and „AccessiblePDF“, additionaly tried to set UTF-8 or ASCII in RSreportserver.config file.

By now, there is a potential solution to current problem: Export the PDF 1.3 version to 1.5. It can solve the issue, since exporting the same report into pdf on the other server, the PDF having the 1.5 version, and this problem is not observed. The current problem does not appeared in theReporting Services Version13.0. Unfortunately, there are no ideas how to change the render’s version in order to test this assumption.

Could you help us to fix this PDF bug or may be you have any ideas why it may have appeared?

Our PDF settings after exporting:

how to Exclude All filter except 1 in SSRS DAX Query

$
0
0

how to Exclude All filter except 1 in SSRS DAX Query,

Suppose I makea report using DAX query connected to Microsoft Tabular Cube, and query has Country,State, Category, Manufacturer and Sales.

I want a Total Sales which should excludes all parameters except Manufactuer which should give me total Manu Sales .

Query Sample :

EVALUATE
VAR YearFilter =    TREATAS ( { VALUE ( @YearCode ) }, 'Date'[Year] )
VAR CountryFilter =    TREATAS ( { VALUE ( @YearCode ) }, 'geo'[Country Desc] )
VAR StateFilter =    TREATAS ( { VALUE ( @YearCode ) }, 'geo'[State Desc] )
VAR MonthFilter =    TREATAS ( { VALUE ( @MonthCode ) }, 'Date'[Month Code] )
VAR ManufacturerFilter =    TREATAS ( { @Manufacturer }, 'Item'[Manufacturer Code])
VAR CAtFilter =    TREATAS ( { @cat }, 'Item'[Cat],)
RETURN
SUMMARIZECOLUMNS (
    'geo'[Country Desc],
    'geo'[State Desc],
'Item'[Manufacturer Desc],
'Item'[Cat],
'Date'[Year],
    'Date'[Month Code],
  TREATAS( { @Currency } , 'Reporting Currency'[Reporting Currency Code]),
  TREATAS( { @Tax } , 'Tax Status'[Tax Status Code] ),
MonthFilter,
ManufacturerFilter,
StateFilter,
CountryFilter
   "AYP_Gross_Sales", [Sales],
   "AYP_Gross_Sales_Total",[???]
)


AJ

Cant find \RSWebApp\bin directory in SSRS 2019

$
0
0

I am implementing a custom authentication as indicated in 

https://github.com/microsoft/Reporting-Services/tree/master/CustomSecuritySample2016

" Copy Microsoft.Samples.ReportingServices.CustomSecurity.dll and Microsoft.Samples.ReportingServices.CustomSecurity.pdb to the <install>\RSWebApp\bin directory."

but I Cant find \RSWebApp\bin directory in SSRS 2019,  and<RSPATH>\RSWebApp\Microsoft.ReportingServices.Portal.WebHost.exe.config;

where is the new location in SSRS 2019?

Thank you

Rendering extension in Excel: The number of lines exceeds the maximum number of lines per sheet in this format

$
0
0

Good afternoon,

I am generating the report and presented me this error:


"Rendering extension in Excel: The number of lines exceeds the maximum number of lines per sheet in this format; Requested Lines: 66013, Maximum Lines> 65536 (rrRenderingError). Rendering extension in Excel: the number of lines exceeds the maximum number of lines per sheet in this format; Requested Lines: 66013, Maximum Lines: 65536"

Can you help me?

The Query is correct and returns 148k rows:


SELECT 

       TABLE1.CD_EMPRESA as 'Empresa',
       MAX(TABLE2.ds_razaosocial) as 'Razao_Social',
       TABLE3.CD_UNIDADE as 'Unidade',
   TABLE3.DS_PRODUTO as 'Descricao',
   MAX(TABLE3.DS_REFERENCIAMODELO) as 'Referencia_Modelo',
   MAX(TABLE6.DS_MARCAS) as 'DS_Marca',
       MAX(TABLE8.DS_LINHAS)  as 'DS_Linhas',
       MAX(TABLE5.DS_SUBLINHA)  as 'DS_Sub Linha',
       MAX(GRPTABLE3.DS_GRUPOMAT)  as 'DS_Grupo',
       TABLE1.CD_LOCALIZACAO as 'Localizacao',
       TABLE1.CD_LOCAL as 'Local',       
       TABLE3.CD_PRODUTO as 'Produto',
   MAX(TABLE3.CD_GRUPOMAT) as 'CD_GRUPO_MAT',
       MAX(TABLE3.CD_MARCA) CD_MARCA,
       MAX(TABLE3.CD_LINHA) CD_LINHA,
       MAX(TABLE3.CD_SUBLINHA) CD_SUBLINHA,       
   TABLE1.NR_LOTE as 'NR_Lote',
   LOTES_TABLE3.NR_LOTEFORNEC as 'NR_LoteFornec',
   MAX(TABLE3.FG_CONTROLALOTE) FG_CONTROLALOTE,
   MAX(TABLE3.FG_EQUIPAMENTO) FG_EQUIPAMENTO,
       SUM(TABLE1.QT_SALDO) QT_SALDO,
   CONVERT(varchar, MAX(TABLE1.DT_SALDO) ,103) as 'DT_Saldo',
       MAX(TABLE4.DS_MASCARA) as 'DS_Mascara',
       CONVERT(varchar, MAX(LOTES_TABLE3.DT_VALIDADE) , 103) as 'DT_Val',
       MAX(TABLE3.fg_produtovalidade) as fg_produtovalidade,
       MAX(TABLE3.fg_controlalote) as fg_controlatole,
       0.00 as valor_unitario,
       0.00 as valor_total,
       CAST('' AS VARCHAR(20)) as DS_MASCARAVR
   FROM MATERIAIS WITH (NOLOCK) 
         LEFT JOIN UNIDADES WITH (NOLOCK)  on TABLE3.CD_UNIDADE = TABLE4.CD_UNIDADE
         LEFT JOIN SUBLINHAS WITH (NOLOCK)  on TABLE3.CD_SUBLINHA = TABLE5.CD_SUBLINHA
         LEFT JOIN MARCAS WITH (NOLOCK)  on TABLE3.CD_MARCA = TABLE6.CD_MARCA
         LEFT JOIN GRPMATERIAIS WITH (NOLOCK)  on TABLE3.CD_GRUPOMAT = GRPTABLE3.CD_GRUPOMAT
     LEFT JOIN LINHAS WITH (NOLOCK)  on TABLE3.CD_LINHA = TABLE8.CD_LINHA
         LEFT JOIN TABLE1 WITH (NOLOCK)  ON TABLE3.CD_PRODUTO = TABLE1.CD_PRODUTO
INNER JOIN EMPRESAS WITH (NOLOCK)  on TABLE1.CD_EMPRESA = TABLE2.CD_EMPRESA
         LEFT JOIN TABLE9. WITH (NOLOCK)  ON (TABLE1.NR_LOTE = TABLE9.NR_LOTE
         AND TABLE1.CD_EMPRESA = LOTES_TABLE3.CD_EMPRESA)
         LEFT JOIN TABLE10. WITH (NOLOCK) ON (TABLE9.CD_EMPRESA = LOTES_TABLE3.CD_EMPRESA
         AND TABLE10.CD_LOCAL_ESTOQUE = TABLE1.CD_LOCAL)
WHERE TABLE3.FG_SITUACAO = 'A'
AND TABLE1.CD_EMPRESA = 1
GROUP BY TABLE3.CD_PRODUTO,
TABLE3.DS_PRODUTO ,
TABLE3.CD_UNIDADE,
TABLE1.NR_LOTE,
TABLE1.CD_LOCALIZACAO,
TABLE1.CD_LOCAL ,
LOTES_TABLE3.NR_LOTEFORNEC,
TABLE1.CD_EMPRESA 
ORDER BY TABLE3.DS_PRODUTO

Thanks!

Matheus

                    

While using HTTP in the Web URL, I get a warning from Chrome that the site is not secure

$
0
0
I am learning SSRS, for the web URL, is http secure if I am doing everything on a local PC? If I need https, how do I get a SSL Certificate? For example: is http://myserver01/reportserver secure enough or do I need https://myserver01/reportserver?  I used the defaults in the Report Server Configuration Manager to get the URL.

how do i get custom code functions to run and export in ssrs if the row or textbox they are in is hidden?

$
0
0
I have custom code Functions that work when they aren't hidden and show the results in the group footer fine. When I hide the details row so only the group footer shows, I get all 0s because it apparently ignores the function. I don't need the detail to show on the report because only the totals need verified then exported which the results are the same on the export if the row is hidden.

SSRS 2016 Error "Could not load folder contents" message when I refresh browser twice

$
0
0

Hello, 

We recently installed and configured SSRS 2016 SP2 (with latest Cumulative Update) on a server. The SSRS is configured to point to a SQL database on another server in the network. Everything is loading fine. In Chrome, I can navigate the RS folder structure and load reports fine - no problem.

Occasionally, however, I get an SSRS error "Could not load folder contents. Something went wrong. Please try again later." I can reproduce the error (everytime), when I hit the browser REFRESH button twice. Then, if I wait a few seconds, the connection is restored with a browser refresh. Similar behavior in IE browser, too. 

Any help is greatly appreciated, 

Lance

Report sending to be stopped

$
0
0

Hello, 

I have one report that it is sent every week to a several customers. Do you know how I can stop the sending?

Many Thanks

Display Multiple rows and columns as a single string value usin SQL query

$
0
0

How do convert a table with multiple rows and columns as a single string value in SQL.


Sub-reports and page numbers

$
0
0

The Question
What flag or property have I missed that would cause the page numbering to be wrong, which, in turn, causes the footer not to print?

The Details
I am trying to modify an existing invoice report. I need to add a call to an existing sub-report using different criteria. This works. I get the correct data. However, the page numbers are wrong. It's printing one less page than it says it's going to print (i.e. total pages says 5, but only 4 print).

The sub-report is within a rectangle, which is within a tablix
The rectangle is set to KeepTogether = True
The sub-report is set to KeepTogether = False
There is no page break set for the rectangle.
The sub-report is the last item in the body to print.


Mary S. Martin

SSRS 2017 version 14.0.600.1453 - Error Exporting to PDF

$
0
0

Hi,

there's a report that is running fine but when the user selected Export to PDF it fails with this error:

An internal error occurred on the report server. See the error log for more details. (rsInternalError)

An internal error occurred on the report server. See the error log for more details. (rsInternalError)

Checking the log file, this is what I found:

library!ReportServer_0-1!45dc!03/25/2020-10:46:26:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: ScalableList: Index 10 outside the allowed range [0::9], Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.;
library!ReportServer_0-1!45dc!03/25/2020-10:46:26:: e ERROR: Report server dump occured. Exception: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., Message: , Unhandled Exception: False


The report has 189 pages.

Regards,


SSRS - DateTime Format

$
0
0

Hello everyone,

I am working on the issue related to DateTime. The requirement is to display the Report Generated datetime in the footer of the report,  in the user's TimeZone. The time zone is passed as a parameter.

Now the problem is, the date should be formatted based on the time zone, i.e. for IST TimZone, the datetime should be formatted as "dd/MM/yyyy", same way if the time zone is CDT the date format should be "MM/dd/yyyy" and like wise for other time zones too. 

Please guide how can I achieve this.

I NEED HEP WITH MARGING

$
0
0

Hello

When I preview the report it looks good but when I placed it on the dashboard looks bad. The blue is the h

header and the light blue is a table. Please advise.


Report Builder Error An item with the same key has already been added.

$
0
0

Query runs in query designer. Click Ok the error below displays

---------------------------
Microsoft SQL Server Report Builder
---------------------------
Could not create a list of fields for the query. Verify that you can connect to the data source and that your query syntax is correct.

An item with the same key has already been added.
To continue without updating the fields list, click OK.
---------------------------
OK   Cancel   
---------------------------

What is the key referred to in the error. Is it a key in the sql script or a key in the report?

SELECT DISTINCT
 TH.ID_NUM
,SCH.CRS_DIV CourseDivision
,SCH.STUD_DIV StudentDivision
,SCH.DROP_FLAG
,SCH.DROP_DTE
,TH.CHG_TRM_TRAN_HIST StudentTerm
,TH.CHG_YR_TRAN_HIST StudentYear
,NM.LAST_NAME
,NM.FIRST_NAME
,TH.SOURCE_CDE
,TH.GROUP_NUM
,TH.TRANS_DTE
,SCH.BEGIN_DTE
,SCH.END_DTE
,TH.TRANS_AMT
,TH.TRANS_DESC
,TH.AR_CDE
,TH.ACCT_CDE
,TH.SUBSID_CDE
,TH.OFFSET_FLAG

,DH.CUR_DEGREE
,DH.ENTRY_DTE
,DH.WITHDRAWAL_DTE
,DH.EXIT_REASON
,DH.EXIT_DTE
,DH.REENTRY_DTE
,DH.CUR_DEGREE
FROM TmsePrd.dbo.TRANS_HIST as TH --
LEFT 
JOIN tmseprd.dbo.student_crs_hist as sch ON --
TH.ID_NUM = sch.ID_NUM AND --
TH.CHG_YR_TRAN_HIST = sch.yr_cde AND --
TH.CHG_TRM_TRAN_HIST = sch.trm_cde --
INNER JOIN NAME_MASTER as NM ON --
TH.id_num = NM.id_num --
inner join tmseprd.dbo.student_master as sm on --
TH.id_num = sm.id_num --
INNER JOIN TmsePrd.DBO.DEGREE_HISTORY AS DH ON
TH.ID_NUM = DH.ID_NUM

WHERE  DH.CUR_DEGREE = 'Y'
AND 
TH.CHG_YR_TRAN_HIST = '2020'
--TH.CHG_YR_TRAN_HIST in (@ChgYear)
AND TH.CHG_TRM_TRAN_HIST = '01'
--AND TH.CHG_TRM_TRAN_HIST in (@ChgTerm)
--AND TH.TRANS_DESC LIKE '%tuition%' --
--and sm.CUR_STUD_DIV = 'DC'
--AND (sch.CRS_DIV = 'UG'
--OR sch.CRS_DIV = 'GR')
AND SOURCE_CDE = 'CG'
--AND SOURCE_CDE in (@SourceCode)


ORDER BY TH.TRANS_DTE DESC


Enable HttpOnly and Secure Cookie Settings

$
0
0

Hi,

We have a requirement to enable the HttpOnly and Secure attribute in the Cookies Storage setting for XSRF-NONCE and XSRF-TOKEN for our SSRS Application. Can someone please help? I can't seem to find the settings for this.

Thanks in advance.

Printing or Exporting SSRS Report

$
0
0

Dears,

Could I print or export ssrs report without opening with Parameter selected from table.

Viewing all 20764 articles
Browse latest View live


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