Forum Discussion
Overlay % bar chart inside the Total Bar Chart
- 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)
Thank you for your reply Anonymous
I need to show the good/bad as percentage instead of a number.
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 _b
However, 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)