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

Total

$
0
0

hi I want to do report in SSRS

which should look like as below, how to do August total and Sept total at the end of the table

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

week                 total sales              total tax

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

6th Aug            200000                 300000

8th Aug            200000                  3000000

9th Sept          44444                   444

15 Sep            55555                  000

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

Aug Total         xxxx               yyyy

Sept Total        xxxxx             yyyy

Grad Total     zzzz                 zzzzzz


Join two datasets

$
0
0
How to join two datasets and use in single report in ssrs 2016?

can a text box be limited to a certain number of characters

$
0
0
Hi we run 2016 enterprise. can an enterable text box param be limited to say 8 characters? And since we are here, be no less than 8 characters?

Can't connect to data base

$
0
0

I have created a database and table using SQL and I am able to scroll through the table using HTML, PHP and SQL.  It all works perfectly.

But now I want to create a Report for printing out parts of the table.

I am using Rapid PHP to view the table.  

I am using code like below to connect to the table in the Rapid PHP environment.

$servername = "localhost";
$username = "root";
$password = "";
$dbname = "dbadvert01";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);

I can navigate to the Database File using the Windows Explorer and have attempted to use that type of navigation to connect to the databases with the Report Builder but I am unable to establish a connection.

Any help would be appreciated.



Mike Smith

How to Use RDLC in .net core 2.1 Web Application

$
0
0

I am upgrading Web Application from ASP.Net to .Net Core 2.1

In application, there are around 30 reports. So, I am looking for solution for .net core Reporting SSRS.

Date variable in the "File Name" in a Subscription

$
0
0

Hi!

Is there a way to add to a file in "Windows File Share" Subscription only a Date Variable and not the @TimeStamp (That contains also time)? Is there a special Variable for that?

TimeStamp

Showing a Chart with Chartarea

$
0
0

I want to create a chart with chart area which will have Calendar Date on X axis and Amount of a Company on Y axis.

Similarly I want to show this data for Current as well as Previous year in same chart.

How this can be achieved.

Please guide.

Kalyani S





SSRS: Sort by Monthnumber not by Alphabetical

$
0
0

Hello Everyone - I created a report which displays the data for last 3 month only. This is May, so the report pulls data for April March and Feb. 

I want my report MOnth value to show up in Chronological order like April, March and Feb. 

But its showing as April, Feb, March (May be its taking as Alphabetical order. Please see below 

below is the screenshot and the group properties value.



I want to be displayed as April, March, Feb. 

I want to be displayed as April, March and Feb


Custom code error - SSRS 2008 R2

$
0
0

I am facing issue to use customer function to get image size but this code is not working in SSRS report.

However, when i using this function in SSRS report to get Height of Image then getting "#ERROR Code [BC30002]" 

Please find below my function:

 

Function GetImageHeightPoint(ByVal path As Object) As Integer

        Dim image As System.Drawing.Image = System.Drawing.Image.FromFile(path)
        Dim heightpt As Integer = 0
        Dim padHeight As Integer = 0
        If image IsNot Nothing Then
            Dim imageResized As System.Drawing.Image = (CType(image.Clone(), System.Drawing.Image))
            Dim resizeWidth As Integer = 0
            Dim resizeHeight As Integer = 0
            Dim heightIsLongerDimension As Boolean = (imageResized.Height > imageResized.Width)
            Dim heightInches As Integer = (imageResized.Height / imageResized.VerticalResolution)
            Dim widthInches As Integer = (imageResized.Width / imageResized.HorizontalResolution)

            If heightIsLongerDimension Then
                resizeHeight = imageResized.VerticalResolution * 3
                resizeWidth = ((imageResized.Width / imageResized.Height) * imageResized.HorizontalResolution) * 3
            Else
                resizeWidth = imageResized.HorizontalResolution * 3
                resizeHeight = ((imageResized.Height / imageResized.Width) * imageResized.VerticalResolution) * 3
            End If

            Dim pixelHeight As Integer = resizeHeight
            Dim pixelWidth As Integer = resizeWidth
            Dim inchHeight As Integer = Math.Round((resizeHeight / imageResized.VerticalResolution), 1)

            heightpt = inchHeight * 72
            padHeight = ((250 - heightpt) / 2)
            Return padHeight

        End If

        Return padHeight
    End Function

Thanks in Advance. :) 


Custom code error - SSRS 2016

$
0
0

I am facing issue to use customer function to get image size but this code is not working in SSRS report.

However, when i using this function in SSRS report to get Height of Image then getting "#ERROR Code [BC30002]" 

Please find below my function:

 

Function GetImageHeightPoint(ByVal path As Object) As Integer

        Dim image As System.Drawing.Image = System.Drawing.Image.FromFile(path)
        Dim heightpt As Integer = 0
        Dim padHeight As Integer = 0
        If image IsNot Nothing Then
            Dim imageResized As System.Drawing.Image = (CType(image.Clone(), System.Drawing.Image))
            Dim resizeWidth As Integer = 0
            Dim resizeHeight As Integer = 0
            Dim heightIsLongerDimension As Boolean = (imageResized.Height > imageResized.Width)
            Dim heightInches As Integer = (imageResized.Height / imageResized.VerticalResolution)
            Dim widthInches As Integer = (imageResized.Width / imageResized.HorizontalResolution)

            If heightIsLongerDimension Then
                resizeHeight = imageResized.VerticalResolution * 3
                resizeWidth = ((imageResized.Width / imageResized.Height) * imageResized.HorizontalResolution) * 3
            Else
                resizeWidth = imageResized.HorizontalResolution * 3
                resizeHeight = ((imageResized.Height / imageResized.Width) * imageResized.VerticalResolution) * 3
            End If

            Dim pixelHeight As Integer = resizeHeight
            Dim pixelWidth As Integer = resizeWidth
            Dim inchHeight As Integer = Math.Round((resizeHeight / imageResized.VerticalResolution), 1)

            heightpt = inchHeight * 72
            padHeight = ((250 - heightpt) / 2)
            Return padHeight

        End If

        Return padHeight
    End Function

