Forum Discussion
lotus22
Helper III
2 years agoOverlay % bar chart inside the Total Bar Chart
Any help is appreciated Attached is the sample data and may not match the chart below Column B and C are in Millions Basically the four bars in X axis are for each Supplier by Year....for example,...
- Anonymous2 years ago
Hi lotus22 ,
After my testing, it doesn't seem to be possible to insert an additional percentage bar graph. Changing the value returned by the measure to a percentage could indirectly accomplish your goal.
The Table data is shown below:
I use the following measures to calculate the percentage of bad parts.
Total = SUM('Table'[Good]) + SUM('Table'[Bad])_% = VAR _a = SUM('Table'[Bad]) VAR _b = DIVIDE(_a,[Total],0) RETURN _bHowever, since it is a stacked column chart, the corresponding area is too small due to the value being a percentage, thus not displaying the data labels.
1.Changing visual objects
2.Use the card visual object to override the corresponding value(This approach is cumbersome and requires the creation of multiple card visual objects)