Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

Unable to get stacked Column chart working

$
0
0
Hello,I am trying to get a stacked column chart to work. I have the following query: SELECT COUNT(CALL_Status) AS Calls, Call_Operatorid, Call_StatusFROM CALLWHERE ( CALL_OPERATORID = 'Paul Smith' OR CALL_OPERATORID = 'Martin Jones' OR CALL_OPERATORID = 'Tim Edwards' OR CALL_OPERATORID = 'James Peters') and (Call_Status <> 'Closed' or Call_Status = 'In Progress' or Call_Status = 'User Action Required' or Call_Status = 'Monitoring')GROUP BY CALL_OPERATORID, Call_StatusIf I run my query i get the following results:Calls Call_Operatorid Call_Status1 Paul Smith In Progress2 Martin Jones In Progress5 Tim Edwards In Progress2 James Peter In Progress3 Paul Smith Monitoring2 Martin Jones Open4 James Peters Open2 Paul Smith Open1 Tim Edwards User Action Required4 Paul Smith User Action RequiredI am trying to create a stacked column chart. I have dragged the chart on to the report. I would like the columns to contain the results for each Call OperatoridSo for instance the first stacked column would have 'Open' in red, 'In progress' in blue, 'monitoring' in green etc. In the value section I have dragged Calls. I then added another field and then another field. Subsequently adding three calls values.In the category groups section i added Call_Operatorid.If i run the report all the stacked columns look the same height. What i need is for the respective stacks to correspond with the query results. Do i need to use an expression somehow?Or does anyone know where I am going wrong.Thanks

Viewing all articles
Browse latest Browse all 2791

Trending Articles