Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Report: The Hidden expression for the tablix ‘table1’ contains an error: Input string was not in a correct format.

(0) ShareShare
ReportReport
Posted on by 5

Hello,

I have build a report in Visual Studio. I have put an expression for a row visibility. The report is run and extract the correct results. When the report is published in SSRS an error message appears.

  • The Hidden expression for the tablix ‘table1’ contains an error: Input string was not in a correct format. (rsProcessingError)
    • The Hidden expression for the tablix ‘table1’ contains an error: Input string was not in a correct format. (rsRuntimeErrorInExpression)

the expression is 

=IIF(Parameters!NRP_Status.Value ="Y" and Cint(Format(Fields!DATA_DISBURSIMIT.Value, "yyyyMMdd")) > Parameters!Close_date.Value, true ,
IIF(Parameters!NRP_Status.Value <>"Y" and Cint(Format(Fields!DATA_DISBURSIMIT.Value, "yyyyMMdd")) < Parameters!ORED.Value,true,
false))

Can you help please

thanks

  • Anton Venter Profile Picture
    19,595 Super User 2025 Season 1 on at
    RE: Report: The Hidden expression for the tablix ‘table1’ contains an error: Input string was not in a correct format.

    Hi,

    It definitely seems like an environment error. Did you compare the country and region settings of your local environment with the server? What is the Format(Fields!DATA_DISBURSIMIT.Value, "yyyyMMdd") part returning on the server if you have it separate on the report?

  • GentRBAL Profile Picture
    5 on at
    RE: Report: The Hidden expression for the tablix ‘table1’ contains an error: Input string was not in a correct format.

    Hi Anton,

    Yes , I have done this too. The CInt function returns the correct integer as I expect.

    As I said upper, the report runs correctly when I run it locally. The errors appears after it is published to reporting server . Can be an environment issue?

    thank you

  • Suggested answer
    Anton Venter Profile Picture
    19,595 Super User 2025 Season 1 on at
    RE: Report: The Hidden expression for the tablix ‘table1’ contains an error: Input string was not in a correct format.

    Hi,

    It's either the Cint or Format function that throwing the error. Probably the Cint function. Try to see what fhe format part is returning by adding that part the report and test it. See if that makes any sense. Perhaps it's returning something that the CInt function doesn't like.

  • GentRBAL Profile Picture
    5 on at
    RE: Report: The Hidden expression for the tablix ‘table1’ contains an error: Input string was not in a correct format.

    Thank you GirishS, I tried it , also with switch but again it it the same error .

  • GirishS Profile Picture
    27,825 Moderator on at
    RE: Report: The Hidden expression for the tablix ‘table1’ contains an error: Input string was not in a correct format.

    Hi Gent,

    Can u try this expression.

    IIF(Parameters!NRP_Status.Value ="Y" and Cint(Format(Fields!DATA_DISBURSIMIT.Value, "yyyyMMdd")) > Parameters!Close_date.Value AND

    (Parameters!NRP_Status.Value <>"Y" and Cint(Format(Fields!DATA_DISBURSIMIT.Value, "yyyyMMdd")) < Parameters!ORED.Value,true,

    false))

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,120 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,871 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans