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

SSRS Conditional Data set Execution

$
0
0

Hi,

I am working on a dynamic report.

Suppose i have written 25 data set queries,can we execute the only required datasets i.e. 15 or 20 or any number.

Example: if user wants to see data for 1-JAN-18  to 30-JAN-18 then it will return some 10 records as per the date parameters:

As per my report requirement i need to create 25 datasets and 25 tablix on report.

I want to count the number of records it processes in my dataset and as per the count i need to evaluate/stop execution of my remaining datasets.

If 20 records have been found then it should only process and execute those 20 datasets 

Please help!


SSRS 2016 web page missing elements/page layout problem

$
0
0

On branding Tab under Site settings buttons like Download, Remove and Upload brand package are missing. I just see the Currently installed brand package and text box with None in it.

Also on the Home page some icons are missing.

SSRS version is Enterprise 13.0.4528.0

Do I need to somehow upload manually a layout package?

How To Change The default font of SQL SERVER R2 REPORT BUILDER?

$
0
0

Hi EveryOne:

   while i creating the new report, all new objects default to Arial.  The Font of Arial Will be messy code in Win10, so I have to change font to 宋体. But, I don't want Change Textbox's font one by one. In any way,  I can alert the default font of Report Builder 3.0? It's possible? thanks~

tree values sorting

$
0
0

Hi

I have created hierarchy in SSRS report from Sql SP but Month level, it is showing up sort ordering as A-Z. I want to sort it with Calendar months. Inputs please.




Aniruddha http://aniruddhathengadi.blogspot.com/

Expand nodes based on condition

$
0
0

Hi 

I have created tree like structure and I am looking for an option to make my current week and last week node expanded by default when user open report. Like the following one. Is it doable ?


Aniruddha http://aniruddhathengadi.blogspot.com/


ssrs 2017 rsclientprint requires install everytime

$
0
0

we have environment using reporting services 2017

reports are displayed with no problems but when trying to print a report from the report viewer using the print icon in the viewer it popup the installation for "SQL Server reporting services 2014" after accept and close the page of the control and reopen it request installation again . I tried it on windows 7 client with explorer 11 with same problem, same configuration was working on reporting services 2014 with no problem

searching for a solution I tried

- enable the Active X installation for the requested zone

- Manage the addons in explorer and make sure the addon is enabled

- I tried manual installation by registering the rsclientprint.dll in the folder of "Downloaded Program Files"

I notice that the cab file for the print control is not existing in the suggested location on "reportserver/bin" anymore

note : when running the explorer with user even with administrator previlages the problem occurs but when right click the explorer icon and choose "run as administrator" it works fine , but it's not acceptable solution to give normal users administrative prevs for just printing a report

any help is appretiated

OS :window 2016

SQL :2017

reporting services 2017

explorer : 11

Providing Data Driven Subscription Data via a Table

$
0
0

Is there a generally accepted SQL Server Table where we can provide the Step 4 entities of a SSRS Subscription for a data-driven subscription? Like providing the values for To, Cc, Bcc, Reply-To, etc.. Provide those values and reference them in the Step 4 from a query provided in Step 3.

Thanks for your review and hoping I am clear enough on this and hoping for a reply.

Thanks!

Reporting services 2017 rsclientprint requires install everytime

$
0
0

we have environment using reporting services 2017

reports are displayed with no problems but when trying to print a report from the report viewer using the print icon in the viewer it popup the installation for "SQL Server reporting services 2014" after accept and close the page of the control and reopen it request installation again . I tried it on windows 7 client with explorer 11 with same problem, same configuration was working on reporting services 2014 with no problem. our application use the report viewer version 10

searching for a solution I tried

- enable the Active X installation for the requested zone

- Manage the addons in explorer and make sure the addon is enabled

- I tried manual installation by registering the rsclientprint.dll in the folder of "Downloaded Program Files"

I notice that the cab file for the print control is not existing in the suggested location on "reportserver/bin" anymore

note : when running the explorer with user even with administrator previlages the problem occurs but when right click the explorer icon and choose "run as administrator" it works fine , but it's not acceptable solution to give normal users administrative prevs for just printing a report

any help is appretiated

OS :window 2016

SQL :2017

