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

Need to display the first 5 values of a Multi value parameter in SSRS report

$
0
0

Hi All,

I have SSRS report with multi value parameter. I need to display the parameter selection values in a text box. I've more than 50 records in the multi value parameter list. I've included the code to display "All" if I choose "select all" option otherwise it will show the selected values. But, I need to change the logic. I have to show only the 1st 5 records if I choose more than 5 records.

How can I implement this?

I have used the below code

=iif(

Parameters!Country.Count = Count(Fields!Country.Value, "Country")

,"All"

,iif(Parameters!Country.Count>5

,"Display the 1st 5 values"

,Join(Parameters!Country.Value,",")

)

)

Regards,

Julie





  

 

 



Hiding rows/columns completely in SSRS tablix even when they have data

$
0
0

I have 4 tablix with some columns and rows in my report. I have Filter on Columns and doing rowcount() on columns and row, for one of the tablix the issue is that it hides and have some white space even it has data. 

How could I solve it.


Shareef


Reportitems expression errr

$
0
0

=Switch(
Parameters!COMPARE_TO.Value = "PP",
Iif(
Reportitems!Average_compared_period_region.value = "/" 
,"/"
,
(
(Reportitems!Average_current_period_region.value - Reportitems!Average_compared_period_region.value) /
Reportitems!Average_compared_period_region.value
)
)
,
Parameters!COMPARE_TO.Value = "PY",
Iif(
Reportitems!Average_compared_period_region.value ="/"
,"/"
,(
(Reportitems!Average_current_period_region.value - Reportitems!Average_compared_period_region.value) /
Reportitems!Average_compared_period_region.value
)
)
,
Parameters!COMPARE_TO.Value = "NONE",
"/"
)

The following expressions works if all reportitems contain a value.

When the average current and average compared period contain a "/", the report gives #ERROR.

Anyone has an idea why? Even tho when my report has the parameter NONE selected, it gives an error, why it is clear it should just be "/"

Repeated Header Row within a Details Section Only of a Group Ignores Tablix Member Properties

$
0
0
Ok.  I have a situation where I have a details section of a group, and I am trying to get it to repeat the row headers on each page.  It's not working.  I've gone into Advanced Mode, and addressed the static Tablix Member for the left-most field of the header row in question, set the properties for the Tablix Member to "RepeatOnNewPage:  True" and "KeepWithGroup: After", and still, it refuses to repeat the row header for these details.  I've tried rebuilding and not deleting the column where the grouping was originally assigned (without deleting the grouping, of course), and assigned the properties for "RepeatOnNewPage" to that left-most, grouping field, yet I get the exact same results.  I've looked up solutions, and even spoken to the expert of experts, but no joy here.  I'm using VS'10.

display report in body of email

$
0
0
Is it possible for a subscription to deliver the rendered report in the email body rather thn as an attachment or a link?

SSRS 2008 Gauge ToolTips - expression does not work?

$
0
0

Hi,

 

I'm attempting to use various SSRS 2008 gauges in a report.  When I attempt to use an expression in a tooltip such as '=Sum(Fields!ID.Value)' , the tooltip does not show up.

 

However if I replace that expression with a static value such as '1' it pops up.

 

It seems that an expression should work?  Any reason that it would not?

 

Thanks

SSRS Different Aggregation on Rows and Columns

$
0
0

I have a matrix in Reporting Services that has a matrix that looks like this: 

I need to change the aggregation for the Data of matrix so it gets the SUM of Row Groups and the LAST of Column Groups.

Imagine two countries, USA and UK, the total for 2014 should be:
December 2014 for USA + December 2014 for UK

The same way, the total for Q1 2014 should be:
March 2014 for USA + March 2014 for UK

Usually what we get in SSRS for these cases is:
Whole 2014 for USA + Whole 2014 for UK

I basically need the last value for each parent item on Column Groups, summing them on Row Groups.

how to retrive all the items from the other Dataset using lookup function

$
0
0

hi

i am using lookup function to retrive the data from the 2 datasets  in reporting, i am able to retrive the data but i am getting only 1 result from the other dataset , there are 5 items in the Description field but i am getting only 1 item in the results. but i want all the  5 items from the other dataset 

       below is the lookup function that i am using 

    =Lookup(Fields!StoreID.Value, Fields!ID.Value,Fields!Description.Value, "DataSet2")

   

Thanks


sal


SSRS: Line Chart, Grouping by Day

$
0
0

I have a fairly specific set of data I am trying to display.

I have a dataset of helpdesk ticket data.  I would like to display a line chart that shows tickets opened and tickets closed by day, over the last 30 days.  I've been able to display one of these just fine, by adding an expression to my Category group:

