SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Combining values into a category in SSRS pie chart


Combining values into a category in SSRS pie chart

Author
Message
jchicky
jchicky
SSC Journeyman
SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)

Group: General Forum Members
Points: 95 Visits: 44
Hello everyone. I'm new to SSRS and need a bit of a hint to get the ball rolling. I selected one of the preset exploded pies and it's laid out with the 6 categories.

I'm pulling data using FetchXML. In the raw data, an option set field called lead source contains 60 possible options. The thing is, I can divide the options into 6 broad categories (which is ideal as we'd rather show a pie cut in 6 instead of 60).

I'm sort of stuck on where to start. I set up the main dataset, but I don't know if I should create a new dataset for each category? What should I aggregate it as in the query to get it to show up as a percentage on the pie? Does this stuff go under Values, Category Groups, or Series Groups? Any help is greatly appreciated.
jchicky
jchicky
SSC Journeyman
SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)

Group: General Forum Members
Points: 95 Visits: 44
Bump!
Ray M
Ray M
SSCarpal Tunnel
SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)

Group: General Forum Members
Points: 4809 Visits: 1076
I'm a little confused by what your trying to explain but thats cuz I have ADD or something.

The SSRS charts work very much the same as excel pie charts, one thing to try would be to paste a sample dataset in excel and throw a chart on that dataset.

you explain you have 60 different items that go into 6 categories.
The 60 Items would be Groups, and the 6 categories would be the Series.
But as you explain you do not want to show the 60 Different Items.
So you need to add the Category to your Dataset, and then that new Category would be in the Category Group, and the aggregate would be in the values.

http://bipassion.wordpress.com/tag/ssrs-pie-chart/
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search