问题
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