=Day(Fields!Created.Value)

The 'Created' line displays just fine, yet the 'Closed' line seems to jump around at random.  It seems that I can't further group by day on the 'Closed' column; this breaks the chart even further.  Here's an example image:

(I can't post an image yet due to my account not being verified)

Please let me know if I haven't been clear in any way.

Thanks,

Sonny

Hide or show a column based on a parameter?

$
0
0
I have a parameter that has two values linked to 2 fields and included in my SQL query.  I would like to hide or show columns based on the parameter value chosen for other fields.  How do I begin to write the expression? 

adjust app pool settings for SSRS 2014?

$
0
0

SSRS is no longer hosted in IIS.  So how do you adjust the SSRS app pool settings to never time out?

thanks

scott

hide/show text boxes in report header

$
0
0

Hi All,

I'm trying to implement a request to have a tablix header frozen in excel. So, I'm placing it in the report header as text boxes. However, there are two different tablixes (a one per page) with two different headings. I'm trying to place those two headings into two rectangles in the report header hiding and showing a one of it based on the Page No. It works but only for the first tablix heading as it's shown on the first page and hidden on the second page. But, the second tablix heading is not shown on the second page for some reason. It's probably due to the Page No rendering is  going later than the text boxes  appearances on the second page or something else causing it. 

I did try to use the Global Page No in if visibility statement for those two rectangles, trying to get Page No through a function, using it as a parameter,  but nothing is making the second rectangle to show on the second page report header.

Please, help with how it could be done.

Thanks

format an date diff expression to hours and minutes

$
0
0

Hello,

I have this expression DATEDIFF(HOUR, startdate,enddate)  which only shows the hours. I need to show the hours and minutes too , exp. 9.17. Any way to convert the expression to do this. The startdate and enddate fields are mm/dd/yyy hh:mmTongue Tieds. I am using report builder.

Error Connecting to Report Manager

$
0
0

Hi,

I get the following error connecting to the Report Manager 2005,

Server Application Unavailable

The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.

I checked the IIS and the reporting service and both are running.

Thank you in advance...


Need to customize SSRS Report

$
0
0

I have a report as shown below

The marked section is a line. I need to display the line in each page of report. Currently its showing in only one page

Need Help!!

Thanks


Abhinav



Re-installing AD , SP 2013 is not working

$
0
0

Hi everybody,

i am having an AD server (Windows Server 2008 R2) on one machine and sharepoint server 2013 on another.

Yesterday my AD server was crashed then i re-installed the AD with the same set of software. i have created the same user id (XXXX\administrator )and password for the admin user.

i have rejoin the new domain (identical to the previous one) and restarted all the services in services.msc.

but i am not been able to view my sites.

any help is worth appreciated.

Report Builder 3.0 on SharePoint - "refreshing" issue.

$
0
0

Something that has been bugging me since day one of working with Report Builder is the way a report will sometimes “refresh” if you leave it alone for a little while – especially when the system is busy. 

For example when you change the value in a parameter drop-down the report will simply refresh using the default parameters, ignoring any changes made. Sometimes it refreshes even before I click the “Apply” button!  Is there anything that can be done to address this behaviour? Many thanks in advance.

How to compare two column between two datasets in report Builder

$
0
0

Hello all,

I have a developed a report which contains two data sets as shown below

Now i have to match the value of proj_id and ProjectTicketId fromds_New   to   project_id and ProjectTicketId in ds_Previous

and get the respective "Client"  from ds_Previous.

How can i get the following data in Report builder 3.0

Thanks in advance.


Pankaj Kumar Yadav-


Don't include last page of the SSRS report based on the parameter.

$
0
0

I created the report, which has 4 pages.

Each page contains bunch of tables and charts, which display data in scope of dataset, created for each page and reflecting certain subject.Each page also has Header and Footer.

My users requested, the report has possibility to include or not include data on Page #4.

Other words, report should display 3 or 4 pages based on the entered parameter.

1. I created parameter named  “Include #### metrics”, which contains options: Y, N

 2. For each object on the page 4 I added dependency on the selected parameter in  the visibility option.

Now if user select parameter Not include Page #4, report displays 3 pages as expected and page #4 is empty, but with Header and Footer.

The problem: Theirpreference is to not to show page 4 at all if someone chooses to not to include#### metrics.

My question is how to force the report to display just 3 selected pages.

What is the difference between REPORT MANAGER and REPORT SERVER?

$
0
0
 "What is the difference between REPORT MANAGER and REPORT SERVER?"
Viewing all 10045 articles
Browse latest View live