{"id":305,"date":"2014-04-03T12:12:54","date_gmt":"2014-04-03T11:12:54","guid":{"rendered":"http:\/\/www.sebcharrot.com\/blog\/?p=305"},"modified":"2014-04-03T12:12:54","modified_gmt":"2014-04-03T11:12:54","slug":"sas-too-many-dials","status":"publish","type":"post","link":"http:\/\/www.sebcharrot.com\/blog\/sas-too-many-dials\/","title":{"rendered":"SAS Dashboard &#8211; Fixing the &#8220;too many dials&#8221; issue"},"content":{"rendered":"<p>There&#8217;s an interesting feature of SAS BI Dashboard that caught me out when trying to put together some KPI gauges.<\/p>\n<p>We wanted a set of dials that would show us the counts for several types of public security offences. Naturally we configured indicators using count as the measure, but found that the dashboard was showing an indicator per record in our system:<\/p>\n<p><a href=\"http:\/\/45.77.89.248\/blog\/wp-content\/uploads\/2014\/04\/kpi1.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-307\" src=\"http:\/\/45.77.89.248\/blog\/wp-content\/uploads\/2014\/04\/kpi1.png\" alt=\"kpi1\" width=\"695\" height=\"293\" srcset=\"http:\/\/www.sebcharrot.com\/blog\/wp-content\/uploads\/2014\/04\/kpi1.png 695w, http:\/\/www.sebcharrot.com\/blog\/wp-content\/uploads\/2014\/04\/kpi1-300x126.png 300w\" sizes=\"(max-width: 695px) 100vw, 695px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"line-height: 1.5em;\">With a bit of faffing around, I eventually found that this was due to the columns I had selected from my data. Specifically, the &#8220;uniqueID&#8221; column. This led to my big discovery:<\/span><\/p>\n<p><b>The number of dials = The number of unique combinations of column values<\/b><\/p>\n<p>In other words, because I had selected a column where the value was always unique, I got a dial for every row in my table. If I selected just the &#8220;category&#8221; column, I got the aggregated view I expected:<\/p>\n<p><a href=\"http:\/\/45.77.89.248\/blog\/wp-content\/uploads\/2014\/04\/kpi2.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-306\" src=\"http:\/\/45.77.89.248\/blog\/wp-content\/uploads\/2014\/04\/kpi2.png\" alt=\"kpi2\" width=\"645\" height=\"147\" srcset=\"http:\/\/www.sebcharrot.com\/blog\/wp-content\/uploads\/2014\/04\/kpi2.png 645w, http:\/\/www.sebcharrot.com\/blog\/wp-content\/uploads\/2014\/04\/kpi2-300x68.png 300w\" sizes=\"(max-width: 645px) 100vw, 645px\" \/><\/a><br \/>\nPerhaps this just shows my SAS Dashboard naivety, but I thought I&#8217;d document it anyway.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s an interesting feature of SAS BI Dashboard that caught me out when trying to put together some KPI gauges. We wanted a set of dials that would show us the counts for several types of public security offences. Naturally we configured indicators using count as the measure, but found that the dashboard was showing&hellip;&nbsp;<a href=\"http:\/\/www.sebcharrot.com\/blog\/sas-too-many-dials\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">SAS Dashboard &#8211; Fixing the &#8220;too many dials&#8221; issue<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":""},"categories":[23,24,15],"tags":[63,67,90,109,152],"_links":{"self":[{"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/posts\/305"}],"collection":[{"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/comments?post=305"}],"version-history":[{"count":0,"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/posts\/305\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/media?parent=305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/categories?post=305"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/tags?post=305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}