SSAS - Format String not applied

孤街醉人 提交于 2019-12-11 04:36:22

问题


Having issues getting the Format String applied. Running SSDT in VS2013 and deploying to SQL Server 2014.

Settings

Result

Excel also doesn't display the selected format. Is there anything I am missing?


回答1:


Answer found on technet.

This is because the new cube browser control used in SSDT (unlike the old cube browser used for earlier versions of BIDS/SSAS) does not display the formatted value, it just displays the raw, unformatted value only.

Testing in Excel reveiled format strings being applied.

Source: http://social.technet.microsoft.com/Forums/en-US/171fa5b0-014b-4a64-a590-9c3d2392b528/ssas-2012-measure-formatting?forum=sqlanalysisservices




回答2:


The FormatString setting can be viewed properly when you export your SSDT cube browser to Microsoft Excel. The older BIDS (SQL 2008) used to display properly such values, but this feature got lost in newer versions (the latter only display the DataType values without any formatting mask.)



来源:https://stackoverflow.com/questions/26253603/ssas-format-string-not-applied

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!