Forum Discussion
Stacked column chart with text as data labels
- 6 years ago
oslosa ,
You may use "Group by" feature in query editor(the transform panel) to achieve the count of each group, then apply the modification and drag the new column to the legend field in the stack bar visual.
Or create a calculate column using dax expression.
Group Legend = CALCULATE ( COUNTROWS ( Table ), FILTER ( Table, Table[Category] = EARLIER ( Table[Category] ) ) )Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
oslosa ,
You may use "Group by" feature in query editor(the transform panel) to achieve the count of each group, then apply the modification and drag the new column to the legend field in the stack bar visual.
Or create a calculate column using dax expression.
Group Legend =
CALCULATE (
COUNTROWS ( Table ),
FILTER ( Table, Table[Category] = EARLIER ( Table[Category] ) )
)
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.