简体   繁体   中英

Percentages in SSRS - Exporting to excel

According to this answer I need to put my custom number format like this in order to see a % symbol

#,0\%

The output looks fine in browsers (lets say, I see 12% which is correct) the problem is when I export the report to excel, I see this:

1.200\%             

How can I see 12% in both places?

If you remove the slash, and use only "#,0%", that will work.

This will turn the value ".12" into "12%".

If you want to add a space between "12" and "%" use "#,0 %".

If you want to include 2 decimal points, use "#,0.00%" (which will get you "12.00%").

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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