Forum Discussion
Line chart with total as a Legend
Hello,
I found another workaround for this that might help:
Since as described here it is not possible to add multiple columns/measures to the Value Field:
"There is a limitation for this scenario. After draging column into the "Legend" field, we can only add one value into "Value" field. For your request, we can't add another column or measure about total values when we have put the "Product" column into "Legend" Field." -Xue Ding
What worked for me was to create two of the exact same line graphs on top of each other.
The top graph has its background set to 100% transparency.
Then drag your "total" measure/column into the graph on top and your original graph with the legend to the graph underneath.
For this to look properly, the axis of both graphs must be fixed to the max and min of your totals graph on top.
The color of your axis values of the underneath graph need to be set to white.
Finally one of the Graphs should have gridlines turned off.
There are more settings that can be adjusted but with this basic idea, the visual looks good to me.
The only drawback is that the Y-Axis is fixed and needs to be changed manually if the values change drastically.
Hope this helps.