Conditional formatting a graph vertical axis in SSRS 2012 charts

Hi,
I have a situation where i want to color the label on vertical axis of graph depending on certain condition. Say when values are positive the color would be Black and when negative color would be Red.
I tried following condition but its not working.  
=iif(Fields!MyField.Value < 0 , "Red", "Black")
I know there are few threads already mentioning that this feature is not supported in SSRS 2008 but just wanted to know if its adddressed in SSRS 2012 or later?
Thanks and Regards,
Oliver D'mello

Hi Oliver,
According to your description, you want to use an expression to specify different color for Axis Labels based on values in a chart.
As we tested in our environment, when we apply condition in expression to give dynamic color for Axis Labels, the color setting applies to all labels based on the condition. This issue happens in both SQL Server 2012 and 2014. Please refer to the screenshots
below:
In this scenario, I would recommend you submit this issue to the Microsoft Connect at this link
https://connect.microsoft.com/SQLServer/Feedback. This connect site will serve as a connecting point between you and Microsoft, and ultimately the large community for you and Microsoft
to interact with. Your feedback enables Microsoft to offer the best software and deliver superior services, meanwhile you can learn more about and contribute to the exciting projects on Microsoft Connect.
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu

Similar Messages

  • Conditional format in graphs

    I'm using BI EE 10.3.1.2 and tested the new feature of conditionally formating a graph.
    Works fine. However, if I drill down in that graph , conditional format get lost, all other formats remain.
    Is this a bug or a feature?
    /Mike

    Mike, Did you test it with a table. Is the conditional format condition still valid at the level you drill down to ?

  • Graph vertical axis display

    Minor question, but my program (LabWindows/CVI 8.1 in Windows XP) has a virtual o'scope display that displays data from an A/D card. I'm using the graph indicator, and as with a real o'scope there is a knob that moves the displayed trace left and right on the screen to get the bits that are off of the screen if the magnification is too narrow to see it all. With the graph indicator, the left Y axis, of course, stays at the 0 point on the X axis and will go off of the screen with X=0. I'd like to have a vertical axis that stays in the center of the graph at all times (like a real o'scope reticule) no matter what the actual graph is doing. Any suggestions would be greatly appreciated. (The X-Axis offset parameter doesn't do the trick).

    Another possibility is to use a second graph with transparent background, no X-axis grid and labels, no Y-axis grid; place it on top of the main graph like in the attached UIR file (you will need to adapt vertical size of the second graph since it has no X-axis. labels).
    (Note: I created the UIR in CVI 8.5 and saved for previous version: if you do not succeed in opening it tell me and I will repost it in TUI format for you to load).
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?
    Attachments:
    CentralYaxis.zip ‏2 KB

  • Labview Intensity Graph Vertical Axis Label

    When I change the font of the vertical axis label of a Labview intensity graph, the label disappears. Is this a Labview bug or is there a way to correct the problem?

    Here are those screenshots... I was a little quick to submit
    - JLS
    PS - of course, when you're editing the free label, it doesn't have those nasty affects, and if you group the objects (see the Free Label and Grouping screenshot) it behaves (at least cosmetically) much like a native graph label
    Best,
    JLS
    Sixclear
    Attachments:
    Free Label and Grouping.JPG ‏81 KB
    While Typing.JPG ‏66 KB
    After Typing and Clicking Off the Graph.JPG ‏67 KB

  • Vertical axis labels on column chart

    I'm trying to get the x-axis labels oriented vertically on a 3D column chart, so that the labels don't overlap each other. With 2D column charts I can do this via "format>chart>format x-axis" but these options are grayed out with the 3D column chart. Is there any way to get vertical orientation on the axis labels with this chart type???

    It's usually not necessary to make the axis labels vertical to keep them from overlapping in a 3D chart since when you rotate the chart the labels are vertically offset. But you're right, there's no other control for this.
    Jerry

  • AxIS GPO, SSRS 2012 and RSClientPrint - Continues to prompt for install

    Please help!
    We have a prod server running SQL 2008 R2 SSRS and we are able to print SSRS reports fine.  I believe RSClientPrint is part of the deployed image.
    We now have a test server running SQL2012 SSRS.  We have deployed a AxIS GPO which should allow a silent install of the new RSClientPrint for non-administrators.  We went the AxIS route as I was told some security patches can require a new print
    control so I want to avoid packaging, testing, and deploying updated print controls to thousands of machines.
    The problem is that we are still being prompted to install the print control when attempting to print a SSRS report from the test 2012 server.
    Has anybody seen this particular issue before?  Do I need to make the ssrs server a trusted site?
    Thank you for any help!!!!  This is very frustrating.
    David

    Hi David,
    Per my understanding that when you want to print the report from other server(SSRS 2012), you will got the prompt to install the print control, right?
    Generally, each user who wants to use the print feature must download and install the ActiveX control that provides client print functionality. Depending on browser settings, the user may be prompted to install the control, be prevented from installing the
    control, or have the control install transparently in the background.
    For Microsoft Internet Explorer, settings that affect ActiveX control download and installation are specified through the
    ActiveX controls and plug-ins node in the Security Settings page for the Web content zone. The following settings determine whether users can download and run the print control, based on Web zone security preferences:
    Download signed ActiveX controls.
    Script ActiveX controls marked safe for scripting.
    Run ActiveX controls and plug-ins.
    Users who want to use RSClientPrint to perform client-side printing must enable
    Download signed ActiveX controls and Script ActiveX control marked safe for scripting for installation purposes, and
    Run ActiveX controls and plug-ins for ongoing print operations. The
    RSClientPrint ActiveX control is signed, meaning it contains a valid digital certificate from Microsoft.
    Details information in article below for your reference:
    https://technet.microsoft.com/en-us/library/ms155874(v=sql.105).aspx
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • Show/Hide Group in SSRS 2012 Chart

    Hi,
    How can i hide/show chart category group in SSRS 2012?
    Thanks in advance
    Paramesh G

    Hi Paramesh G,
    According to your description, you want to know how to control visibility of horizontal axis labels, right?
    When we create a chart, tick marks and labels are displayed by default on axes. You can adjust the way that they are displayed by using major and minor tick marks and labels. To eliminate clutter in a chart, you can display fewer axis labels or tick marks
    on the horizontal (category) axis by specifying the intervals at which you want categories to be labeled, or by specifying the number of categories that we want to display between tick marks. We can also set labels to be hidden. To achieve your goal, please
    refer to the following steps:
    In design surface, right-click x-axis and open Horizontal Axis Properties dialog box.
    Click Labels in left pane, check Hide axis labels check box.
    Click OK to save the settings.
    The screenshot is for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • Conditionally formatting a graph in ADF

    Hi,
    We've developped an ADF application in which tasks are assigned to users. Each task has a due date and depending on the proximity of this due date the color of the task changes from green over orange to red. Now, what we are trying to do is showing the number of tasks in a chart (preferrably a pie chart) grouped by color. And of course, the colors of the slices/bars need to match the color of the task (so the number of green tasks will be a green slice, ...).
    We've tried to add the following seriesSet to the graph
    <dvt:seriesSet>
    <dvt:series color="#63a500" index="1"/> <!-- green -->
    <dvt:series color="#ff8400" index="2"/> <!-- orange -->
    <dvt:series color="#e70000" index="3"/> <!-- red -->
    </dvt:seriesSet>
    and this works fine untill not all colors are present. For example, if there would be no orange tasks, the red tasks become the second series and will be shown in orange.
    A possible solution would be to use the styleRuleBundle attribute of the <dvt:graph> tag but it seems like we can only add rules that compare to the values (= number of tasks) and not to the group/slice name (= color of the task).
    // Set color to YELLOW if value < 5
    rule = new DiscriminatorRule();
    rule.setDiscriminator(new NumberValueDiscriminator(5.0, ValueDiscriminator.LT));
    gs = new GraphStyle();
    gs.setFillColor(Color.yellow);
    rule.setFixedMergeable(gs);
    bundle.addRule(rule);
    Any ideas of how we can add rules that compare the group/slice name with a specified string ? We have tried the following but it doesn't seem to work:
    // Set color to GREEN if value is 'G'
    rule = new DiscriminatorRule();
    rule.setDiscriminator(new StringValueDiscriminator("G", StringValueDiscriminator.EQ));
    gs = new GraphStyle();
    gs.setFillColor(Color.GREEN);
    rule.setFixedMergeable(gs);
    bundle.addRule(rule);
    Thanks in advance for any help!

    ok, we've managed to determine the color of the bars in a bar chart using a QDRDiscriminator like this:
    rule = new DiscriminatorRule();
    colorQDR = new QDR("DataLayer");
    colorQDR.addDimMemberPair("Processcolor", new QDRMember(QDRMember.FIXED, "G"));
    rule.setDiscriminator(new QDRDiscriminator(colorQDR, QDRDiscriminator.SUPERSET));
    gs = new GraphStyle();
    gs.setFillColor(new Color(99, 165, 0));
    rule.setFixedMergeable(gs);
    bundle.addRule(rule);
    Too bad you loose all fancy gradients when using this technique. Doesn't work on a pie chart either :-( , although it does work on the legend of the pie chart :-S
    Other ideas or improvements are still welcome.

  • SSRS 2012 Charts not rendering

    Hi,
    We recently upgraded from SQL 2008 R2 to SQL 2012, and since then, all of the charts in our reports will not render.  They appear on the report server with a red "x".  When running the reports in report builder, the charts do not show at all.  
    However, the charts DO render when the page layout mode is toggled.
    Any help on this issue is greatly appreciated.
    Thanks,
    Mike

    Yep! this got my charts showing again.
    Thank you very much Mike DiGregorio for posting this. :)
    I hope i won't need to also apply the other fix(KB2823372) which is to upgrade the gdiplus.dll. (might have to do so if I find other issues with the charts i guess)

  • Charts: Gap between Vertical Axis and the chart area

    Friends,
    I have a really wierd issue and I am sure I am doing
    something wrong.
    I am trying to align 2 charts that are placed vertically. I
    want to align the left vertical axis and the gridlines within them.
    Aligning the left vertical axis is easy and done but aligning the
    grids is becoming challenging and I have already spent a few hours
    on this problem.
    Here is a wrong chart image ...
    Wrong
    chart image
    The line of the LineChart (in the top chart) is touching the
    left and right edges where as the bottom chart bars do not touch
    the left/right edges. Due to this the gridlines are not aligned.
    I had managed to solve this problem but I am not sure what
    part of the code solved the problem. Here is the right chart image:
    Right
    chart image
    In this chart, the line of the linechart (in the top chart)
    is not touching the left and right boundary hence the gridlines are
    alignd with each other.
    I wonder what property of the chart controls the series
    touching the left/right vertical axis or boundary. Your help is
    appreciated.
    Thanks

    here is some more information ...
    I started changing some of the properties of the chart which
    I mentioned is a RIGHT CHART and this is what I learnt ...
    It was a CartesianChart hence it was creating the gap
    between the left/right vertical axis and the actual chart area
    (refer to the right chart image).
    I changed it to a LineChart and it started behaving like the
    chart in the WRONG CHART image.
    Is there a solution to this problem?

  • Dundas Chart for Reporting Services in SSRS 2012

    We are in the process of upgrading our servers to 2012 and though I find many things about converting or upgrading dundas controls to 2008, I can't find anything about upgrading/converting to SSRS 2012.  After converting the development machines to
    SQL Server/SSRS 2012 the reports now simply show "The custom Report Item Type DundasChartControl is not installed".  The only Dundas Chart installation I can find is for SSRS 2008.  Does a 2012 version not exist?  Am I supposed to
    convert these into Microsoft charts?
    Thanks in advance,
    Robb Melancon

    Hi Robb,
    It seems that you are using Dundas Chart Control for SQL Server 2008 R2 Reporting Services not the Dundas Chart Control 2005 that Microsoft has purchased.
    Microsoft purchased the license to use Dundas Chart Control 2005 in Reporting Services 2008 and above. Therefore the supported upgrade is from Reporting Services 2005 Dundas Charts to SSRS 2008 (R2) and SSRS 2012 Charts.
    If you are using a particular component released by Dundas for SSRS 2008 R2, you won’t be able to upgrade Reporting Services 2008 R2 Reports with Dundas Charts to Reporting Services 2012 Charts.
    To confirm this, please check the details of this assembly “DundasRSChart.dll” located under the /Report Server/bin directory.
    If the Product Name is “Dundas Chart for Reporting Services 2008 R2”, it indicates that this is a new version of Dundas Chart for SSRS 2008 R2 (i.e. a third party control). If the Product Name is “Microsoft SQL Server”, it indicates that this is the version
    that Microsoft has purchased.
    In this condition, you have to migrate the DundasRSChart.dll to the SSRS 2012 instance and reference it as the custom assembly in the reports. Please make sure to rename the DLL file so that it won’t replace the native DundasRSChart.dll installed by SQL
    Server 2012.
    For more information about referencing custom assembly in a report, please see:
    Using Custom Assemblies with Reports
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Graph Quadrant Colour/Conditional Formatting

    Hi Experts,
    I have scatter graphs representing the % growth YoY (Y axis) and MoM (X axis.)
    Due to the variable percentages, the axis are not fixed and the scales on various graphs are different.
    There is a requirement to colour the quadrants of the graphs with the top right being green, top left amber, bottom right orange and bottom left red.
    Alternatively, the points can be coloured/changed based on which quadrant they are in.
    Can anybody help?
    Kind Regards,

    Thanks for the help but this does not give the desired effect.
    The entire quadrants need to be coloured or the points within that quadrant coloured.
    This is because the points on the graph vary to an extent that one graph may show ve X, ve Y, another, -ve X, -ve Y.
    Should there be a way to conditionally format the points such as they are a particular shape/colour depending on whcih quadrant they are in, is there a way to label the points on the graph with the same labels in the legend, thus ensuring that there can be no confusion over what each point represents?
    Any ideas/help would be greatly appreciated.
    Kind Regards,

  • Cannot make vertical axis of intensity graph logarithmic

    Has anyone else noticed that that the vertical axis on intensity charts cannot be made logarithmic? Labview gives you the option, but doesn't do anything when you try and check the box. Property nodes don't seem to work either. Tried this in LabVIEW 2011 SP1 and 2013. Am I doing something wrong or is this just a feature that isn't avaiable? I am just wondering if its my install or something that is really an issue.
    My application is to plot the power spectrum of sound on a intensity chart to show history of sound recorded by a microphone in real time. Really good to pin point source frequencies of feedback.
    Amit

    Hi Amit,
    This is a documented problem with LabVIEW and it is currently being worked on. Here are a couple other Forums that discuss it and offer workarounds for this issue.
    Log scale in an Intensity graph
    Possible bug in Intensity Graph while using interpolate colors on a Log scale
    Intensity Graph - Mapping Mode
    As shown in the 'Possible Bug' link above, a Corrective Action Request has been filed under the number 453407 as soon as a couple of weeks ago. To fully answer your question, it is not your install or anything like that, just an issue NI knows about and will be working on for future releases.
    Douglas C.
    Applications Engineer
    National Instruments

  • Issue with Date Format in line Graph X-AXIS

    Hi all,
    I have a line graph, with data in x-axis and integer values in y-axis.
    I am fetching data in Mon-dd-yyyy format but in graph (x-axis) it showing in yyyy-mm-dd format.
    How to change this format.
    Regards,
    Krishna Prasad

    Hi,
    Basically you are trying to convert a date into date which is not advisable. Hence convert it to char and then equate it against a character value. Also do not use trunc as it will trim out the time part of the date.
    select * from test
               where to_char(dob,'RRRR/MM/DD HH24:MI:SS')=:p1Then pass the parameter
    cheers
    VT
    Edited by: VT on Oct 26, 2010 4:16 PM

  • SSRS 2012 Conditional Formatting Color Issues When Exporting to Excel

    Hi all,
    We recently upgraded to SQL 2012 from SQL2008 R2. I'm having a strange issue with SSRS2012.
    One of the report has conditional formattings on cell background colors. Everything works fine when render the report in browser or preview mode. However, the conditional formatting stop working when export the report to Excel (no issues if
    export to pdf). All cells are high-lightened with pre-defined color although it should only high-lighten those cells that fulfil the condition.
    Has someone encountered this issue before ? Thanks for any help.

    Hi ZZ02,
    I have test the scenario in my testing environment, however, everything goes well when exporting to Excel format. The issue might be related to the expression for the conditional background color. To make further analysis, please post the expression as well
    as the report design structure.
    Additionally, in SQL Server 2012 Reporting Services, the Excel rendering extension renders a report to the native format of Microsoft Excel 2007-2010, the format of which is ExcelOpenXML. By default, the previous version of the Excel rendering extension,
    compatible with Microsoft Excel 2003, is disabled. At this time, I suggest that you enable the Excel 2003 rendering extension by modifying the RSReportServer.config file. After that, the Excel 2003 rendering format will be available on report manager (not
    available in Report Designer). So, please export the report from report manager and check the result again.
    For more information about enable the Excel 2003 rendering extension, please see:
    http://social.msdn.microsoft.com/Forums/en/sqlreportingservices/thread/0713de27-dcc0-4e51-81ac-5272647d171f
    Regards,
    Mike Yin
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here. 
    Mike Yin
    TechNet Community Support

Maybe you are looking for

  • Mac Mail Setup

    I'm setting up a Mail account on my new Mac Mini (Lion).  I've set up everything like the Mail account on my original Mac, but I've got 3 problems: 1- The Incoming Mail Server setup box refuses to save the password I type in, even though I hit Save a

  • Change plot visibility from legend

    Is there a way to change the plot visibility on an xy graph from the legend control similar to how you can click on the icon of the plot and change the color, line style, line width, etc. There isn't a option in the drop down list for this but maybe

  • Images not showing in Explorer, Mozilla, etc

    Hi there. I am still learning Dreamweaver CS4 and am a newbie with all the coding. I have just uploaded a website but the images don't show up but are fine in Dreamweaver, and also fine when I 'Preview in Browser'. In Mozilla the image box momentaril

  • ??? Sign flip on Attribute using report script ???

    We are using an Essbase report script to extract data that we then process with HAL. Since the system we are loading into uses natural balances, we need to flip the sign on a revenue accounts (have 'Revenue' attribute in Essbase).Is there a way to do

  • Get output of java.exe within C/C++-Application

    Hello together, I want to call java.exe from a C-program and get the console output of java.exe to display in a MessageBox. How can I achieve this? I would be very happy if I found a solution here... Best regards Christian