Quantcast
Viewing all 10045 articles
Browse latest View live

Phone # format 123-456-7895

Hi All,

I would like to format the US phone number format in say 123-456-7895 either at SSRS level or SQL level. Currently the client is not having proper standard way to enter phone numbers and this is cauisng wrong display in the report.

Is there any function that I could use in SQL for formatting phone numbers  that will be of the type

 (516) 491-6675,5164916675 into correct US format phone numbers

Any near solution please let me know.

Thanks

Mahesh MSBI


rg.mahesh2006@gmail.com


Report Builder 3.0 - View the data of a column

In Report Builder 1.0 you could drag a column to a filter and see the data before select the values for the filter.

I can't find a way to do that in report builder 3.0. is it possible to see the data of a column in Report builder or SSRS?

Thanks, Susan

The given key was not present in the dictionary

Hi,

When I try to preview a SSRS report in VS 2005 I get the following error: "The given key was not present in the dictionary", however when I deploy the report and view it in the Report Manager all is fine. I have not been able to find any usefull info in MSDN, any one have an idea what I can try?

How to Arrange Dynamically Column based on parameter in SSRS 2008 R2

Hi,

i have below table in DB

DB Table  
ID Column Row data
1 Supplier CODE 1001
2 Supplier Name ACB
3 Product 7K7
4 Price 1000
now I create   one report parameter order1
IF I will   give order1.value=1,2,3 then Report will come like this :--
Suppliercode Supplier Name Product
1001 ACB 7K7
IF I will   give order1.value=3,2,1 then Report will come like this :--
Product Supplier Name Suppliercode
7K7 ACB 1001
IF I will   give order1.value=1,3 then Report will come like this :--
Suppliercode Product
1001 7K7

How to Alternate Row Background Color in SQL Server Reporting Services Tablix on Grouping row without Details Row in Tablix

Hello SSRS MVPS

In the tablix If there is no Details row and Tablix is having multiple Groupings and in this case how do I apply Alternate Row Background Color atleast for one grouping.

Please let me if theres is solution or fix.

Thanks in Advance 

Obtaining Column Names From Data?

Hi friends,

Got a table like:

  • Reporting_Date
  • Customer
  • Sales
  • ...

In such a case need a view with custom headers with a prefix of Latest date found in the first field of Reporting_Date. In other words if Reporting_Date consists data like following six entries:

  1. 1-JAN-2010
  2. 31-DEC-2013
  3. NULL
  4. 14-AUG-2014
  5. NULL
  6. 31-MAR-2015

Then, could there be anyway to achieve a View with the headers (i.e. complete data without any filtration) in the following form:

  • Mar312015_Reporting_Date
  • Mar312015_Customer
  • Mar312015_Sales
  • ...

See if any of you experts can help.

Thanks in advance


Thanx in advance, Best Regards, Faraz A Qureshi

SSRS distinct lookupset function URGENT

Hi all,

I have an urgent requirement for a report... Basically i'm using join(lookupset) to find unique group values which returns a sequence number.  This is my function 

Join(LookupSet(Fields!itemId.Value & Fields!UseByDate.Value & Fields!rackId.Value
    , Fields!itemId.Value & Fields!UseByDate.Value & Fields!rackId.Value
    , Fields!CustomerSeqNo.Value
    , "PickingList"), ",")

The problem is on some items there are multiple transactions, I want to remove the duplicates.  I found a blog http://blogs.msdn.com/b/bobmeyers/archive/2012/06/18/creating-short-lists-using-the-lookupset-function.aspx but could not get SSRS Report Builder to reference linq assembly.  My issue is 

Image may be NSFW.
Clik here to view.

Any ideas would be greatly appreciated as this is holding up a large project... 


Multivalue Parameters - how to not select one of the options?

Hi, 

I have a multivalue parameter that has X options. Is it possible to implement a solution that when I go into the report through an action, to have one option (in this case is the first) not selected all all the others are checked?


Permissions granted to user are insufficient?

Hi all,

I was trying to deploy SSRS report in Report server and getting an error like below.

Error:

The permissions granted to user 'AnilKumar\Anil' are insufficient for performing this operation.

Here "Anilkumar\Anil" is the system administrator of windows account.

Can anyone suggest the way to resolve this issue. Thanks in advance!!


Thanks & Regards, Anil

Dynamically Add\Remove columns SSRS 2012

I have SSRS report that has around 80+ columns. I have requirement where in dynamically hide\show columns in report based on user selection. I could able to do it by setting expression for "Visiblity" property and having report parameter thro' which columns to display can be choosen.

My problem is 2 points

1. fox example if columns 2 and 4 to be hidden, then there is an empty column between 1 and 3 and 5 columns. How to avoid this

2. When i export to PDF / Excel these spaces prevail.

Let me know your suggestions / help.

How to repeat matrix vertically when grouped by column

I am using ssrs 2012 using sql server 2012. I have grouped by project name in the header now it is repeating horizontally i need to repeat it by vertically using project name  grouped by column.

Image may be NSFW.
Clik here to view.

I need this like below :

Image may be NSFW.
Clik here to view.

Kindly help.


