Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

Do custom data labels work with small multiples?

I created a bar chart and I want to show custom data labels for the sum and count of a column.

 

The first screenshot here shows the default data labels

 

The second screenshot here shows that the labels disappear when i enable the custom labels.

Below is the DAX for my custome label

! CD bar label2 =
var _amount = CALCULATE(SUM('table'[value]))

var _cases = CALCULATE(COUNT('table'[value]))

return

 "Amt: " & FORMAT(_amount,"$#,,.0M") & " | Cases: " & _cases
 
EDIT 1 
For my bar chart,
y-axis: text column with 3 unique values
x-axis: sum of a value
legend: text column with 2 unique values
small multiples: text column with 2 unique values
 
Do custom labels not work with small multiples or did i do something wrong?