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

SQL Server Reporting Services Using Report Builder 3.0

$
0
0

 Please help!

I am unable to pass the parameters in the query designer  of Microsoft Report Builder 3.0 and calculate specific cells values such as Avg and sum of specific cells.


IIF statements SSRS

$
0
0

I am trying to formulate an expression to display an LTV based on either a surveyor value or if there is no surveyor property value present use an estimated property value for the equation. The calculation for the LTV is application amount divided by property value. 

I have tried the below expression but I keep getting #ERROR on my report

=IIF(Fields!SurveyorPropertyValue.Value="0", Fields!ApplicationAmount.Value/Fields!PropertyValue.Value, Fields!ApplicationAmount.Value/Fields!SurveyorPropertyValue.Value)

The calculations work separately but not when they are put in an IIF statement

Thanks in advanced

SQL Server Reporting Services Using Report Builder 3.0

$
0
0

Dear Sir,

When i am dealing only with data set the report works fine but as i create another new data set and run the report it shows me the following error:

If i delete the created data set then it works completely fine.

The tablix 'Tablix2' is invalid. The value for the DataSetName property is missing.
----------------------------
The definition of the report 'Main Report' is invalid.
----------------------------
An error occurred during local report processing.

Setting a static x-axis in a chart

$
0
0

I have data per month (2 different years). Looks like this in visual studio:

I might have a case where there is no data for some of the months, for example March is missing here:

I want to make sure the whole axis is always shown, i.e. it is a static axis not dependent on the data.

How can I achieve this?

I don't have an option to add dummy data to my dataset, most of the columns there are encrypted so I cannot reliably set the measures = 0 for the dummy data.
I have tried to have a scalar axis based on the month's numbers (that I get from the dataset together with month names) but I cannot connect the 0-12 scalar positions to the month numbers, so when month 3 is missing I get month 4 in 3rd position.

SSRS - Dataset row limit???

$
0
0

Background

  • SQL Server 2017
  • Dataset retrieving 384,415 rows directly from a single table (select * from sourceTable)
  • Using SSDT for Visual Studio 2017
  • Database + SSRS Report server ran locally on my test PC
  • PC has 8G RAM

Problem

Error "System.OutOfMemoryException" when previewing report in SSDT for VS2017

Questions

1. What is the dataset row limit in SSRS?

2. Other possible solutions to display this amount of data in SSRS?

Thanks


SQL Server Reporting Services Using Report Builder 3.0

$
0
0

Hi,

I need to sum up some individual values using where clause such as SELECT SUM(VAL) FROM TEST WHERE NAME='ABC'

My WHERE condition will always change please help!

Report Builder: Optional Parameter

$
0
0

Hey
I am currently working on a Report which should allow an optional Parameter.

Here is the situation:

I have two mandatory fields where you can set the event dates to limit the result with only values between these two dates. This works fine.

Now i want to create an optional parameter which allows me to restrict the result by the most common countries. Lets say i have a dropdown with three countries (India, USA and Australia) where you can select one or more of those countries. This works also fine.

I want to define: if no country of those three is selected (because they are optional),select all the countries that exist (there are 20 countries)

I tried to create two datasets one with all the values and one with only the optional values. Then I defined in the parameter properties the optional values as available values and all the values as default values which unfortunately did not work. (it only selected the available values)

How can i get my desired result? 

Thanks a lot for your help :-)


SQL Server Reporting Services Using Report Builder 3.0

$
0
0

Hi,

Suppose i have taken two tables in my report,i need to calculate a sum of two cells which are present in tablix 1 how can we relate it and show its result in the tablix 2 cell.like we do in excel(cell wise calculation)

How can we calculate sum/avg etc of specific cells in report builder  3.0

please help


Problems with font definition in SSRS 2017 reports

$
0
0

Hi

I've just upgraded from 2012 to 2017 and I think I might have something wrong with the install/config.  Either that or I'm being a bit thick!

For some reason, the font on new reports is not being defined and the data returned is invisible.

It is possible to fix this by changing the font from Arial to something else (and then changing it back again, if required) at which point the font becomes visible.

Furthermore, on examination of the reports XML, there appears to be no mention of the font definition.  

Once modified, I found that the XML has been updated to include the following:

<Style>

<FontFamily>Arial</FontFamily>

</Style>

Anyone have any experience of this problem and a solution?

Thanks

Displaying Only Last Data Label Values in Line Charts

$
0
0

I have the following parameters:

@SnapshotDates1, @SnapshotDates2 (Same as snapshot 1)

@Term1, @Term2

Dataset Fields:

Employment_Rate.Value

On my Line graph, I'm trying to display only the data label for the last value from the parameters (the larger one). 

However, no matter what formula I feed into my Data Visibility expression, I keep getting a return of all data label values:

I've read online to create a true/false statement for the field value, however none seem to be working:

=IIf(Fields!Employment_Rate.Value=Last(Fields!Employment_Rate.Value,"Chart12_SeriesGroup1"),true,false)

=IIf(Fields!Employment_Rate.Value=Last(Parameters!Snapshotdate1.Value,"Chart12_SeriesGroup1"),true,false)

I hope this is enough information as I'm relatively new to SSRS.

TIA

Field not available in report design

$
0
0

Hi All,

I updated a stored procedure to add a field to be available in my report. When I edit the dataset in Report Builder 2014 I can see the field exists. However, when I look in Report Builder for the actual report, the field will not show up. I've refreshed the dataset and even deleted and re-added it. I don't have any caching on the dataset. Any thoughts on what else I might try?

