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

Creating a Pie Chart based on a single field

$
0
0

I am trying to take this simpe query and build a pie chart in SSRS but I can't seem to figure it out.

select key5 as Status, count(*) as Count from contact1 where key1!='CUSTOMER' Group by key5

There are 4 different possible values for Key5 and I want to count how many of each, as this query does, but SSRS keeps showing an even pie chart with 1 for each group, or if I change it up, it will show 3, 1, 1, 1.

What do I need to do (and why is this so complicated?)


Mark Piontek


Viewing all articles
Browse latest Browse all 20764

Trending Articles



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