{"id":135,"date":"2017-04-13T01:51:54","date_gmt":"2017-04-13T01:51:54","guid":{"rendered":"https:\/\/www.datahasbyte.com\/blog\/?p=135"},"modified":"2017-04-13T01:51:54","modified_gmt":"2017-04-13T01:51:54","slug":"workout-wednesday-week-15-lod-and-table-calcs","status":"publish","type":"post","link":"https:\/\/www.a-j-c.com\/welcome\/2017\/04\/13\/workout-wednesday-week-15-lod-and-table-calcs\/","title":{"rendered":"Workout Wednesday Week 15: LOD and Table Calcs"},"content":{"rendered":"<p>Finally! A week where I got stumped but for less than 5 minutes. A good feeling, but as <a href=\"http:\/\/www.vizwiz.com\/2017\/04\/epl-points.html\">Andy says<\/a>, this week will be &#8220;pretty easy&#8221;. Easy enough, I suppose; still a good mental workout.<\/p>\n<p>The challenge this week was to create one chart with two representations of data; one using a Level of Detail express and the other a Table Calculation.<\/p>\n<p>I&#8217;m writing this post simply off my own work; I&#8217;ve not yet dared download Andy&#8217;s workbook &#8211; I want to enjoy the feeling of conquering this weeks&#8217; challenge before I discover how much more elegantly he solved for this. That&#8217;s the fun of these challenges and Tableau &#8211; multiple paths to solve for the problem at hand.<!--more--><\/p>\n<p>For both the LOD and Table Calc, I used two calculations to get the final result. I&#8217;m curious to see how else this was solved for.<\/p>\n<p>My biggest challenge, and hand on the face moment, was the final label for the Table Calculation. Why oh why could I not get the label to display on the outside of the bar as I&#8217;d done with the LOD bars&#8230; And then, finally, the idea of the average line. I&#8217;ve still never solved why Tableau refers to this as just &#8220;Average Line&#8221; when it can do so much more.<\/p>\n<p id=\"nyQSZdb\"><img loading=\"lazy\" decoding=\"async\" width=\"205\" height=\"133\" class=\"alignnone size-full wp-image-136 \" src=\"https:\/\/www.a-j-c.com\/wp-content\/uploads\/2017\/04\/img_58eed6e5319ae.png\" alt=\"\" \/><\/p>\n<p>It&#8217;s one of those things I forget about&#8230; until you need something it can provide, and eventually the mind turns over and gets it.<\/p>\n<p>Here are my LOD calculations:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"336\" height=\"31\" class=\"alignnone size-full wp-image-137 \" src=\"https:\/\/www.a-j-c.com\/wp-content\/uploads\/2017\/04\/img_58eed7bf4b816.png\" alt=\"\" srcset=\"https:\/\/www.a-j-c.com\/wp-content\/uploads\/2017\/04\/img_58eed7bf4b816.png 336w, https:\/\/www.a-j-c.com\/wp-content\/uploads\/2017\/04\/img_58eed7bf4b816-300x28.png 300w\" sizes=\"auto, (max-width: 336px) 100vw, 336px\" \/><\/p>\n<p id=\"rnwETbU\"><img loading=\"lazy\" decoding=\"async\" width=\"351\" height=\"25\" class=\"alignnone size-full wp-image-139 \" src=\"https:\/\/www.a-j-c.com\/wp-content\/uploads\/2017\/04\/img_58eed7d72192d.png\" alt=\"\" srcset=\"https:\/\/www.a-j-c.com\/wp-content\/uploads\/2017\/04\/img_58eed7d72192d.png 351w, https:\/\/www.a-j-c.com\/wp-content\/uploads\/2017\/04\/img_58eed7d72192d-300x21.png 300w\" sizes=\"auto, (max-width: 351px) 100vw, 351px\" \/><\/p>\n<p>And my Table calcs:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"539\" height=\"61\" class=\"alignnone size-full wp-image-140 \" src=\"https:\/\/www.a-j-c.com\/wp-content\/uploads\/2017\/04\/img_58eed7fc674de.png\" alt=\"\" srcset=\"https:\/\/www.a-j-c.com\/wp-content\/uploads\/2017\/04\/img_58eed7fc674de.png 539w, https:\/\/www.a-j-c.com\/wp-content\/uploads\/2017\/04\/img_58eed7fc674de-300x34.png 300w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/p>\n<p id=\"kPCCbKt\"><img loading=\"lazy\" decoding=\"async\" width=\"478\" height=\"52\" class=\"alignnone size-full wp-image-141 \" src=\"https:\/\/www.a-j-c.com\/wp-content\/uploads\/2017\/04\/img_58eed811cb288.png\" alt=\"\" srcset=\"https:\/\/www.a-j-c.com\/wp-content\/uploads\/2017\/04\/img_58eed811cb288.png 478w, https:\/\/www.a-j-c.com\/wp-content\/uploads\/2017\/04\/img_58eed811cb288-300x33.png 300w\" sizes=\"auto, (max-width: 478px) 100vw, 478px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Curious to hear how you&#8217;ve solved for this!<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/public.tableau.com\/views\/WorkoutWednesday2017Week15\/Dashboard1?:showVizHome=no&amp;:embed=true&amp;:toolbar=no&amp;:tabs=no&amp;:tooltip=no\" width=\"650\" height=\"925\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Finally! A week where I got stumped but for less than 5 minutes. A good&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[4],"tags":[15,19],"class_list":["post-135","post","type-post","status-publish","format-standard","hentry","category-viz","tag-tableau","tag-workout-wednesday"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.a-j-c.com\/welcome\/wp-json\/wp\/v2\/posts\/135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.a-j-c.com\/welcome\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.a-j-c.com\/welcome\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.a-j-c.com\/welcome\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.a-j-c.com\/welcome\/wp-json\/wp\/v2\/comments?post=135"}],"version-history":[{"count":0,"href":"https:\/\/www.a-j-c.com\/welcome\/wp-json\/wp\/v2\/posts\/135\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.a-j-c.com\/welcome\/wp-json\/wp\/v2\/media?parent=135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.a-j-c.com\/welcome\/wp-json\/wp\/v2\/categories?post=135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.a-j-c.com\/welcome\/wp-json\/wp\/v2\/tags?post=135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}