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

Creation of Report : Report empty...

$
0
0

Hello,

Trying to create a report for two requests:

  1. Per department (Collection)
  2. Per Product

I created a data source “Software Installed”

Then Three datasets

----------------------------------------------------------------------------------------------------------------------

    1. Collection:

    -         CollectionID

    -         CollectionName

    Query:

    SELECT  v_Collections.CollectionID ,v_Collections.CollectionName FROM v_Collections

    ORDER BY v_Collections.CollectionName

    ----------------------------------------------------------------------------------------------------------------------

    2. CollectionMembership:

    -         CollectionID

    -         ResourceID

    Query:

    SELECT v_FullCollectionMembership.CollectionID,v_FullCollectionMembership.ResourceID

    FROM v_GS_INSTALLED_SOFTWARE

      INNER JOIN v_FullCollectionMembership

        ON v_GS_INSTALLED_SOFTWARE.ResourceID = v_FullCollectionMembership.ResourceID

    Parameter:

    ----------------------------------------------------------------------------------------------------------------------

    3. SoftwareInstalled:

    -         Product_Name

    -         Publisher

    -         Version

    -         Instance_count

    Query:

    (Select

    /* ISS - All Workstations */

               ProductName0 as     [Product Name], Publisher0 as      [Publisher], MAX(ProductVersion0) as [Version], count( distinct ResourceID) as [Instance Count], SoftwarePropertiesHash0 as [Software Properties Hash] from v_GS_INSTALLED_SOFTWARE v_GS_INSTALLED_SOFTWARE_Alias

    where v_GS_INSTALLED_SOFTWARE_Alias.ProductName0 IS NOT NULL

    and v_GS_INSTALLED_SOFTWARE_Alias.ResourceID IN (

                   select distinct v_FullCollectionMembership_Alias.ResourceID

                   from v_FullCollectionMembership v_FullCollectionMembership_Alias

                   inner join v_R_System_Valid v_R_System_Valid_Alias

                       ON v_R_System_Valid_Alias.ResourceID = v_FullCollectionMembership_Alias.ResourceID

                   where CollectionID = @Collection) 

                                                                   and Publisher0 = 'Cisco Systems, Inc.'

                                                                   and ProductName0 = 'Cisco AMP for Endpoints Connector'

                                   group by

               SoftwarePropertiesHash0,

               Publisher0,

               ProductName0)

    ----------------------------------------------------------------------------------------------------------------------

    So now when entering the “CollectionName” on the first screen I would like to get the details of the products (so for now only Cisco System, Inc./Cisco AMP for Endpoint Connector) later I will try to add a parameter for the product as well..

    CollectionID is the link between 1 & 2 then ResourceID is the link between 2 & 3.

    For now the report runs but reports empty!!! I ran the queries in SQL and they have results....

    Declare @collection varchar(10)
    Set @collection = 'UCP00020'
    
    (Select 
    /* ISS - All Workstations */
                ProductName0 as     [Product Name], 
                Publisher0 as       [Publisher], 
                MAX(ProductVersion0) as [Version], 
                count( distinct ResourceID) as [Instance Count],
                SoftwarePropertiesHash0 as [Software Properties Hash]
    			from v_GS_INSTALLED_SOFTWARE v_GS_INSTALLED_SOFTWARE_Alias
    			where v_GS_INSTALLED_SOFTWARE_Alias.ProductName0 IS NOT NULL 
    			and v_GS_INSTALLED_SOFTWARE_Alias.ResourceID IN 
                (
                    select distinct v_FullCollectionMembership_Alias.ResourceID
                    from v_FullCollectionMembership v_FullCollectionMembership_Alias inner join v_R_System_Valid v_R_System_Valid_Alias 
                        ON v_R_System_Valid_Alias.ResourceID = v_FullCollectionMembership_Alias.ResourceID 
                    where CollectionID = @collection)  
    				and Publisher0 = 'Cisco Systems, Inc.'
    				and ProductName0 = 'Cisco AMP for Endpoints Connector'
    		group by 
                SoftwarePropertiesHash0,
                Publisher0,
                ProductName0)

    Any comment,

    Thanks,
    Dom


    Security / System Center Configuration Manager Current Branch / SQL





    Expression tweak

    $
    0
    0

    Hello

    In SSRS I am currently using this expression:

    =IIF(Today() >= DateSerial(Year(Today()), 4, 1),DateSerial(Year(Today()), 4, 1), DateSerial(Year(Today()) - 1, 4, 1))

    In a date parameter (default values, specify values). This gives me 01/04/2018.

    However for one particular report it would be helpful for the date to default to the previous year - e.g.01/04/2017.

    I've tried to tweak the above expression to make this work, but haven't succeeded. Can this expression be changed to go back one year?

    Thanks.


    SSRS 2016 error creating subscription: Something went wrong. Please try again later.

    $
    0
    0

    when trying to create a subscription I get the following error:

    Something went wrong. Please try again later.

    I tried multiple settings such as Email vs fileshare, different accounts, etc. No idea of what is going on or how I can troubleshoot this. Any ideas?

    Thanks!

    Regards,

    P.

    SSRS

    $
    0
    0
    

    Hi ,

    I have created a tabular report as seen above.

    I have two datasets.

    How can i refer the start time ans end time value in the other dataset query?

    I tried it storing into parameter/text boxes which didn't help out.

    What is best possible way to achieve it?

    Please help!

    SSRS Architechture

    $
    0
    0

    Hi,

    I am currently working on SSRS and require certain help as follows:

    1.Could you please brief me about SSRS architecture/work flow?

    2.Suppose I have scheduled 7 reports at 07:00:pm .Will those 7 will execute at the exact time i. 07:00 pm i.e simultaneously or it will process one after other.

    3.How can we track whether the scheduled report has been completed or not?How can we alert the end user that your report has not been generated due to so and so problem?

    4.If the link or URL breaks at a certain period of time how can the end user view the report manually?

    5.How can we control user access for reporting?Also,can we publish any number of reports from the server?

    6.How many users can access the same report simultaneously?

    7.Can we prepare a log file?

    8.Suppose,my client already viewed the report which i have published,how can we avoid him to view the same report again?

    9.Suppose if scheduling fails for a particular time.how can re schedule it automatically without creating a new schedule manually?

    Please help!

    Thanks in advance!

    Report on a Specific Query with SQL report Builder

    $
    0
    0

    Hello,

    I have a SQL Statement:

    SELECT 
    Name0
    ,CASE WHEN CHARINDEX('/', [System_OU_Name0],CHARINDEX('/', [System_OU_Name0],CHARINDEX('/', [System_OU_Name0])+1)+1)-CHARINDEX('/', [System_OU_Name0],
      CHARINDEX('/', [System_OU_Name0])+1)-1<0 
       THEN NULL 
       ELSE
       SUBSTRING(
         [System_OU_Name0], 
         CHARINDEX('/', [System_OU_Name0],CHARINDEX('/', [System_OU_Name0])+1)+1,
         CHARINDEX('/', [System_OU_Name0],CHARINDEX('/', [System_OU_Name0],CHARINDEX('/', [System_OU_Name0])+1)+1)
        -CHARINDEX('/', [System_OU_Name0],CHARINDEX('/', [System_OU_Name0])+1)-1
        ) END AS Department
     , 	[Operating System]
     ,  [System_OU_Name0]
     ,  [Administrator Account]
     ,  [Group or User Category]
     ,  [Domain Local or AD]
     ,  [Group Name]
     ,  [Group Type]
    
    FROM (
    
    Select 
    v_GS_SYSTEM.Name0
     ,v_GS_OPERATING_SYSTEM.Caption0 AS [Operating System]
     ,v_GS_LocalGroupMembers0.Account0 AS [Administrator Account]
     ,v_GS_LocalGroupMembers0.Category0 AS [Group or User Category]
     ,v_GS_LocalGroupMembers0.Domain0 AS [Domain Local or AD]
     ,v_GS_LocalGroupMembers0.Name0 AS [Group Name]
     ,v_GS_LocalGroupMembers0.Type0 AS [Group Type]
      ,max(v_RA_SYSTEM_SystemOUName.System_OU_Name0) AS [System_OU_Name0]
     FROM  v_GS_LocalGroupMembers0 
      Join v_GS_SYSTEM on v_GS_SYSTEM.ResourceID = v_GS_LocalGroupMembers0.ResourceID
      join v_GS_OPERATING_SYSTEM on v_GS_OPERATING_SYSTEM.ResourceId = v_GS_LocalGroupMembers0.ResourceID
      join v_RA_SYSTEM_SystemOUName on (v_RA_SYSTEM_SystemOUName.ResourceID = v_GS_LocalGroupMembers0.ResourceID)  
    WHERE v_GS_LocalGroupMembers0.Name0 LIKE 'Administrators'
    GROUP BY
    v_GS_SYSTEM.Name0,
    v_GS_OPERATING_SYSTEM.Caption0,
    v_GS_LocalGroupMembers0.Account0,
    v_GS_LocalGroupMembers0.Category0,
    v_GS_LocalGroupMembers0.Domain0,
    v_GS_LocalGroupMembers0.Name0,
    v_GS_LocalGroupMembers0.Type0  )
    t
    Order by Name0 

    Is it possible to create a report with SQL Report Builder to use it?

    Thanks,
    Dom


    Security / System Center Configuration Manager Current Branch / SQL


    eliminate un-used SSRS reports

    $
    0
    0

    Hello,
    There are hundreds of SSRS reports created by developers over years...
    Some of them seem to be very similar and some part similar...
    Question:
    What is the best way to find-out :
    1-
    which ones are similar or very similar so that the extra duplicated reports/functionalities within reports can be removed?

    Basically I am trying to reduce the SSRS report to be more manageable...

    Thank you

    PLEASE HELP: SSRS (SQL Data Tools) with Visual Studio 2015 "SSRS Report Wizard" Missing "Table Style Screen"

    $
    0
    0

    Here is what I am using:

    Microsoft Visual Studio Community 2015
    Version 14.0.25424.00 Update 3

    Microsoft .NET Framework
    Version 4.6.01531

    SQL Server Data Tools (SSDTSetup.exe)
    14.0.60629.0
    Microsoft SQL Server Data Tools

    Can anyone else confirm this for me?

    When I go in and create a new SSRS report using the “Report Wizard”, I don’t get the table style screen anymore…

    Is this by design?

    Here is what I am talking about:

    Choose the Table Style

    Slate
    Forest
    Corporate
    Bold
    Ocean
    Generic

    I don’t see this screen anymore in SSRS. Any ideas?

    I need this screen so that I can use these style templates on my new reports and they need to work on my old reports as well from SQL 2008 R2.  Please help if you can...



    SSRS

    $
    0
    0

    Hi,

    I have added a sub report in one column of main report.

    How can we refer the sub report value in some other column of report?

    scale-out deployment is not supported in this edition of reporting services

    $
    0
    0
    Can the "scale-out deployment" option be turned off so that I can migrate SSRS databases from Enterprise edition to Standard?  After I attached databases from a SSRS 2005 Enterprise to SSRS 2012 Standard I am getting an error about scale-out deployment not supported.  Any way around this so I can migrate the databases, bringing the reports and report subscriptions to the new SSRS instance?

    Lee Markum

    Tablix Group Organization and Page Breaks

    $
    0
    0

    Hello,

    I'm seeking a solution for this result from one table:

    Headers
    Row1
    Row2
    Row3
    Row4
    Row5
    ...

    Headers
    Row1
    Row2
    Row3
    Row4
    Row5
    ...

    Automatic Page Break

    Headers
    Row6
    Row7
    Row8
    Row9
    Row10
    ...

    Headers
    Row6
    Row7
    Row8
    Row9
    Row10
    ...

    I've been trying some some hours now but my result always shows each entire group with all records instead of organizing and showing each group with the same records on each page.

    Thank you for any help,
    Ryan

    can not connect to server

    $
    0
    0

    I do not seem to be able to connect to the local report server.
    Message is: can not connect to server.
    How can I get the correct name of the report server URL please?

    Thank you

    SSRS certification

    $
    0
    0

    Hello, 

    Is there a microsoft certification exam specifically for SSRS?
    Thank you

    the report server cannot open a connection: Need help to go right direction

    $
    0
    0

    Hello,

    Today is the first day that I started to use Reporting service to create reports. As I expected, I am having many basic issues on how to use Reporting service, how to configure it and how to create my first report. By reading some MSDN pages, I managed to configure 'Reporting services configuration manager' and I am able to see the home page of SQL Server Reporting Services. Further, I managed to create datasource to connect my test SQL server as well. However, when I try to create a report using Report builder, I dot following message

    'No Report builder models are available. To use report builder at least one model must be published to the report server'

    From above message, I realized that I need to have at least one report model. Therefore I started to create report model using'SQL Server Business Intelligence Development Studio' and managed to create date source and model. However, when I try to deploy my model I am getting following error message

    "The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing.  0 0 "

    How to fix this issue? I tested my connection successfully in the data source and it is working fine. I cannot find the cause of this issue. Can some one please help me on this? Apart from this, can some one point the right direction on 'Creating reports in Sql server reporting service'

    Please help me

    Thank you for reading my post,

    Raj


    Dreaming a world without any war in anywhere

    Unable to connect Power BI Reporting Server using Reporting Services Configuration Manager

    $
    0
    0

    I installed Power BI Server and and prossess of configuration. At the end of installation,prompted to configure
    the report server. Click on Configure report server button, which would open up a screen as shown below.

    My issue is When I get new "Reporting Services Configuration Manager" unable to connect to power BI reporting server.
    REport server instance is disable and unable enter "PBIRS"




    SSRS native installation to another server

    $
    0
    0

    In our environment, I have a DB server, APP server, and WEB server.  Transparent Data Encryption (TDE) is applied on the SQL Server 2016 Enterprise database server. I'm not sure if the TDE creates a complication when SSRS connect to the database.

    I am installing SSRS on the APP server.  The installation was successful without issues. The configuration however is another story all together.  I have a service account to use for SSRS to connect with the DB server.

    Service Account - was already configured from the install

    Web Service URL - Default for now and will be configured with SSL certificate later

    Database - Added a new database successfully without issues. Configured using service account

    Web Portal - Configured using SSL certificate

    The ReportServer service will not start due to timeout issues. 

    What is cause of this timeout issue? Please advise.

    Error after change of subject of standard subscription.

    $
    0
    0

    Hi,

    I am a learner of SSRS, I had a list of standard subscriptions with descriptions and delivery options. I want to change the subject of subscribed mail from "@ReportName was executed at @ExecutionTime" to "(Company Name) @ReportName was executed at @ExecutionTime". After changing the subjectline, whenever I click "ReportName" -> Manage -> Subscription; I am getting error. (An error occured; something went wrong please try again later). 

    Can anybody help me what can be cause of error and how it can be fixed ? Really appreciate your input.

    Thanks,


    case statement is giving duplicate record.

    $
    0
    0

    I have a following code snippet. This is giving me duplicate records.

    select state_id,

    case when upper(location)='CLE'then'Cleveland'

      when upper(location)='PHL'then'Philadelphia'

    end label_report_location

    from states

    result:

    state_id        label_report_location

    1                   Cleveland

    1                   

    2                   Philadelphia

    2                   

    I strongly feel it's due to how my case statement is set up. When I remove the case statement, then I don't get any duplicates.

    Any suggestions as to how I can improvise my case statement, so that same record doesn't get repeated twice.

    Thank you in advance!



    How to hide data source folder in SSRS server manager

    $
    0
    0

    Hi,

    I have deployed multiple reports in reporter manger along with data source folder (am using shared data source). Also am added more the 20 user and provided access for browsing and download. I don't want to show data source folder for users accept admin. Please do needful on this issue. 


    Thanks Bala Narasimha

    Create colums with total by category

    $
    0
    0

    Hello

    I have this query

    SELECT        GL00102.ACCATNUM, GL00102.ACCATDSC, GL00201.BUDGETID, GL00201.PERIODDT, GL00201.PERIODID, GL00201.BUDGETAMT, GL00201.YEAR1, GL00201.ACCATNUM AS Expr1
    FROM            GL00102 INNER JOIN
                             GL00201 ON GL00102.ACCATNUM = GL00201.ACCATNUM

    Where ACCATNUM = 1,2,3, 4

    I need to build a report where the columns amounts are 1 + 2 + 3 + 4 = Value

    How I can group them by column and at the same time have the sum of each value.

    Please help, 

    Viewing all 10045 articles
    Browse latest View live


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