Tableau Desktop Certified Professional — Question 10
You have a bar chart that has a dimension on the Columns shelf and a measure on the Rows shelf.
How can you make a stacked bar chart?
Answer options
- A. Drag another measure to Color on the Marks card.
- B. Drag another measure to the left of the measure on the Rows shelf.
- C. Drag another dimension to Size on the Marks card.
- D. Drag another dimension to Color on the Marks card.
Correct answer: D
Explanation
The correct answer is D because adding another dimension to Color on the Marks card allows the bars to be segmented by that dimension, creating a stacked effect. Option A is incorrect as adding a measure does not create stacks but rather changes the color coding of the bars. Option B is not valid because it does not address how to create stacks in the chart. Option C is incorrect since adding a dimension to Size does not contribute to stacking the bars.