June 7, 2019
#WorkoutWednesday Week 23: Which sub-categories are ordered most?
bar chart
,
Curtis Harris
,
mobile
,
parameter
,
progress
,
subtotal
,
Workout Wednesday
No comments
REQUIREMENTS
- Create a bar chart which displays the sub-category label on top of its bar
- Label all bars to the right of the maximum value in view
- Create a parameter that changes the display from a percent of total view to a raw order count view
- Create a progress shadow for every bar
- Show progress to 100% or progress to the maximum value depending on the parameter selection
- Only use one sheet
- Match formatting and colors
- Match tooltips
The part that tripped me up the most was labeling the sub-category above the bar. I had done this before, but couldn't remember how, and I didn't to look back; I wanted to figure it out again. One other thing I wanted to do was make sure that the text didn't overlap the bar as it shows in the viz to rebuild (sorry Curtis, I know it's not 100% correct now).
To do this:
- Add Sub-Category on the rows twice.
- Hide the headers
- Turn on subtotals
- Move the column subtotals to the top
- Add a dummy measure as a secondary axis with the value 0
- Make sure the mark type is a circle on this shelf
- Add Sub-Category to the text shelf on the shelf with the circle and add an extra line below it in the text box with a space. This forces an extra line.
Tada! Fun one Curtis!
Subscribe to:
Post Comments
(
Atom
)
No comments
Post a Comment