Thanks in Advance. :) 



Percent of total of a column of divisions.

$
0
0

Hello. I was hoping someone might know how to solve this:

I need to get a value for each department (income/expected income), and once I have that value, see what percentage of the total of those factors that department represents. Both income and expected income come from the same dataset.

Example:

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

Department   -   Income   -   Expected  -  Factor  - %POT

       A           -       90      -       100      -   0.9     - 28.66%

       B            -      54      -         42      -  1.29    - 41.08%

       C            -      36      -         38      -  0.95    - 30.25%

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

I thought the following code would give me the right value

(sum(Fields!Total_Income.Value)/sum(Fields!Expected_Income.Value))
/Sum(sum(Fields!Total_Income.Value)/sum(Fields!Expected_Income.Value),"T_8020")

However, it gives me the following error message:

The Value expression for the textbox 'Textbox78' has an inner aggregate in an outer aggregate that specifies a dataset scope. An aggregate that specifies a dataset scope cannot contain other aggregates.

For this particular table there is a single group above the details group. I cannot bring the division already calculated from the dataset because it doesn't return the appropiate value due to the level of granularity the data is at.

Any help would be really appreciated =)

Parameter value being sent under another parameter name.

$
0
0

Hello, 

I am querying an oracle database through OLE DB. I have created 3 parameters, 2 dates and 1 number. 

Since the query was not working properly, I tried debugging it.

First, I created a shared dataset with:

select :p_fecha1, :p_diasp, :p_fecha2 from dual;

I created a table with these values, and this is what I get:


I really have no idea what is happening. The value of P_Fecha2 is being assigned to DiasP and DiasP is being returned with Fecha2. I'm sure I must be missing something but I can't find it. Does anyone know what is happening here?





The report server was unable to validate the integrity of encrypted data in the database. (rsCannotValidateEncryptedData)

$
0
0
Hi, i got problem with SSRS 2016. The webseite shows an error: The report server was unable to validate the integrity of encrypted data in the database. (rsCannotValidateEncryptedData). I would like to save the encryption key and after this delete it but the options is greyed out. I'm not SQL specialist, but i think there is a problem with initialisinf of reporting seservices. What happen if the encryption will be removed? The users lose their data? I really appreciate any help you can provide

Visual Interaction in SSRS

Visual Studio 2017: How to configure to deploy to both 2008 and 2017 Report Server environments?

$
0
0

Hi All,

Recently we converted a large reporting environment (1000+ reports) from SSRS2008 to SSRS2017.  For a period of time, I need to support both environments, building, deploying, and configuring reports for both SSRS versions.

I am trying to use Visual Studio 2017 with SSDT installed.  The environment works great and I am able to deploy to both versions of SSRS.  The problem I am running into is how to configure multiple deployment environments and quickly switch between environments.

Ideally, I would like to create two configuration environments:  SSRS_2008 and SSRS_2017.  I would like to quickly switch between these target configurations by clicking on the menu ribbon (Solution Configurations)/(Solution Platforms) dropdown menu. 

My Report.sln has 60+ projects with 5-50 Report_xxx.rdl files. Today I have to configure each OutputPath, TargetServerUrl, and TargetServerVersion property manually before I build and deploy.

How do I configure my environment to quickly switch between the two environments without having to tediously go through each project each time I want to Build and Deploy? 

It looks like I should be able to do this, but some how I'm getting VS Configuration Manager wrong!  I've read numerous documentation, but it I'm missing something!

Any help is appreciated.

Thanks,

--Dan


SQL Query-To get the report URL by using Report Name or Report Path

$
0
0

Hi,

Could you please let me know if you have any general query to get the report url by using report Path ?

Thanks.

Missing Secure Attribute in Encrypted Session (SSL) Cookie

$
0
0

Hi team,

I want to custom config in the Reporting Services web.config, but it doesn't work, Do you know how to access or custom the web.config to validate secure cookies?

Here the error:

Secure cookies: XSRF-TOKEN/XSRF-NONCE

Missing Secure Attribute in Encrypted Session (SSL) Cookie


Thanks,

David L.


David L.

SCCM Reporting Services Point Configuration

$
0
0

I am having trouble setting up a reporting services point in Configuration Manager. It keeps looping and creating more folders on the report server.

Best 3rd party tool for scheduling SSRS reports. Needs to email password protected pdf and excel documents

$
0
0

Looking for an easy to use 3rd party tool for scheduling SSRS reports.  Needs to email password protected pdf and excel documents.  For a small company, so needs to be low cost.  Any recommendations?

Thanks

Problem trying to convert a 2008 ssrs solution with Visual Studio 2017

$
0
0

trying to convert a 2008 ssrs solution with Visual Studio 2017 gives me the following error...

"Visual Studio needs to make non-functional changes to this project in order to enable the project to open in released versions of Visual Studio newer than Visual Studio 2010 SP1 without impacting project behavior "

Viewing all 20764 articles
Browse latest View live


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