SSRS report export to excel functionality gives faulty report

久未见 提交于 2019-12-11 17:24:48

问题


In the SSRS my report is displayed fine I have the following scenario:

I am passing a parameter ShowDecimal. If the value of the ShowDecimal is Y then decimals should be displayed in the report.

Catch is, if the value is like 1 it should display it as 1, if the value is like 1.10 then the value should be displayed as 1.10.

If the ShowDecimal is N then do not show the decimals.

I have added condition in the format like:

=IIF(Parameters!ShowDecimal.Value="Y", "#,##0.##", "#,##0")

In the report the values are displayed are proper, but when I export them to excel . is coming after the values.

Like in the report the value is **10** and in the excel the value is displayed as **10.**

SSRS Report in the VS viewer:

Exported excel report:

来源:https://stackoverflow.com/questions/54741805/ssrs-report-export-to-excel-functionality-gives-faulty-report

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