reporting services 2017

explorer : 11



How to combine conditions of a paramter without the query planner breaking?

$
0
0

I'm attempting to make a drop down list of filters for my repoprt. One is for whenjodrtg.fdescnum <> inmastx.fbin1 and the other is for whenfcomp_date<=GETDATE()-2. There's supposed to be 3 options for the filters/parameters in the drop down list the first fileter, second filter, and one for ALL RECORDS ignoring both of the filters. I want only one of these options to be selected at once. My problem is when I attempt to run one of the filters the query runs until visual studio becomes unusable and I have to restart the application.

SELECT
R,
Stack,
    RTRIM(MoldNo) as MoldNo,
    Press,
    JobNo,
    Status,
    RelDate,
    StartByDate,
    Priority,
    RTRIM(WH) as WH,
    MoldLoc,
    foperno,
    flschedule,
    RTRIM(WC) as WC,
    fcomp_date,
    flastlab,
    RTRIM(MoldDesc) as MoldDesc,
    Cavitation,
    MoldDims,
    Type,
    fddDueDate,
    fDueDate,
    foperqty,
    fnqty_comp,
    fnqty_togo,
    fnqty_move
FROM
(
SELECT
    jodbom.fbompart as MoldNo, 
    jodrtg.fdescnum AS Press,
    jomast.fjobno as JobNo,
      jomast.fstatus as Status,
    jomast.frel_dt as RelDate,
      jomast.ftduedate as StartByDate,
    jomast.fschdprior as Priority,
    inmastx.flocate1 AS WH,
    inmastx.fbin1 AS MoldLoc,
    jodrtg.foperno as foperno,
    jodrtg.flschedule as flschedule,
    jodrtg.fpro_id as WC,
    jodrtg.fcomp_date as fcomp_date,
    jomast.flastlab as flastlab ,
    inmastx.fdescript AS MoldDesc,
      inmastx.fcusrchr2 AS Cavitation,
    inmastx.fcusrchr3 AS MoldDims,
    jomast.ftype as Type,
    jomast.fddue_date as fddDueDate,
    sorels.fduedate as fDueDate,
    jodrtg.foperqty as foperqty,
    jodrtg.fnqty_comp as fnqty_comp ,
    jodrtg.fnqty_togo as fnqty_togo,
    jodrtg.fnqty_move as fnqty_move,
    ROW_NUMBER() OVER (PARTITION BY jodbom.fbompart ORDER BY jomast.frel_dt,jomast.fschdprior,jomast.fjobno) R,
    ROW_NUMBER() OVER (PARTITION BY jodrtg.fdescnum ORDER BY jodrtg.fdescnum,jomast.frel_dt,jomast.fschdprior,jomast.fjobno) Stack
    FROM jodbom 
    INNER JOIN jomast ON jodbom.fjobno =  jomast.fjobno
    INNER JOIN jodrtg ON jomast.fjobno = jodrtg.fjobno 
    INNER JOIN inmastx ON jodbom.fbompart = inmastx.fpartno
    LEFT JOIN sorels ON jomast.fsono+jomast.fkey = sorels.fsono+sorels.finumber+sorels.frelease 
    WHERE Left(jomast.fstatus,1) <> 'C' AND jomast.flisapl = 1 AND jodbom.fltooling = 1 AND jodrtg.fpro_id <> '09' AND flschedule=1 

and (@param IS NULL) OR (jodrtg.fdescnum <> inmastx.fbin1
 AND @param = 1) OR (fcomp_date<=GETDATE()-2 AND @param = 2) 


) Q
WHERE  R = 1 



How to customise and SSRS report field

$
0
0

I have a field in an SSRS Report and when I view the expression for that field I can see the following formula:

=Fields!FieldX.Value

Is it possible to edit this so that it only displays this value if another field has a certain criteria?

ie 

=Fields!FieldX.Value   only if FieldY = xxxx

Can deploy report locally but not run report the report on server/web ui

$
0
0

Hello and thank you in advance for the help. I have the following folders created (+reports) and can be accessed at the link below.

I am able to deploy my datasets, data sources, and reports from my local machine to the report server no problem with the following properties.

However, When navigating to the newly deploy report through the web, it does not run. I receive this error:

