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

Custom fonts in Report Builder 3

$
0
0

Hi,

Is it possible to add a custom font to Report Builder 3 ?
I have added the font to Windows Fonts, but they don't show up in Report Builder.


rdlc print layout size varies with resolution on Surface Pro (Win 8.1, winforms)

$
0
0

We have a winforms application with local rdlc reports.  On Surface Windows 8 Pro devices only, reports render such that they are scaled down and don't fill the page.  If resolution is lowered on the device, the report scales up to fill the page. This affects the appearance in print layout and well as the actual printed size.

If we export to pdf, it renders to fill the page (as expected).  If you print to pdf or to printer, the scale is shrunken.

If we change the resolution settings so that "Make  text and other items larger or smaller" is set to small, the issue is resolved except the tablet is not very usable on this setting.

Is this a bug?  Is there a work around?  Thanks for any help.


Go To URL - report URL having paramters with XML format

$
0
0

Hi,

I have a requirement where in the child report should be displayed in XML format based on the click action with the cell value as the parameter, Either in browser with XML format.

I am trying to use Go to URL option and giving the child report url with the rs:format=XML.

However since the child report needs to accept the parameter from the parent report (value of the clicked cell), the child doesn't work (I think it should use default parameters or child should not have parameter to do this).

Please let me know if you have any workaround or any solution.

https://social.msdn.microsoft.com/Forums/en-US/bd19b983-d647-4321-853a-d3c34b959034/display-only-xml-export-extension-for-specific-reports?forum=sqlreportingservices

This is the continuation of the above link.

Br,

Shamsuddeen

How to limit the Columns per page in SSRS matrix report

$
0
0

I have created the matrix report which has dynamic column, it grow columns(18) based on the 'MCU' field in PRD.MI table.
I have added the 'MCU'(A,B,C,D,E,F,G,H,...Q) on 'Columns' in matrix table, to create matrix report and I have added 'mcst' on 'Data' in matrix table and I have added the 'msp2' on 'Rows' in matrix table.I have created new column after row and I added USP2DS.Final output is as given below.I need the split the matrix column per page.

I have added the 'MCU' on "Column group and 'msp2' on Row group.

Query:
select mi.*, SUBSTR(SM.USP2DS,6,9)AS DESC from 
(SELECT a.mcu , a.msp2, SUM(a.mcst) AS Cost    
FROM PRD.MI as A                                    
WHERE a.myr=2015 and a.mpr=7                   
GROUP BY a.MCU, a.msp2                             
order by a.mcu, a.msp2 ) mi,                     
(SELECT  DISTINCT U_SP2, USP2DS FROM UM.SM) SM
WHERE A.MSP2=SM.USP2  
ORDER BY MCU,msp2


I have tried the below post, but I am not able achieve my output.
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/32f28407-e1ca-457e-92fd-d292e32dde4e/limit-no-of-columns-in-ssrs-matrix-report

So please help me on this. 


Palani



Plotting Longitude and Latitude with Power View from a Multi-Dimensional Source

$
0
0

Hi,

I have a SQL 2012 SP1 environment integrated with SharePoint 2013. I have deployed a Multi-Dimensional Cube, due to the need for role playing dimensions and numerous parent-child hierarchies that can't be 'flattened' out easily, it's for this reason that we have gone multi-dimensional, rather than tabular.

The issue I now face is trying to plot the data on a map in Power View. It has to via Longitude and Latitude or easting and northing if possible. I know if I use PowerPivot, I can query the MD Cube, get my dataset and make sure the model views the lat/long as coordinates and this method works just fine - however, it involves an extra step, the end user must pre-build their query in PowerPivot before they can use the Power View maps and adhoc analysis, this can create a lot of back and forth when refining your query or performing additional 'what if' analysis.

When I create the Report Data Source in SharePoint to connect directly to the MD Cube, rather than going through Power Pivot, it's able to connect, but does not recognise the lat and long fields as Latitude and longitude, nor will it let me manually drag it into the lat and long fields on the field list. If I drag them into the 'location' section, it does not plot correctly.

Has anyone managed to get Power View to plot Latitude and Longitude from a Multi-Dimensional Source without having to go through PowerPivot?

Displaying RTF text in a SSRS 2008 Report

$
0
0
Hello;

I have database fields that contain RTF text. If I use the default Textbox in SSRS 2008 Report Designer, I get all the RTF formating characters, which makes for a VERY ugly report.

