SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,960 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have set the percentage as 5.2%, when it is 5%, it will show as 5.0%.
I want to remove the decimal when it comes with whole value.
Hi @Yun,
Not sure about your original data, let's set it like shown below.
And then you may use expression to get what you want.
=IIF(Fields!data.Value * 100 = CINT(Fields!data.Value*100), format(Fields!data.Value,"0%") , format(Fields!data.Value,"0.0%"))
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.