I believe it's a permissions issue but not sure where. When attempting to edit the report from the datasource in the web ui, I also receive the following error:

Is this an issue on the database side? If so, isn't granting anonymous access a bad practice? Any help would be greatly appreciated. Thanks!

Customised interval in horizontal axis.

$
0
0

Hello All,

I have a report where I see a bar for every week Thursday + Today if someone running the report on any other day then Thursday.

User want to see "Today" as axis name when required. I need to keep the same interval for dates but also need to see text "Today" always if a bar exist.

Please help.


Best Regards, Pragati



SSRS : Remove frame/padding in gauge?

$
0
0

How can I remove the top padding so the bottom stays as it is but all the space over the gauge is eliminated?

When I display several gauges vertically, there's too much unwanted space between each control.

Thanks.


VM

can a param in ssrs affect a prior param's dataset?

$
0
0

hi we run 2016 enterprise. We have a param we'd like to make less conspicuous by moving it further down in the param list but we'd like an earlier (in the list) param's ds to be dependent on the latter.

From what I remember that is not possible in ssrs but maybe there is a workaround? 

5 matrices each containing the selected salesmen vs 5 matrices for each salesman

$
0
0

Hi we run 2016 enterprise.  we have a report that shows 5 tablix's each representing a totally different (diff columns, etc) perspective on how salesmen perform. 

We want to prototype a one off that shows the 5 tablix's for each salesman picked from a dropdown.  so the 1st tablix for the second salesman would follow the 5th tablix of the 1st salesman.

Is this even possible?  On average our sales managers pick about 10 salesman in the old version of the report. 

there is a lot of toggling in this report.


SQL Server Reporting Services 2017 patching

$
0
0
How do you patch SQL Server Reporting Services 2017? In previous versions of SQL Server, you could patch Reporting Services when you patched the rest of the SQL Server services (database, SSIS, etc.). However, now that Reporting Services is a separate install, there is no option to patch Reporting Services when you patch the other SQL Server services. I only see the download page  for the full product of Reporting Services 2017. Where is the download page for the Reporting Services patches? The current Reporting Services download is definitely a higher version than the one that installed earlier this year.

How to populate Parameter values(values consisting the parameter) on x-axis of line graph in SSRS

$
0
0

I extracting data from Sharepoint List. One of List's column have duplicate values. I could do remove Duplicte operation on data with the help of Vb code and distinct values assigned to a SSRS report parameter.
Now I want this Distinct values(Example: 2010,2011,2012....)which are in Parameter, populate on x-axis of the SSRS Line Graph, then I want to sum of year values on Y-axis 
 Eagrly waitng for the solution.

Thanks

Sri

I need to create Phi chart from multi value column in Sharepoint list

$
0
0

I have column called "scope" in share point list
The column "Scope" has the values A -- in first row

"Scope" has the values B,C -- in scond row

"Scope" has the values A,B,C -- in Third row

"Scope" has the values A,B,C,X,Y-- in fourth row

I want to display count(A), count(B), Count(C) like this from the "Scope" column (which is existed in Sharepoint List) in Phi chart

and % of A, B,C,X,Y in Phi

Fields floating left when my subreport returns no records

$
0
0

Hello,

I have a report in SRSS 2016 where I am displaying text fields alongside two different subreports in the same row/group in a tablix.  Both subreports are the same height.  In the event that my subreport on the far-left returns no records, my second subreport and all fields to the right of the second subreport shift to the left.

Generally, I hear people complain about the opposite case, which is that subreports don't always hide.  In my case, the subreport returning no records is not displaying and therefore neighboring fields are shifting to fill in the space.

I worked around this issue by using a parent table in the subreport SQL query that always has a record.  This solved the problem for now, but I would like to get more information on why this is happening.  As subreports are supposed to have a rectangle as a wrapper, I'm confused why fields would shift especially since visibility is set to always show on the subreport.






How would I concatenate or join the following highlighted syntax to appear as one block of text?--Thank you.

$
0
0

