SSAS表格立方体中的数据格式与Excel中的导入 [英] Data format in SSAS tabular cube vs import in Excel

查看:271
本文介绍了SSAS表格立方体中的数据格式与Excel中的导入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi,

我在Azure Analysis Services中有一个SSAS表格多维数据集.

I have a SSAS tabular cube in Azure Analysis Services.

通过Visual Studio在其中一个表中定义一列时,我将其定义为以下(十进制数):

When defining a column in one of the tables via Visual Studio, I define it as this (decimal number):

但是,当我通过Excel连接到多维数据集时,它以标准"格式出现,并且我无法更改小数位数或其他任何内容.这适用于所有mye字段(整数,十进制数,货币和百分比).

But when I connect to the cube through Excel it comes out as format "Standard", and I'm not able to change the number of decimals or anything. This goes for all mye fields (whole number, decimal number, currency and percent). 

就我而言,一切正常.

For my measures everything works fine.

Excel中的Mye连接属性也设置为使用OLAP服务器连接中的数字格式.

Mye connection properties in Excel is also set to use the number format from the OLAP server connection..

如何在Excel中获得正确的格式?

How can I get the correct format in Excel??

推荐答案

您是无法更改小数位数还是不能更改小数位数?以十进制格式获取它?请进一步说明,很难理解您的问题是什么.我只是尝试通过遵循此操作从天蓝色分析服务导入我的数据 文档,我能够检索到我在设计器上配置的小数点后两位的数据.我不是想重现您的错误.

Were you not able to change the number of decimals or were you not even getting it in decimal format? Please explain further, it is difficult to understand what your issue is. I just tried to import my data from azure analysis service by following this document and I was able to retrieve data with 2 decimal places that I have configured on the designer. I was not bale to reproduce your error.

请查看以下数据

即使原始值为35095.654,它也会显示为十进制数字

even though the original value is 35095.654, it is displayed with decimal digits

如果您遵循上述文档,并且在excel的最新更新中,则在以下位置找到来自分析服务的

If you are following the above document and in latest update of excel, from analysis service is found in

获取外部数据   >   >   .

Get External Data > From Databases > From Analysis Services.


这篇关于SSAS表格立方体中的数据格式与Excel中的导入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