Friday, March 30, 2012
Report designer-graphing tool
has spacing top and bottom but none left and right of the bar, however the
"side margings" doesnt seem to work, has anyone got any ideas how to do
this also I need the single bar to be as tall as the grid almost, so I need
to resize the bar manually.
Any ideas greatly received.
TIA
AndyChecking the Side Margins property should do exactly what you want. Also
check your Min and Max value property - these affect how your bar is drawn.
If you leave them empty, your chart should autoscale.
If that does not help, please post a picture of your chart, so that we can
see what you are trying to do.
--
Carsten Schielke
Software Development Engineer
SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Andy Bontoft-Robinson" <andy@.streets-heaver.com> wrote in message
news:Xns95406167DB603andystreetsheavercom@.207.46.248.16...
> I am trying to have a horizontal bar graph which has a single bar, which
> has spacing top and bottom but none left and right of the bar, however the
> "side margings" doesnt seem to work, has anyone got any ideas how to do
> this also I need the single bar to be as tall as the grid almost, so I
need
> to resize the bar manually.
> Any ideas greatly received.
> TIA
> Andysql
Friday, March 23, 2012
Report Builder: Is there a way to filter a filter?
We have a report model that connects to a single table. Some of the columns of the table contains blank values which is regarded as a valid value in our reports.
We have a requirement that the filter selection should not contain any blank values. They do not want to include a blank value for the users to choose but if the users decide not to use a filter, those blank values should still be included in the report.
Does anyone have any suggestions on how to do this in RB? We already made this work in RS2k5 but we can't seem to find any way to do this in RB.
Thanks,
Joseph
No, there is no way to control the list of values presented to the user. It is always a list of all existing values in the underlying database.
Tuesday, March 20, 2012
Report Builder Fails to Launch
Good day:
I've searched and found a whole lot of information regarding Report Builder's occasional failures to launch, but every single suggestion has not worked for me. I'll try to describe this as completely as possible.
PC 1: Login with my user id, navigate to either my test or production report server, click 'Report Builder'; application launches and can be used as expected. Login with a 2nd user id, and it works. OS is Win2003 Server. Because both logins work on this PC, which tells me the security credentials are set correctly.
PC2: Login with my user id, navigate to either my test or production report server, click 'Report Builder'; application fails to launch. I do not receive an error message or dialog. The 'frames' for the Report Builder form flash momentarily on the screen. Login with same 2nd user id, and it fails the same way. OS is WinXP SP2; all updates.
PC3: Login with my user id, navigate to either my test or production report server, click 'Report Builder'; application fails to launch. I do not receive an error message or dialog. The 'frames' for the Report Builder form flash momentarily on the screen. Login with same 2nd user id, and it fails the same way. OS is WinXP SP2; all updates.
On PC2 and PC3, I navigate to the ClickOnce cache in my profile, right-click and 'run as' the reportbuilder.exe file. Choosing 'run as' my login and providing a password -- voila -- the application runs. I have to manually set the link to the report server, but it appears all else works fine. Same situation when I use my 2nd user id. If I don't 'run as' and provide the password (just double-click to launch the file), I get the same 'flash frames' above.
Ultimately, the push is to get PC2 and PC3 to function as does PC1. My resident .NET expert is stumped, as am I. Please help.
I must not have provided enough information. What do I need to post in order to explain this situation better?
|||The troubleshooting has begun.
WinXP SP2 w/o all the updates or .NET. Click 'Report Builder', which errors that I don't have .NET 2.0. Download and install redistributable package -- voila -- report builder works. Note there is nothing else on the box except WinXP SP2 and .NET 2.0.
This leads me to conclude that there's something in one of the patches from MIcrosoft that is preventing the report builder from working. PC2 ( from my original post ) has all the latest patches as well as a bunch of applications. PC3 has all the latest patches with SQL Server 2000 SP4 and Office 2007. Neither PC2 nor PC3 can run Report Builder. I'm now on PC4.
It's either a patch from microsoft causing this issue, or the order in which the patches were applied. I'm going to be testing the Report Builder after every installed patch ( yes -- I am that interested in getting to the bottom of this that I'd download over 75 patches one at a time ).
If I find anything, I'll post again.
|||So apparently the software for a Kensington Trackball will prevent a .NET 2.0 ClickOnce application from launching. Like Report Builder. No kidding. I've uninstalled the tracball software and Report Builder works. Reinstalled the tracball software, Report Builder fails to launch. Uninstall the tracball software (leaving it off this time) Report Builder works.
Nice.
Wednesday, March 7, 2012
Report Builder - Filter on an aggreated measure possible ?
Is it possible to use filter on an aggregated measure without bringing the server to its knees ?
I've got a 2005 UDM with a single fact table:
-accidentID
-accidentTypeID
-statusID
-countryID
-areaID
-operationID
-consequenceID
-lightConditionsID
...(18 more FKs to simple dimensions)
-Exits (always = 1 to indicate existens)
In addition, I've added a calulation to the cube
-NumberOfAccidents = DistinctCount of all records with -accidentTypeID = A
On top of this, I've generated a Report Model.
Building reports using Report Builder is a breeze, but if I set a filter on the NumberOfAccidents (the aggregated measure); Analysis Services goes off and never returns.
For instance, a matrix report with Country on one axis and Operation on the other and NumberOfAccidents as the only member will run as expected and quite fast.
However, if I set a filter on NumberOfAccidents to > 10, I'm lost. This query will basically run forever and completely halt Analysis Services.
The fact table contains approximately 270000 records.
Any insight ?
Trond
Sorry for the delay in replying.
Firstly, I suspect that the filter you are actually applying is not the one you expect. It will be filtering all of the rows in the fact table according to the criteria, before grouping by Country & Operation. Given that I don’t think NumberOfAccidents can be >1 for a fact row, I imagine that you intended to filter the results after grouping (which I don’t believe is possible in Report Builder, in a matrix).
Without knowing the details of the calculation, I can't say for sure why performance is so poor. I believe that it would be because the calculation is being evaluated for all combinations of the dimensions related to the measure group. There are two ways to make this much more efficient:
1. Make sure that NON_EMPTY_BEHAVIOR is defined for the calculation. This is a property of a calculated measure (say MC), and states which other measure (say M) where if M is Null, then MC is certainly Null. So if there is some simple Count measure on this measure group, then setting NON_EMPTY_BEHAVIOR to that Count measure, on NumberOfAccidents, should greatly improve
or
2.If this measure is simply a count of records where Accident type = A, then I would suggest simply having a new (non-calculated) measure based on that condition. So in the DSV, add a calculated column that is 1 if Type = A and 0 otherwise. Then have a regular measure built off that column
Report Builder - Filter on an aggreated measure possible ?
Is it possible to use filter on an aggregated measure without bringing the server to its knees ?
I've got a 2005 UDM with a single fact table:
-accidentID
-accidentTypeID
-statusID
-countryID
-areaID
-operationID
-consequenceID
-lightConditionsID
...(18 more FKs to simple dimensions)
-Exits (always = 1 to indicate existens)
In addition, I've added a calulation to the cube
-NumberOfAccidents = DistinctCount of all records with -accidentTypeID = A
On top of this, I've generated a Report Model.
Building reports using Report Builder is a breeze, but if I set a filter on the NumberOfAccidents (the aggregated measure); Analysis Services goes off and never returns.
For instance, a matrix report with Country on one axis and Operation on the other and NumberOfAccidents as the only member will run as expected and quite fast.
However, if I set a filter on NumberOfAccidents to > 10, I'm lost. This query will basically run forever and completely halt Analysis Services.
The fact table contains approximately 270000 records.
Any insight ?
Trond
Sorry for the delay in replying.
Firstly, I suspect that the filter you are actually applying is not the one you expect. It will be filtering all of the rows in the fact table according to the criteria, before grouping by Country & Operation. Given that I don’t think NumberOfAccidents can be >1 for a fact row, I imagine that you intended to filter the results after grouping (which I don’t believe is possible in Report Builder, in a matrix).
Without knowing the details of the calculation, I can't say for sure why performance is so poor. I believe that it would be because the calculation is being evaluated for all combinations of the dimensions related to the measure group. There are two ways to make this much more efficient:
1. Make sure that NON_EMPTY_BEHAVIOR is defined for the calculation. This is a property of a calculated measure (say MC), and states which other measure (say M) where if M is Null, then MC is certainly Null. So if there is some simple Count measure on this measure group, then setting NON_EMPTY_BEHAVIOR to that Count measure, on NumberOfAccidents, should greatly improve
or
2.If this measure is simply a count of records where Accident type = A, then I would suggest simply having a new (non-calculated) measure based on that condition. So in the DSV, add a calculated column that is 1 if Type = A and 0 otherwise. Then have a regular measure built off that column