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

Control pie chart segment colors using conditional formatting

$
0
0

HI, I am very new to Report Builder and SRSS. I am trying to produce a fairly simple report that details our Microsoft Patch compliance via our SCCM database. Anyways...I am able to produce the table and pie chart that I want, however I'd like to control the pie chart colors.

I have a dataset defined that always returns our patch compliance under 3 categories: 'Compliant', 'Non-Compliant', and 'Compliance state unknown'. I would like the colors assigned to the associated pie chart segement for each category to be Green, Red, and Yellow.

I have tried setting up a custom pallette for the chart, but I can't figure out how to sort the categories properly so that the correct colors are applied each time. So I'm thinking some sort of conditional formatting sfunction is required. Something like:

If Fields!Status.Value="Compliant Then
 PieSegmentColor="Green"
End If
Is this even possible? thanks in advance for any suggestions.


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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