In the original: "Bi Thing" SSRS charts and meters--radar analysis three superior counselors, Commander data (illustrated)
Radar chart analysis of the three countries superior counsellors, commander of the data, dedicated to the vast number of enthusiasts, hope to like the three friends to discuss, deepen the legend of the three times of understanding
Establish the Data Environment:
--extracting top 10 data from three superior counsellorsDECLARE @t1 TABLE ( [name] NVARCHAR(255) , [Command] FLOAT , [Armed Forces] FLOAT , [Intelligence] FLOAT , [political] FLOAT , [Glamour] FLOAT ) INSERT into @t1 SELECT TOP Ten [name] , [Command] , [Armed Forces] , [Intelligence] , [political] , [Glamour] fromFactSanguo11WHERE([Intelligence] + [political] > the ) and([Intelligence] >= - ) andName<>N'Caocao' ORDER by [Intelligence] + [political] DESCSELECT * from @t1 --Column Change processingSELECT [name] , [Indicator Item] =attribute,[Indicator Values] =value from @t1UNPIVOT (Value forAttributeinch([Command],[Armed Forces],[Intelligence],[political],[Glamour]) ) asUPV
Execution Result:
--Extract the top 10 data from the three superior generalsDECLARE @t2 TABLE ( [name] NVARCHAR(255) , [Command] FLOAT , [Armed Forces] FLOAT , [Intelligence] FLOAT , [political] FLOAT , [Glamour] FLOAT ) INSERT into @t2 SELECT TOP Ten [name] , [Command] , [Armed Forces] , [Intelligence] , [political] , [Glamour] fromFactSanguo11WHERE [Command] + [Armed Forces] > Max ORDER by [Command] + [Armed Forces] DESCSELECT * from @t2 --Column Change processingSELECT [name] , [Indicator Item] =attribute,[Indicator Values] =value from @t2UNPIVOT (Value forAttributeinch([Command],[Armed Forces],[Intelligence],[political],[Glamour]) ) asUPV
Execution Result:
The Three Kingdoms superior advisers, commander-in-chief with map:
Radar Chart Analysis Three Kingdoms Superior Counsellor, Commander Data (Final client effect):
"Bi thing" SSRS charts and meters--analysis of the Three Kingdoms Superior counsellors, Commander data (illustrated)