Thanks for any help.

UPDATE: I'm trying to find the RDL.data file to delete. However, since I am using Report Builder I am having trouble locating it.


HTTP Log not in folder as expected

$
0
0

Attempting to implement a new SSRS 2016 server, I followed the steps listed here: https://docs.microsoft.com/en-us/sql/reporting-services/report-server/report-server-http-log?view=sql-server-2016

The goal is to start the HTTP log and review the logs for any potential issues. I expect the HTTP log to be in the same folder as the trace logs; however it is not there. I did a search for any file named "ReportServerService_HTTP_*"and no luck.

I stopped and started the SSRS process using the reporting services configuration manager.
Perhaps some other service(s) need stopped and started before the HTTP log starts to populate?

ssrs 2016 generate student ID cards

$
0
0
In a new ssrs 2016 report, I need to generate student id (identification) cards. The requirement is to have 12 unique students print in each regular sheet of paper that is 8 1/2 by 11 inches. There will be 3 columns and 4 rows.  On one sheet of paper, there should be 12 different student id cards. No student should get more than 1 student id card.
Right now I am able to unique students in column number 1. However in column #2 and column #3, the same student information is printing that is in column #1.
Thus can you tell me and/or show me how to get unique student information in all 3 columns of the ssrs 2016 report?

Combine data from multiple rows into one row in RDLC report

$
0
0

Hello

I have 3 Database tables named patient, test and groups

The patient table have patient name and test_Id columns

the test table has test_id , test_name and group_id

groups table has group_Id and group_Name,

and i made SQL query that brings all data in the 3 table considered the relationships between the 3 tables.

and this is the result of my query

patient_name test_name group_id A test1 1

A test2 1 A test3 1 B test4 2 B test5 2

I want the result to be like this

Patient_name    Test_name                  group_id

A                       test1, test2, test3          1

B                      test4, test5                      2

This is my example, i tried to make Join with Lookupset functions

=Join(LookupSet(Fields!groupId.Value & Max(Fields!patientId.Value)
    , Fields!groupId.Value & Fields!patientId.Value
    , Fields!testName.Value
    , "BarcodeDataset"), ",")

It was succeeded but repeating the row  with test numbers- if the patient has 3 tests, rows will be repeated 3 time

,like that

A                       test1, test2, test3          1

A                       test1, test2, test3          1

A                       test1, test2, test3          1

B                      test4, test5                      2

B                      test4, test5                      2

I only want the result to be in one row for each patient.

Sorry for making it long question but i wanted to make my case's clear.

SQL Server Reporting Services Using Report Builder 3.0

$
0
0

Hi Sir,

Could you please suggest how can we pass the query values using atext file where clause.

Example;

SELECT * FROM ABC WHERE NAME  IN (C:\\TEST.TXT)

Please help!


Document Map not showing in report viewer on web page

$
0
0

I have a SSRS report that is configured to show a document map.  The document map is visible in Visual Studio Preview of the report.  It also shows correctly when deployed to a SSRS 2008 report server and viewed using the <server>/Reports web site.  When viewed in a web site that has the Report Viewer control you see everything but the Document Map button and panel.  I checked the ASP.NET web application to be sure no properties of the viewer where set to hide the Document Map and everything looked correct.  I also tested with IE 6, 7, and 8 and found no difference.

I have run out of ideas can anyone help?

Thanks Mark

Power BI Server - Cannot add a New Data Source on Web Portal

$
0
0

Hi all,

When I try to create a new Data Source on the Power BI Report Server I get the following error:

"Something went wrong. Please try again later."

I am running Power BI Server 14.0.600.437 on a Windows Server 2016 and have the following configurations on my PBIRS Instance:

1) Service Account: I am using an AD Service Account

2) In rsreportserver.config I have:

     <AuthenticationTypes>
             <RSWindowsNegotiate/>
             <RSWindowsKerberos/>
             <RSWindowsNTLM/>
    </AuthenticationTypes>

and

     <ReportServerUrl>https://FQDN/ReportServer</ReportServerUrl>

What could be the issue?

T-SQL Use String-split on a table column

$
0
0

Can anyone provide an example where they parsed a table column that has multiple values with a delimiter?

Thanks!

SQL Server Reporting Services Using Report Builder 3.0

$
0
0

Hi Sir,

How can we calculate sum or average of cells in same table as well as different tables 

I have grouped both the tables using row group.

How can we calculate two different cells value irrespective of distinct tables like we do in excel sheet.

Suppose i am table 1,in which one cell value is 50 and in other table i.e table 2 i am having a value 70.

Now, I want to display the sum of these two cells of two different tables in the third table or separate text box how can we do that?Is that possible using Report Builder 3.0.

Please suggest and it would be very help full if you can forward me sample report related to the mentioned scenario.

SSRS 2008r2 Report permission issue (Not your typical access denied)

$
0
0

Hello,

I have a folder with several reports, all have the same security settings. The folder and reports use an AD security group for access, no variations.   The report in question works for me (I wrote it and I am an administrator) but it errors out with an "access denied" for others in the same AD group.  All of the reports use the same shared data source and it is working fine. The users can run all of the reports in the folder except for this one.

We have deleted & redeployed the report, deleted and added back the security group and individuals in the SG and the report is still displaying the access denied error message.  I can see no issues with anything, I'm totally stumped by this.

Any help would be greatly appreciated!

Viewing all 10045 articles
Browse latest View live


Latest Images

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