Is there another control I can place on my report that will take the RTF formated text and display it properly? I can do this in Crystal Reports, but I'm converting to SSRS 2008 so I need to be able to handle RTF formated text.

Thanks in advance for your help.
Thanks Ron...

how to render the report without hitting the database

$
0
0

hi friends,

i  have one requirement, i have to  execute the  report ..

while rendering time it shouldn't hit the database,

but report have  to complete and get the result..

Is there any options is there for this.

If Divisor is " 0 " I need to print Field value, but it displaying #Error

$
0
0

Hi Friends,

If divisor is "0" I need to print the Field, but for me it displaying #Error. If I pass any value it is working fine. It is not working only for the Field. So please guide me on this.

If this is known plz give me the thread URL.

RULE: Fields!B.Value=0, PRINT Fields!A.Value.(IIf(B=0,A,A/B))

Working: IIF(Fields!B.Value=0,0,Fields!A.Value/IIF(Fields!B.Value=0,0,Fields!B.Value))

Not working:  IIF(Fields!B.Value=0,Fields!A.Value,Fields!A.Value/IIF(Fields!B.Value=0,Fields!A.Value,Fields!B.Value))

     A    B    Cal(A/B)
E   1    0        1

F   4    2        2

G   9    3        3 

Thanks in advance


Palani


Columngrouping in Matrix don't show not existing items

$
0
0

Hello,

I'm trying to create a report in SSRS using a Matrix.

The data in my dataset looks like this one:

Part      Action   SortID  Count
---------------------------------------------------
Login      LA1      1         12
Login      LA2      2         25
Login      LA3      3         548
Register  RA1      1         12
Register  RA2      2          56

I have one rowgroup by the column Part and one columngroup by SortID and my Data should look like this:

Login          LA1       LA2        LA3
                  12         25         548
Register      RA1       RA2
                  12         56

But it looks like

Login          LA1       LA2        LA3
                  12         25         548
Register      RA1       RA2       LA3
                  12         56

Has anyone an idea, how I could solve my Problem, that in row number 2 the LA3 isn't shown?

Thanks for your help

SSRS 2012 doesn't export header/footers to Word 2013

$
0
0

Hello, for the past couple of days I've been having an issue with Reporting Services.

From what I can understand reporting services doesn't work well when exporting to word.

The scenario is quite simple, I am developing a report for a client with a 'master page', which works as the cover, and  executes 2 sub-reports with one table each, nothing fancy. We don't export this report to pdf, because the internal client has to attach another report that is impossible to automate, so they generate that report via excel and integrate it on our word document before sending the document to their business partners.

Our main problem is that we can't export the header/footers to word.

Does anybody had this issue before, and can you provide me with a work around?

Thank you guys in advance.

Gustavo


default value in parameter ssrs report

$
0
0

Hello,

I created a parameter with available values from a dataset.

By default i want it to display the maximum value. and then the user can select the dates if he does not like the default value.

how to i do this. because when i tried to set the paramter default value to

max(dataset!dt.value) it says expression canot be used.

how to do this. SHould i create a dataset with maximum value and then assign it to this one.

Please help

thanks

Powerview Filter Default value Dynamically

$
0
0

Hi,

  I created a tabular model, and used it as a source for the power view. Is there any possibility to set a dynamic default value for the filter. My model has a field named 'CalendarMonth', by default - filter should take current month. I would like to know is there any possibility with out changing the data in the source.

Thanks,

Vivek 

Visual Studio 2012: How to insert VBA code at the Application or Project Level

$
0
0

Version:  Visual Studio 2012

Problem:  I want to insert the following VBA code into Visual Studio and don't know how to do it.  Also I don't know if I should insert this at the Application or Project Level.  I need this code to streamline the "Divide by Zero" error when working in SSRS projects.  I looked on-line and it was mentioned that the Developer Ribbon was needed and to get the Developer Ribbon I would need to install Office Developer Tools for Visual Studio 2012.  I'm new to Visual Studio, but have been programming in VBA for a long-time.  Any advise would be greatly appreciated.

Divide by Zero Code:

In the Menu; go to Report > Report Properties > Code and paste the code bellow

Public Function Quotient(ByVal numerator As Decimal, denominator As Decimal) As Decimal
        If denominator = 0 Then
            Return 0
        Else
            Return numerator / denominator
        End If
    End Function

