简体   繁体   English

如何在Excel(SSAS)中以“ N / A”将空值显示为度量

[英]How display measure with null Value as 'N/A' in excel (SSAS)

I create Measure on SSAS Cube ,i already make formatString on Measure = #,##0;-#,##0;N/A; 我在SSAS多维数据集上创建Measure,我已经在Measure =#,## 0;-#,## 0; N / A;上设置了formatString; 在此处输入图片说明

i see on cube is good result 我在多维数据集上看到了很好的结果

在此处输入图片说明

But when i get the result on excel the value became 0 但是当我在excel上得到结果时,值变为0 在此处输入图片说明

Please help me. 请帮我。 where do i was wrong. 我在哪里错了。

Thank You. 谢谢。

You have made a pivottable of the results and the field that contains the N/A is in the value area. 您已经建立了数据透视表,并且包含N / A的字段在值区域中。 The value area works with agregates and so cant give you much else then a number (or percentage etc.) As far as I know excel won't allow the formatting you are trying to make in a pivottable value field. 值区域可与聚合一起使用,因此不能给您太多其他值(或百分比等)。据我所知,excel将不允许您尝试在数据透视表的值字段中进行格式化。

If you absolutly need this exact formatting try the ssrs report builder, it has a lot more bells and whistles. 如果您绝对需要这种精确的格式,请尝试使用ssrs报表生成器,它有很多麻烦。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM