如何在饼图标签上使用连续值格式化带有1位小数的百分比值。该值来自我的SQL查询,它是浮点数然后我在SSRS表达式中使用FORMATPERCENT。
>>> coffee = Coffee()
>>> x = CoffeeWithMilk(coffee) # first instance, from coffee
>>> print(x)
Coffee with milk with price 4.5
>>> coffeeWithMilk = CoffeeWithMilk(x) # second instance, from x
>>> print(coffeeWithMilk)
Coffee with milk with price 5.0
答案 0 :(得分:0)
尝试:
=Fields!Category.Value & " - " & "(" & Format(Fields!CallCountPercent.Value,"P1") & ")"
如果有帮助,请告诉我。
答案 1 :(得分:0)
选择图表系列标签属性
点击标签:#PERCENT {P0} 对于0个小数点 点击标签:#PERCENT {P1} ,保留1个小数点 点击标签:#PERCENT 保留2个小数点(默认情况下)