selectdistinct     

               vres.EPT_PATIENT_MRN                  'PATIENT_MRN'

             ,vres.PAT_ENC_CSN_ID                   'CSN'

             ,group_line                            

             ,VALUE_LINE                            

             --, ROW_NUMBER() over (PARTITION BY vres.PAT_ENC_CSN_ID ORDER BY vres.EPT_PATIENT_MRN desc) as 'LINE'

             ,vres.COLLECTED_DATETIME 

             ,vres.PROC_CODE                        

             ,vres.PROC_DESCRIPTION

             ,acc.ACC_NUMAS'Case Number'

             ,lci.CASE_NUM

             

             ,max(casewhenrm.GROUP_LINE= 1 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE1'

             ,max(casewhenrm.GROUP_LINE= 2 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE2'

             ,max(casewhenrm.GROUP_LINE= 3 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE3'

             ,max(casewhenrm.GROUP_LINE= 4 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE4'

             ,max(casewhenrm.GROUP_LINE= 5 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE5'

             ,max(casewhenrm.GROUP_LINE= 6 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE6'

             ,max(casewhenrm.GROUP_LINE= 7 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE7'

             ,max(casewhenrm.GROUP_LINE= 8 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE8'

             ,max(casewhenrm.GROUP_LINE= 9 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE9'

             ,max(casewhenrm.GROUP_LINE= 10 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE10'

             ,max(casewhenrm.GROUP_LINE= 11 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE11'

             ,max(casewhenrm.GROUP_LINE= 12 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE12'

             ,max(casewhenrm.GROUP_LINE= 13 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE13'

             ,max(casewhenrm.GROUP_LINE= 14 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE14'

             ,max(casewhenrm.GROUP_LINE= 15 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE15'

             ,max(casewhenrm.GROUP_LINE= 16 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE16'

             ,max(casewhenrm.GROUP_LINE= 17 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE17'

             ,max(casewhenrm.GROUP_LINE= 18 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE18'

             ,max(casewhenrm.GROUP_LINE= 19 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE19'

             ,max(casewhenrm.GROUP_LINE= 20 and rm.MULT_LN_VAL_STG_RAWisnot nullthenrm.MULT_LN_VAL_STG_RAWend) as'NOTE20'

             , MAX(vres.LAST_VERIFIED_DATETIME)'LAST VERIFIED DATE'

             

      

      from  V_LAB_RESULTSasvres

        LEFTOUTERJOINPATIENT ASpON vres.EPT_PATIENT_MRN=p.PAT_MRN_ID

             leftouterjoinRES_COMPONENTScompON comp.RESULT_ID=vres.RESULT_ID

             leftouterjoinRES_VAL_DATA_RMrmON rm.RESULT_ID=comp.RESULT_ID

             leftouterjoinORDER_PROC ordONord.ORDER_PROC_ID=vres.ORDER_ID

             leftouterjoinORDER_RAD_ACC_NUMaccON acc.ORDER_PROC_ID=ord.ORDER_PROC_ID

             leftouterjoinZC_SPECIMEN_SOURCEsrcON src.SPECIMEN_SOURCE_C=ord.SPECIMEN_SOURCE_C

             leftjoin dbo.REQ_DB_MAINASrdm ONrdm.REQUISITION_ID=vres.REQUISITION_ID

             LEFTJOIN dbo.LAB_CASE_INFOASlci ONlci.REQUISITION_ID=rdm.REQUISITION_ID

             

      

where ord.DESCRIPTIONlike'%surgical pathology exam%'

       --AND src.NAME like '%breast%'

             --and rm.MULT_LN_VAL_STG_RAW <> '1'

             and

             vres.LAST_VERIFIED_DATETIMEBETWEEN'10/20/2018'AND'10/21/2018'

             AND

             

GROUPBYvres.EPT_PATIENT_MRN

             ,vres.PAT_ENC_CSN_ID

             ,GROUP_LINE

             ,VALUE_LINE

             ,vres.COLLECTED_DATETIME

             ,vres.PROC_CODE

             ,vres.PROC_DESCRIPTION

             ,rm.MULT_LN_VAL_STG_RAW

             ,lci.CASE_NUM

                    ,acc.ACC_NUM

      

orderbyvres.EPT_PATIENT_MRN

             ,vres.PAT_ENC_CSN_ID

             ,GROUP_LINEDESC

-

Viewing all 28687 articles
Browse latest View live


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