To call the function go to the the Textbox expression and type:

=Code.Quotient(SUM(fields!FieldName.Value),SUM(Fields!FieldName2.Value))

 in this case I am putting the formula at the Group level so I am using sum. Otherwise it would be:

=Code.Quotient(fields!FieldName.Value,Fields!FieldName2.Value)

From <http://williameduardo.com/development/ssrs/ssrs-divide-by-zero-error/>


Bob Sutor

Simple Expression

$
0
0

Hi 

May sound simple but please could someone advise me on this expression.

=IIF(Sum(Fields!1.Value * Fields!2.Value)=0, nothing)

If the sum returns 0 when multiplying the two field values how do I display an empty cell and not 0.

Kind Regards, Richard

SSRS 2008 Join rows to Columns

$
0
0

I have a table(40 columns) that I am trying to display in an SSRS report that has about 40 columns. I was able to create a table tablix and display them all which is all fine until this point. Now I have a task to color all of those 40 columns based on a specs table. Each column of the "40 column table" joins to a row in the "spec table". Basically each column name of the "40column table" joins to the Label name of the "spec table".

I have a hard time engineering the design. Please advice. Thanks in advance.


svk


send ssrs report in email from asp.net

$
0
0

I want to send ssrs report in email from asp.net? any suggestion?

- console program retrieve data from different client and store information in database; each extraction will have identified guid
- map the guid as parameter in the SSRS report and send the report in html format - email to distribution list.

1) the below suggestion suggest using attachment.  I want it direct the report direct show in the email
2) setup subscription, each time the parameter will be different and we only send report which not yet send yet.


Backup of all SSRS reports buildt in ReportBuilder 3.0 SQL Server 2008 R2

$
0
0

Hi,

please reference me to the procedure of backing up of all the SSRS reports built in Report Builder 3.0, SQL Server 2008 R2, in order to

1) to have safe data at another location

2) to restore all reports on SQL Server 2014 accompanied with Visual Studio 2013.

Thanks

Selecting data using one parameter with multiple text values (SSRS 2008 R2 Report Builder 3)

$
0
0

I am using SSRS 2008 R2 Report Builder 3.0 (10.50.4276.0)

I have simple set of data which has a persons Title and Name e.g. Mr Smith, Miss Jones, Doctor Foster

The report has a parameter where the user can select which records to show based on the matching titles (Mr, Miss, Doctor)

The Query for the report uses Title in (@Title) where @Title is the only parameter which can take multiple values

The report works correctly for any 1 value selected, but as soon as 2 or more values are ticked in the drop down, it fails.

I believe the parameter value is being passed into the query with a comma separating the values e.g. Mr,Miss which causes the IN statement to give an error, as the statement would be where Title IN ('Mr,Miss') which does not match any of the data values

The parameter value passed needs to be 'Mr','Miss' for the IN statement to work

What statement do I have to put in the report query to get it to select any of the data rows where the title matches any 1 of the selected values?

I have looked at many suggested solutions but none of them have enabled me to get past this issue

Thanks,

Brevan

Dynamic positioning of text boxes in SSRS

$
0
0

Hi guys,

I have a user table with Label and value fields where i would like to control the display of the text boxes based on the values selected in my user table.Can we adjust the text box positions dynamically based on the user table values.

Ex: Table

Label1 Field1 Label2  Field2  Label3 Field3
ID       100                           Dept   Sales

Report Design :

Label1: ID    Field1:100

Label2:          Field2:

Label3:Dept   Field3:Sales

Expected Result :

Label1: ID    Field1:100

Label3:Dept   Field3:Sales

In my table i don't have values for Label 2 & Field 2 , can we adjust the spacing conditionally to be utilized by Label3 & Field3 in SSRS.

Note : Above mentioned data is just for an example and in my actual report i can have more than 3 columns and report is looking ugly with all the spacing if i don't have data in all the fields.

Any ideas please ?

Thanks,

Sam

How to color format column bar chart that are categorized on month-year

$
0
0

I have a column bar chart that displays counts based on category (month-Year). I have used an expression to sort the category data also. 

Sample data

category                      countMarch-2011          2

Feb-2012              4

July-2012              7

Aug-2013               10

I have to color format the bars in set of 4 colors. I have used SWITCH statements for other charts and it worked. But here in this case since it is a date field, I am getting error.

Can someone help me with the expression ?


Viewing all 10045 articles
Browse latest View live


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