Web Developer / Web Designer / Software Developer / UI Designer

Displaying data in parameter dynamically

Hi All,

I want to set the default value of the parameter based on the query result, when the current_status parameter is set as "opened" I want a certain date value to be displayed in the next parameter (start date), if it is set as closed I want a different date value to be displayed in the next parameter (start date), , so I created the dataset with the query given below and assigned the default value to the query fields start and end date, however my Report parameters are not changing as expected, kindly suggest where I am wrong and what needs to be done for this.

dataset query:

IF @current_status = 'Opened'
SELECT DISTINCT cast(DATEADD(yy, DATEDIFF(yy, 0, getdate()), 0) AS date) AS Start_Date1, cast(MAX(estcompletion_date) AS DATE) AS End_date
FROM  <Table Name>

ELSE IF @current_status = 'Closed'
SELECT      distinct  cast(DATEADD(yy, DATEDIFF(yy, 0, getdate()), 0) AS date) AS Start_Date1, cast(getdate() AS DATE) AS End_date FROM <Table Name>


Ramasubramanian S

Display Dynamic Red Line to the Column Border Color in SSRS Report

I am displaying the red line in the beginning of the current week column in the matrix table. But for few resources the red line is missing. For Example in below screenshot, refer the 'Adrian Larkin' resource. Here is the SSRS report border expression which is comparing the [TimeByDay] with the current Week First Monday Date to display the red bar -

=IIf(Fields!TimeByDay.Value = DATEADD("d", -(WeekDay(Today(),2))+1, Today()), "Red", "Black")"

Image may be NSFW.
Clik here to view.

Here is the dataset result set. If you refer the column [TimeByDay], it has no record for the date 11/05/2015 for the Adrian resource as he has no assignment for the date 11-05-2015.

Image may be NSFW.
Clik here to view.

Any suggestion to display the red missing line red bar using the expression or any other solution.

Thanks in advance for your help.



Badal Ratra MCTS


SSRS: how to exclude NULL from SUM() in charts?

Hi All,

I have some data from SQL server which contains NULL values for certain fields. I have to create a chart with sum of a field. There is no category and series groups, we are just showing the total sum of a field in chart. Since I have NULL in my source data, nothing is displayed in the chart. I cannot exclude this record  from dataset as I have to use this record for other charts. I have to do some filtering in the chart area itself. I have given IsNothing() in the filter of chart properties. It does not work for me. Even I tried to give IsNothing() in the exp of  Sum() . That too didn't work for me.. Please suggest me.

Regards,

Julie

modifying a report to be hierarchical

Hi we run std 2008 r2.  My report's 2nd tablix is sourced relationally.  It has a row grouping on distributor name and a column grouping on manufacturer name.  There are about 9 statistics (some additive, some avgs) that can show for each manufacturer as they relate to a (this) distributor.

A distributor can have parent and child companies.  My user wants the distributor to have expand collapse capabilities in its parent child hierarchy, presumably defaulting to just top parent on open.

My first 4 questions are:

1) do I need to switch to olap?

2) if not, what needs to change in my dataset, just an additional parent name?

3) assuming it wont break the whole report, what setting(s) do I change in the tablix/grouping to make this happen?

4) when my user saves to excel, will expand/collapse functionality carry over? I'm assuming it cannot in pdf and word.

I'll search the net in the mean time.

 

Select 10 random records from past 30 days for each user

I have these columns. TicketID, User, Date

I want to select 10 random tickets for each user for the past 30 days. I not sure whether to do this via sql or using VB in the report design.  Any examples would be appreciated.  thanks

SSRS Report from two Databases

I have two databases, which have a table in each DB i.e. tblA and tblB.

In tblA I have records which contain fields called ID and Num.

In database B I have records which contain field Num.

I want to create a SSRS report which will return for me all the records in tblA and tblB by joining through Num which is in both tables.

But I want to query using the parameter ID which is only contained in tblA.

Anyone know how I could do this?

SSRS for outside network access

Hi everyone,

Previously I was using SSRS to create a local website(native mode) for our domain users to access. I wonder whether it is possible to share the website to outside users(just like youtube, everyone can access it). Is there a possible way to achieve that? Thank you very much for your time and efforts.

regards,

Oliver

Appending Data to a Previous Report Run to Create "History"

We have a need to report on historical data when none exists in the database. Has any tried anything like what follows successfully? Or are there other ideas out there?

  1. Create a tabular report rdl that is run on a regular schedule. This report run is saved as an Excel sheet that overwrites the previous run, which has the same name.
  2. Report is designed to use two data sources--the database and and the previously run Excel sheet. The data is "merged" using the Lookup function thereby creating a new report that includes the history needed.

Thoughts? Thanks!

Error:Unhandled Exception has occured in your application

Hi,

    I have Configured my Reporting services ,but when i click on the url at Report Mangaer url tab or Web service url tab ,I got the following error:

"Unhandled has occured in your application.If you click continue,the application will ignore this error and attemp to continue.If you click quit,the application will close immediately."

Please help me i need it badly.

Regards

Chaithanya M

 






Viewing all 10045 articles
Browse latest View live


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