sql-serverreporting-serviceschartsssrs-2008ssrs-2008-r2

Create a Pie Chart from single row, multiple column dataset in SSRS


I'd like to create a pie chart from a dataset that returns a single row with multiple columns in SSRS. Is this even possible?

I've tried unpivoting the data so I can have multiple rows, and I can't quite pull it. It seems I can't unpivot aggregated data.

So I'm not sure what my next step is. Should I try to unpivot the data, or can I build an expression for the values in the pie chart?

Here's sample data:

ID   |  IndivMonthSales  |  IndivBudget  | IndivDifference
PAW     $30,456.31          $60,000.00     $29543.69

The result I'm looking for is the Pie chart to use the values from IndivMonthSales and IndivDifference (which add up to 100%)

I guess there's 2 questions:

  1. is it possible to unpivot aggregated data (if so, how?)
  2. is it possible to use expressions for Pie Chart values (if so, how?)

I'm very grateful for any and all help.

Cheers!

Dave


Solution

  • I believe what you are asking for can be very simply solved by placing both measurements as values in the pie wizard:

    enter image description here

    Resulting in :

    enter image description here